1# Copyright (c) 2021 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("updater_init.cfg") { 17 source = "config/init.cfg" 18 install_images = [ "updater" ] 19 part_name = "hisilicon_products" 20} 21 22ohos_prebuilt_etc("updater_usb_init.cfg") { 23 source = "config/init.usb.cfg" 24 install_images = [ "updater" ] 25 part_name = "hisilicon_products" 26} 27 28ohos_prebuilt_etc("updater_init_usb_configfs.cfg") { 29 source = "config/init.usb.configfs.cfg" 30 install_images = [ "updater" ] 31 part_name = "hisilicon_products" 32} 33 34ohos_prebuilt_etc("signing_cert.crt") { 35 source = "config/signing_cert.crt" 36 module_install_dir = "certificate" 37 install_images = [ "updater" ] 38 part_name = "hisilicon_products" 39} 40 41ohos_prebuilt_etc("fstab.updater") { 42 source = "config/fstab.updater" 43 install_images = [ "updater" ] 44 part_name = "hisilicon_products" 45} 46 47group("updater_files") { 48 deps = [ 49 ":fstab.updater", 50 ":signing_cert.crt", 51 ":updater_init.cfg", 52 ":updater_init_usb_configfs.cfg", 53 ":updater_usb_init.cfg", 54 ] 55} 56