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("camera.gni") 15 16print("product_name : , ${product_name}") 17group("camera_hal") { 18 if (is_standard_system) { 19 deps = [ 20 "../interfaces/include/client:libcamera_client", 21 "buffer_manager:camera_buffer_manager", 22 "device_manager:camera_device_manager", 23 "hdi_impl:camera_hdi_impl", 24 "init:ohos_camera_demo", 25 "pipeline_core:camera_pipeline_core", 26 "utils:camera_utils", 27 ] 28 29 deps += [ "${chipset_build_deps}" ] 30 } 31} 32 33group("unittest") { 34 if (is_standard_system) { 35 testonly = true 36 deps = [ 37 "buffer_manager/test:buffer_manager_unittest", 38 "device_manager/test:device_manager_unittest", 39 "hdi_impl/test:hdi_impl_unittest", 40 "pipeline_core/test:pipeline_core_unittest", 41 "test/mpi:camera_case_unittest", 42 ] 43 } 44} 45