# Copyright (c) 2022 - 2024 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") import("//build/test.gni") import("//drivers/peripheral/distributed_camera/distributedcamera.gni") fuzz_test_output_path = "drivers_peripheral_distributed_camera/drivers_peripheral_distributed_camera" include_dirs = [ "${distributedcamera_hdf_path}/hdi_service/include/dcamera_device", "${distributedcamera_hdf_path}/hdi_service/include/dcamera_host", "${distributedcamera_hdf_path}/hdi_service/include/dcamera_provider", "${distributedcamera_hdf_path}/hdi_service/include/dstream_operator", "${distributedcamera_hdf_path}/hdi_service/include/utils", ] cflags = [ "-g", "-O0", "-Wno-unused-variable", "-fno-omit-frame-pointer", "-Dprivate=public", "-Dprotected=public", ] dcamera_deps = [ "${distributedcamera_hdf_path}/hdi_service:libdistributed_camera_hdf_service_1.1" ] dcamera_external_deps = [ "cJSON:cjson", "c_utils:utils", "drivers_interface_camera:libbuffer_producer_sequenceable_1.0", "drivers_interface_camera:libcamera_proxy_1.3", "drivers_interface_camera:metadata", "drivers_interface_display:libdisplay_composer_stub_1.0", "drivers_interface_distributed_camera:libdistributed_camera_provider_stub_1.1", "graphic_surface:surface", "graphic_surface:sync_fence", "hdf_core:libhdi", "ipc:ipc_core", ] defines = [ "HI_LOG_ENABLE", "LOG_DOMAIN=0xD004150", ]