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("//build/lite/config/test.gni") 15 16group("lite_camera_test") { 17 if (ohos_build_type == "debug") { 18 deps = [ ":lite_camera_unittest" ] 19 } 20} 21 22if (ohos_build_type == "debug") { 23 unittest("lite_camera_unittest") { 24 output_extension = "bin" 25 output_dir = "$root_out_dir/test/unittest/camera_lite" 26 sources = [ "unittest/camera_lite_test.cpp" ] 27 include_dirs = [ 28 "//foundation/multimedia/camera_lite/interfaces/kits", 29 "//foundation/multimedia/media_lite/interfaces/kits/recorder_lite", 30 "//foundation/multimedia/camera_lite/test/unittest", 31 ] 32 deps = [ 33 "//foundation/arkui/ui_lite:ui_lite", 34 "//foundation/graphic/surface_lite:surface_lite", 35 "//foundation/multimedia/camera_lite/frameworks:camera_lite", 36 "//foundation/multimedia/media_lite/frameworks/recorder_lite:recorder_lite", 37 ] 38 } 39} 40