10a7ce71fSopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 20a7ce71fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 30a7ce71fSopenharmony_ci# you may not use this file except in compliance with the License. 40a7ce71fSopenharmony_ci# You may obtain a copy of the License at 50a7ce71fSopenharmony_ci# 60a7ce71fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 70a7ce71fSopenharmony_ci# 80a7ce71fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 90a7ce71fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 100a7ce71fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 110a7ce71fSopenharmony_ci# See the License for the specific language governing permissions and 120a7ce71fSopenharmony_ci# limitations under the License. 130a7ce71fSopenharmony_ci 140a7ce71fSopenharmony_ciimport("//build/ohos.gni") 150a7ce71fSopenharmony_ci 160a7ce71fSopenharmony_ciohos_prebuilt_etc("install_list_config") { 170a7ce71fSopenharmony_ci source = "./install_list.json" 180a7ce71fSopenharmony_ci relative_install_dir = "app" 190a7ce71fSopenharmony_ci part_name = "product_hispark_taurus_standard" 200a7ce71fSopenharmony_ci} 210a7ce71fSopenharmony_ci 220a7ce71fSopenharmony_ciohos_prebuilt_etc("uninstall_list_config") { 230a7ce71fSopenharmony_ci source = "./uninstall_list.json" 240a7ce71fSopenharmony_ci relative_install_dir = "app" 250a7ce71fSopenharmony_ci part_name = "product_hispark_taurus_standard" 260a7ce71fSopenharmony_ci} 270a7ce71fSopenharmony_ci 280a7ce71fSopenharmony_ciohos_prebuilt_etc("install_list_capability_config") { 290a7ce71fSopenharmony_ci source = "./install_list_capability.json" 300a7ce71fSopenharmony_ci relative_install_dir = "app" 310a7ce71fSopenharmony_ci part_name = "product_hispark_taurus_standard" 320a7ce71fSopenharmony_ci} 330a7ce71fSopenharmony_ci 340a7ce71fSopenharmony_ciohos_prebuilt_etc("install_list_permissions_config") { 350a7ce71fSopenharmony_ci source = "./install_list_permissions.json" 360a7ce71fSopenharmony_ci relative_install_dir = "app" 370a7ce71fSopenharmony_ci part_name = "product_hispark_taurus_standard" 380a7ce71fSopenharmony_ci} 390a7ce71fSopenharmony_ci 400a7ce71fSopenharmony_cigroup("preinstall-config") { 410a7ce71fSopenharmony_ci deps = [ 420a7ce71fSopenharmony_ci ":install_list_capability_config", 430a7ce71fSopenharmony_ci ":install_list_config", 440a7ce71fSopenharmony_ci ":install_list_permissions_config", 450a7ce71fSopenharmony_ci ":uninstall_list_config", 460a7ce71fSopenharmony_ci ] 470a7ce71fSopenharmony_ci} 48