1# Copyright (c) 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("../../device_status.gni")
15
16ohos_prebuilt_etc("drawing_image_Copy_Drag") {
17  source = "src/Copy_Drag.svg"
18  part_name = "${device_status_part_name}"
19  subsystem_name = "${device_status_subsystem_name}"
20  relative_install_dir = "device_status/drag_icon"
21}
22
23ohos_prebuilt_etc("drawing_image_Copy_One_Drag") {
24  source = "src/Copy_One_Drag.svg"
25  part_name = "${device_status_part_name}"
26  subsystem_name = "${device_status_subsystem_name}"
27  relative_install_dir = "device_status/drag_icon"
28}
29
30ohos_prebuilt_etc("drawing_image_Forbid_Drag") {
31  source = "src/Forbid_Drag.svg"
32  part_name = "${device_status_part_name}"
33  subsystem_name = "${device_status_subsystem_name}"
34  relative_install_dir = "device_status/drag_icon"
35}
36
37ohos_prebuilt_etc("drawing_image_Forbid_One_Drag") {
38  source = "src/Forbid_One_Drag.svg"
39  part_name = "${device_status_part_name}"
40  subsystem_name = "${device_status_subsystem_name}"
41  relative_install_dir = "device_status/drag_icon"
42}
43
44ohos_prebuilt_etc("drawing_image_Mouse_Drag_Default") {
45  source = "src/Mouse_Drag_Default.svg"
46  part_name = "${device_status_part_name}"
47  subsystem_name = "${device_status_subsystem_name}"
48  relative_install_dir = "device_status/drag_icon"
49}
50
51ohos_prebuilt_etc("drawing_image_Mouse_Drag_Cursor_Circle") {
52  source = "src/Mouse_Drag_Cursor_Circle.png"
53  part_name = "${device_status_part_name}"
54  subsystem_name = "${device_status_subsystem_name}"
55  relative_install_dir = "device_status/drag_icon"
56}
57
58ohos_prebuilt_etc("drawing_image_Move_Drag") {
59  source = "src/Move_Drag.svg"
60  part_name = "${device_status_part_name}"
61  subsystem_name = "${device_status_subsystem_name}"
62  relative_install_dir = "device_status/drag_icon"
63}
64
65ohos_prebuilt_etc("drawing_image_Mouse_Drag_Magic_Default") {
66  source = "src/Mouse_Drag_Magic_Default.svg"
67  part_name = "${device_status_part_name}"
68  subsystem_name = "${device_status_subsystem_name}"
69  relative_install_dir = "device_status/drag_icon"
70}
71
72group("device_status_drag_icon") {
73  deps = [
74    ":drawing_image_Copy_Drag",
75    ":drawing_image_Copy_One_Drag",
76    ":drawing_image_Forbid_Drag",
77    ":drawing_image_Forbid_One_Drag",
78    ":drawing_image_Mouse_Drag_Cursor_Circle",
79    ":drawing_image_Mouse_Drag_Default",
80    ":drawing_image_Mouse_Drag_Magic_Default",
81    ":drawing_image_Move_Drag",
82  ]
83}
84