1# Copyright (c) 2021-2025 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("//build/ohos/sa_profile/sa_profile.gni") 16import( 17 "//foundation/distributedhardware/distributed_camera/distributedcamera.gni") 18 19ohos_sa_profile("dcamera_sa_profile") { 20 if (!distributed_camera_common) { 21 sources = [ 22 "4803.json", 23 "4804.json", 24 ] 25 } else { 26 sources = [ 27 "common/4803.json", 28 "common/4804.json", 29 ] 30 } 31 32 part_name = "distributed_camera" 33} 34ohos_prebuilt_etc("dcamera.cfg") { 35 relative_install_dir = "init" 36 source = "dcamera.cfg" 37 part_name = "distributed_camera" 38 subsystem_name = "distributedhardware" 39} 40