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("../../print.gni") 16 17################################################################################ 18 19ohos_prebuilt_etc("printservice.rc") { 20 source = "printservice.cfg" 21 relative_install_dir = "init" 22 part_name = "print_fwk" 23 subsystem_name = "print" 24} 25 26ohos_prebuilt_etc("cups-files.conf") { 27 source = "cups-files.conf" 28 relative_install_dir = "cups" 29 part_name = "print_fwk" 30 subsystem_name = "print" 31} 32 33ohos_prebuilt_etc("cupsd.conf") { 34 source = "cupsd.conf" 35 relative_install_dir = "cups" 36 part_name = "print_fwk" 37 subsystem_name = "print" 38} 39 40ohos_prebuilt_etc("cups_service.cfg") { 41 source = "cups_service.cfg" 42 relative_install_dir = "init" 43 part_name = "print_fwk" 44 subsystem_name = "print" 45} 46 47ohos_prebuilt_etc("scanservice.rc") { 48 source = "scanservice.rc" 49 relative_install_dir = "init" 50 part_name = "print_fwk" 51 subsystem_name = "print" 52} 53 54ohos_prebuilt_etc("scanservice.cfg") { 55 source = "scanservice.cfg" 56 relative_install_dir = "init" 57 part_name = "print_fwk" 58 subsystem_name = "print" 59} 60 61ohos_prebuilt_etc("saneservice.cfg") { 62 source = "saneservice.cfg" 63 relative_install_dir = "init" 64 part_name = "print_fwk" 65 subsystem_name = "print" 66} 67 68ohos_prebuilt_etc("saneservice.rc") { 69 source = "saneservice.rc" 70 relative_install_dir = "init" 71 part_name = "print_fwk" 72 subsystem_name = "print" 73} 74 75ohos_prebuilt_etc("cups_enterprise-files.conf") { 76 source = "cups_enterprise-files.conf" 77 relative_install_dir = "cups" 78 part_name = "print_fwk" 79 subsystem_name = "print" 80} 81 82ohos_prebuilt_etc("cups_service_enterprise.cfg") { 83 source = "cups_service_enterprise.cfg" 84 relative_install_dir = "init" 85 part_name = "print_fwk" 86 subsystem_name = "print" 87} 88 89group("enterprise_cfgs") { 90 if (print_fwk_feature_enterprise) { 91 deps = [ 92 ":cups_enterprise-files.conf", 93 ":cups_service_enterprise.cfg" 94 ] 95 } 96}