1# Copyright (c) 2022 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("//build/ohos.gni") 15import("../../multimodalinput_mini.gni") 16 17ohos_prebuilt_etc("drawing_pointer_image_Colorsucker") { 18 source = "src/Colorsucker.svg" 19 part_name = "input" 20 subsystem_name = "multimodalinput" 21 relative_install_dir = "multimodalinput/mouse_icon" 22} 23 24ohos_prebuilt_etc("drawing_pointer_image_Copy") { 25 source = "src/Copy.svg" 26 part_name = "input" 27 subsystem_name = "multimodalinput" 28 relative_install_dir = "multimodalinput/mouse_icon" 29} 30 31ohos_prebuilt_etc("drawing_pointer_image_Cross") { 32 source = "src/Cross.svg" 33 part_name = "input" 34 subsystem_name = "multimodalinput" 35 relative_install_dir = "multimodalinput/mouse_icon" 36} 37 38ohos_prebuilt_etc("drawing_pointer_image_Default") { 39 source = "src/Default.svg" 40 part_name = "input" 41 subsystem_name = "multimodalinput" 42 relative_install_dir = "multimodalinput/mouse_icon" 43} 44 45ohos_prebuilt_etc("drawing_pointer_image_East") { 46 source = "src/East.svg" 47 part_name = "input" 48 subsystem_name = "multimodalinput" 49 relative_install_dir = "multimodalinput/mouse_icon" 50} 51 52ohos_prebuilt_etc("drawing_pointer_image_Forbid") { 53 source = "src/Forbid.svg" 54 part_name = "input" 55 subsystem_name = "multimodalinput" 56 relative_install_dir = "multimodalinput/mouse_icon" 57} 58 59ohos_prebuilt_etc("drawing_pointer_image_Hand_Grabbing") { 60 source = "src/Hand_Grabbing.svg" 61 part_name = "input" 62 subsystem_name = "multimodalinput" 63 relative_install_dir = "multimodalinput/mouse_icon" 64} 65 66ohos_prebuilt_etc("drawing_pointer_image_Hand_Open") { 67 source = "src/Hand_Open.svg" 68 part_name = "input" 69 subsystem_name = "multimodalinput" 70 relative_install_dir = "multimodalinput/mouse_icon" 71} 72 73ohos_prebuilt_etc("drawing_pointer_image_Hand_Pointing") { 74 source = "src/Hand_Pointing.svg" 75 part_name = "input" 76 subsystem_name = "multimodalinput" 77 relative_install_dir = "multimodalinput/mouse_icon" 78} 79 80ohos_prebuilt_etc("drawing_pointer_image_Help") { 81 source = "src/Help.svg" 82 part_name = "input" 83 subsystem_name = "multimodalinput" 84 relative_install_dir = "multimodalinput/mouse_icon" 85} 86 87ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_East") { 88 source = "src/MID_Btn_East.svg" 89 part_name = "input" 90 subsystem_name = "multimodalinput" 91 relative_install_dir = "multimodalinput/mouse_icon" 92} 93 94ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_North") { 95 source = "src/MID_Btn_North.svg" 96 part_name = "input" 97 subsystem_name = "multimodalinput" 98 relative_install_dir = "multimodalinput/mouse_icon" 99} 100 101ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_North_East") { 102 source = "src/MID_Btn_North_East.svg" 103 part_name = "input" 104 subsystem_name = "multimodalinput" 105 relative_install_dir = "multimodalinput/mouse_icon" 106} 107 108ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_North_South") { 109 source = "src/MID_Btn_North_South.svg" 110 part_name = "input" 111 subsystem_name = "multimodalinput" 112 relative_install_dir = "multimodalinput/mouse_icon" 113} 114 115ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_North_South_West_East") { 116 source = "src/MID_Btn_North_South_West_East.svg" 117 part_name = "input" 118 subsystem_name = "multimodalinput" 119 relative_install_dir = "multimodalinput/mouse_icon" 120} 121 122ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_North_West") { 123 source = "src/MID_Btn_North_West.svg" 124 part_name = "input" 125 subsystem_name = "multimodalinput" 126 relative_install_dir = "multimodalinput/mouse_icon" 127} 128 129ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_South") { 130 source = "src/MID_Btn_South.svg" 131 part_name = "input" 132 subsystem_name = "multimodalinput" 133 relative_install_dir = "multimodalinput/mouse_icon" 134} 135 136ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_South_East") { 137 source = "src/MID_Btn_South_East.svg" 138 part_name = "input" 139 subsystem_name = "multimodalinput" 140 relative_install_dir = "multimodalinput/mouse_icon" 141} 142 143ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_South_West") { 144 source = "src/MID_Btn_South_West.svg" 145 part_name = "input" 146 subsystem_name = "multimodalinput" 147 relative_install_dir = "multimodalinput/mouse_icon" 148} 149 150ohos_prebuilt_etc("drawing_pointer_image_MID_Btn_West") { 151 source = "src/MID_Btn_West.svg" 152 part_name = "input" 153 subsystem_name = "multimodalinput" 154 relative_install_dir = "multimodalinput/mouse_icon" 155} 156 157ohos_prebuilt_etc("drawing_pointer_image_Move") { 158 source = "src/Move.svg" 159 part_name = "input" 160 subsystem_name = "multimodalinput" 161 relative_install_dir = "multimodalinput/mouse_icon" 162} 163 164ohos_prebuilt_etc("drawing_pointer_image_North") { 165 source = "src/North.svg" 166 part_name = "input" 167 subsystem_name = "multimodalinput" 168 relative_install_dir = "multimodalinput/mouse_icon" 169} 170 171ohos_prebuilt_etc("drawing_pointer_image_North_East") { 172 source = "src/North_East.svg" 173 part_name = "input" 174 subsystem_name = "multimodalinput" 175 relative_install_dir = "multimodalinput/mouse_icon" 176} 177 178ohos_prebuilt_etc("drawing_pointer_image_North_East_South_West") { 179 source = "src/North_East_South_West.svg" 180 part_name = "input" 181 subsystem_name = "multimodalinput" 182 relative_install_dir = "multimodalinput/mouse_icon" 183} 184 185ohos_prebuilt_etc("drawing_pointer_image_North_South") { 186 source = "src/North_South.svg" 187 part_name = "input" 188 subsystem_name = "multimodalinput" 189 relative_install_dir = "multimodalinput/mouse_icon" 190} 191 192ohos_prebuilt_etc("drawing_pointer_image_North_West") { 193 source = "src/North_West.svg" 194 part_name = "input" 195 subsystem_name = "multimodalinput" 196 relative_install_dir = "multimodalinput/mouse_icon" 197} 198 199ohos_prebuilt_etc("drawing_pointer_image_North_West_South_East") { 200 source = "src/North_West_South_East.svg" 201 part_name = "input" 202 subsystem_name = "multimodalinput" 203 relative_install_dir = "multimodalinput/mouse_icon" 204} 205 206ohos_prebuilt_etc("drawing_pointer_image_Resize_Left_Right") { 207 source = "src/Resize_Left_Right.svg" 208 part_name = "input" 209 subsystem_name = "multimodalinput" 210 relative_install_dir = "multimodalinput/mouse_icon" 211} 212 213ohos_prebuilt_etc("drawing_pointer_image_Resize_Up_Down") { 214 source = "src/Resize_Up_Down.svg" 215 part_name = "input" 216 subsystem_name = "multimodalinput" 217 relative_install_dir = "multimodalinput/mouse_icon" 218} 219 220ohos_prebuilt_etc("drawing_pointer_image_Screenshot_Cross") { 221 source = "src/Screenshot_Cross.svg" 222 part_name = "input" 223 subsystem_name = "multimodalinput" 224 relative_install_dir = "multimodalinput/mouse_icon" 225} 226 227ohos_prebuilt_etc("drawing_pointer_image_Screenshot_Cursor") { 228 source = "src/Screenshot_Cursor.png" 229 part_name = "input" 230 subsystem_name = "multimodalinput" 231 relative_install_dir = "multimodalinput/mouse_icon" 232} 233 234ohos_prebuilt_etc("drawing_pointer_image_South") { 235 source = "src/South.svg" 236 part_name = "input" 237 subsystem_name = "multimodalinput" 238 relative_install_dir = "multimodalinput/mouse_icon" 239} 240 241ohos_prebuilt_etc("drawing_pointer_image_South_East") { 242 source = "src/South_East.svg" 243 part_name = "input" 244 subsystem_name = "multimodalinput" 245 relative_install_dir = "multimodalinput/mouse_icon" 246} 247 248ohos_prebuilt_etc("drawing_pointer_image_South_West") { 249 source = "src/South_West.svg" 250 part_name = "input" 251 subsystem_name = "multimodalinput" 252 relative_install_dir = "multimodalinput/mouse_icon" 253} 254 255ohos_prebuilt_etc("drawing_pointer_image_Text_Cursor") { 256 source = "src/Text_Cursor.svg" 257 part_name = "input" 258 subsystem_name = "multimodalinput" 259 relative_install_dir = "multimodalinput/mouse_icon" 260} 261 262ohos_prebuilt_etc("drawing_pointer_image_West") { 263 source = "src/West.svg" 264 part_name = "input" 265 subsystem_name = "multimodalinput" 266 relative_install_dir = "multimodalinput/mouse_icon" 267} 268 269ohos_prebuilt_etc("drawing_pointer_image_West_East") { 270 source = "src/West_East.svg" 271 part_name = "input" 272 subsystem_name = "multimodalinput" 273 relative_install_dir = "multimodalinput/mouse_icon" 274} 275 276ohos_prebuilt_etc("drawing_pointer_image_Zoom_In") { 277 source = "src/Zoom_In.svg" 278 part_name = "input" 279 subsystem_name = "multimodalinput" 280 relative_install_dir = "multimodalinput/mouse_icon" 281} 282 283ohos_prebuilt_etc("drawing_pointer_image_Zoom_Out") { 284 source = "src/Zoom_Out.svg" 285 part_name = "input" 286 subsystem_name = "multimodalinput" 287 relative_install_dir = "multimodalinput/mouse_icon" 288} 289 290ohos_prebuilt_etc("drawing_pointer_image_Horizontal_Text_Cursor") { 291 source = "src/Horizontal_Text_Cursor.svg" 292 part_name = "input" 293 subsystem_name = "multimodalinput" 294 relative_install_dir = "multimodalinput/mouse_icon" 295} 296 297ohos_prebuilt_etc("drawing_pointer_image_Cursor_Cross") { 298 source = "src/Cursor_Cross.svg" 299 part_name = "input" 300 subsystem_name = "multimodalinput" 301 relative_install_dir = "multimodalinput/mouse_icon" 302} 303 304ohos_prebuilt_etc("drawing_pointer_image_Cursor_Circle") { 305 source = "src/Cursor_Circle.png" 306 part_name = "input" 307 subsystem_name = "multimodalinput" 308 relative_install_dir = "multimodalinput/mouse_icon" 309} 310 311ohos_prebuilt_etc("drawing_pointer_image_Loading") { 312 source = "src/Loading.svg" 313 part_name = "input" 314 subsystem_name = "multimodalinput" 315 relative_install_dir = "multimodalinput/mouse_icon" 316} 317 318ohos_prebuilt_etc("drawing_pointer_image_Running_Left") { 319 source = "src/Loading_Left.svg" 320 part_name = "input" 321 subsystem_name = "multimodalinput" 322 relative_install_dir = "multimodalinput/mouse_icon" 323} 324 325ohos_prebuilt_etc("drawing_pointer_image_Running_Right") { 326 source = "src/Loading_Right.svg" 327 part_name = "input" 328 subsystem_name = "multimodalinput" 329 relative_install_dir = "multimodalinput/mouse_icon" 330} 331 332ohos_prebuilt_etc("multimodalinput_config_ability.json") { 333 source = "${mmi_path}/etc/ability_launch_config.json" 334 part_name = "input" 335 subsystem_name = "multimodalinput" 336 relative_install_dir = "multimodalinput" 337} 338 339ohos_prebuilt_etc("multimodalinput.para.dac") { 340 source = "${mmi_path}/etc/multimodalinput.para.dac" 341 part_name = "input" 342 subsystem_name = "multimodalinput" 343 module_install_dir = "etc/param" 344} 345 346group("input_mouse_icon") { 347 deps = [ 348 ":drawing_pointer_image_Colorsucker", 349 ":drawing_pointer_image_Copy", 350 ":drawing_pointer_image_Cross", 351 ":drawing_pointer_image_Cursor_Circle", 352 ":drawing_pointer_image_Cursor_Cross", 353 ":drawing_pointer_image_Default", 354 ":drawing_pointer_image_East", 355 ":drawing_pointer_image_Forbid", 356 ":drawing_pointer_image_Hand_Grabbing", 357 ":drawing_pointer_image_Hand_Open", 358 ":drawing_pointer_image_Hand_Pointing", 359 ":drawing_pointer_image_Help", 360 ":drawing_pointer_image_Horizontal_Text_Cursor", 361 ":drawing_pointer_image_Loading", 362 ":drawing_pointer_image_MID_Btn_East", 363 ":drawing_pointer_image_MID_Btn_North", 364 ":drawing_pointer_image_MID_Btn_North_East", 365 ":drawing_pointer_image_MID_Btn_North_South", 366 ":drawing_pointer_image_MID_Btn_North_South_West_East", 367 ":drawing_pointer_image_MID_Btn_North_West", 368 ":drawing_pointer_image_MID_Btn_South", 369 ":drawing_pointer_image_MID_Btn_South_East", 370 ":drawing_pointer_image_MID_Btn_South_West", 371 ":drawing_pointer_image_MID_Btn_West", 372 ":drawing_pointer_image_Move", 373 ":drawing_pointer_image_North", 374 ":drawing_pointer_image_North_East", 375 ":drawing_pointer_image_North_East_South_West", 376 ":drawing_pointer_image_North_South", 377 ":drawing_pointer_image_North_West", 378 ":drawing_pointer_image_North_West_South_East", 379 ":drawing_pointer_image_Resize_Left_Right", 380 ":drawing_pointer_image_Resize_Up_Down", 381 ":drawing_pointer_image_Running_Left", 382 ":drawing_pointer_image_Running_Right", 383 ":drawing_pointer_image_Screenshot_Cross", 384 ":drawing_pointer_image_Screenshot_Cursor", 385 ":drawing_pointer_image_South", 386 ":drawing_pointer_image_South_East", 387 ":drawing_pointer_image_South_West", 388 ":drawing_pointer_image_Text_Cursor", 389 ":drawing_pointer_image_West", 390 ":drawing_pointer_image_West_East", 391 ":drawing_pointer_image_Zoom_In", 392 ":drawing_pointer_image_Zoom_Out", 393 ":multimodalinput.para.dac", 394 ":multimodalinput_config_ability.json", 395 ] 396} 397