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 14distributedcamera_path = "//foundation/distributedhardware/distributed_camera" 15 16distributedhardwarefwk_path = 17 "//foundation/distributedhardware/distributed_hardware_fwk" 18fuzz_test_output_path = "distributed_camera/distributed_camera" 19unittest_output_path = "distributed_camera/distributed_camera" 20camera_hdf_path = "//drivers/peripheral" 21 22camerastandard_path = "//foundation/multimedia/camera_framework" 23 24graphicsurface_path = "//foundation/graphic/graphic_surface" 25 26common_path = "${distributedcamera_path}/common" 27 28services_path = "${distributedcamera_path}/services" 29 30innerkits_path = "${distributedcamera_path}/interfaces/inner_kits" 31 32fwk_utils_path = "${distributedhardwarefwk_path}/utils" 33 34fwk_common_path = "${distributedhardwarefwk_path}/common" 35 36fwk_innerkits_path = "${distributedhardwarefwk_path}/interfaces/inner_kits" 37 38av_transport_path = "${distributedhardwarefwk_path}/av_transport" 39 40feeding_smoother_path = "${services_path}/cameraservice/sourceservice/include/distributedcameramgr/dcameradata/feedingsmoother" 41 42build_flags = [ "-Werror" ] 43 44declare_args() { 45 distributed_camera_common = true 46 device_security_level_camera = true 47 distributed_camera_filter_front = false 48 49 if (defined(global_parts_info) && 50 !defined(global_parts_info.security_device_security_level)) { 51 device_security_level_camera = false 52 } 53 54 if (!defined(global_parts_info) || 55 defined(global_parts_info.account_os_account)) { 56 os_account_camera = true 57 } else { 58 os_account_camera = false 59 } 60} 61