• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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")
15
16ohos_prebuilt_etc("install_list_config") {
17  source = "./install_list.json"
18  install_enable = true
19  relative_install_dir = "app"
20  part_name = "hisilicon_products"
21}
22
23ohos_prebuilt_etc("uninstall_list_config") {
24  source = "./uninstall_list.json"
25  install_enable = true
26  relative_install_dir = "app"
27  part_name = "hisilicon_products"
28}
29
30ohos_prebuilt_etc("install_list_capability_config") {
31  source = "./install_list_capability.json"
32  install_enable = true
33  relative_install_dir = "app"
34  part_name = "hisilicon_products"
35}
36
37ohos_prebuilt_etc("install_list_permissions_config") {
38  source = "./install_list_permissions.json"
39  install_enable = true
40  relative_install_dir = "app"
41  part_name = "hisilicon_products"
42}
43
44group("preinstall-config") {
45  deps = [
46    ":install_list_capability_config",
47    ":install_list_config",
48    ":install_list_permissions_config",
49    ":uninstall_list_config",
50  ]
51}
52