# Copyright (c) 2023 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("../camera.gni") group("camera_hal_test") { testonly = true if (drivers_peripheral_camera_feature_usb == true) { deps = [ "$test_path/ut/usb_camera:camera_usb_test_ut" ] } else { deps = [ "$test_path/benchmarktest/v1_0:hdf_camera_benchmark_test", "$test_path/demo_3A:ohos_camera_3a_demo", "$test_path/hdi/metadata_test:camera_metadata_operator_ut", "$test_path/hdi/sequenceable_test:camera_hdi_sequenceable_ut", "$test_path/hdi/v1_0:camera_test_at", "$test_path/ut/buffer_manager:camera_buffer_manager_ut", "$test_path/ut/usb_camera:camera_usb_test_ut", "$test_path/ut/v4l2:camera_test_v4l2_ut", ] } }