1# Copyright (c) 2022 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/test.gni") 15import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") 16import("//drivers/peripheral/audio/audio.gni") 17 18ohos_unittest("hdf_audio_proxy_common_advance_test") { 19 module_out_path = "hdf/drivers_peripheral_audio" 20 sources = [ "//drivers/peripheral/audio/test/unittest/hdi/client_advance/common/src/audio_proxy_common_test.cpp" ] 21 22 include_dirs = [ 23 "//drivers/peripheral/audio/test/unittest/hdi/client_advance/common/include", 24 "//drivers/peripheral/audio/interfaces/include", 25 "//drivers/peripheral/audio/hal/hdi_passthrough/include", 26 "//drivers/peripheral/audio/hal/hdi_binder/proxy/include", 27 "//drivers/peripheral/audio/hal/hdi_binder/server/include", 28 "//drivers/hdf_core/adapter/uhdf2/include/hdi", 29 "//drivers/hdf_core/adapter/uhdf2/shared/include", 30 "//third_party/googletest/googletest/include/gtest", 31 ] 32 33 deps = [ 34 "//drivers/peripheral/audio/hal/hdi_binder/proxy:hdi_audio_client", 35 "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio", 36 "//drivers/peripheral/audio/hal/hdi_passthrough:hdi_audio_common", 37 "//third_party/googletest:gmock_main", 38 "//third_party/googletest:gtest_main", 39 ] 40 external_deps = [ 41 "c_utils:utils", 42 "hdf_core:libhdf_host", 43 "hdf_core:libhdf_ipc_adapter", 44 "hdf_core:libhdf_utils", 45 "hdf_core:libhdi", 46 ] 47} 48