# Copyright (C) 2021 - 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("//build/ohos.gni") CALL_MANAGER_PATH = "../../.." ohos_executable("tel_call_manager_ui_test") { install_enable = true sources = [ "bluetooth_call_test.cpp", "call_manager_callback_test.cpp", "common_event_subscriber_test.cpp", "ui_client_test.cpp", ] include_dirs = [ "${CALL_MANAGER_PATH}/services/audio/include" ] deps = [ "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api" ] external_deps = [ "ability_base:want", "ability_runtime:abilitykit_native", "access_token:libaccesstoken_sdk", "access_token:libnativetoken", "access_token:libtoken_setproc", "audio_framework:audio_client", "audio_framework:audio_renderer", "c_utils:utils", "camera_framework:camera_framework", "common_event_service:cesfwk_innerkits", "core_service:tel_core_service_api", "drivers_interface_camera:metadata", "eventhandler:libeventhandler", "hilog:libhilog", "ipc:ipc_single", "safwk:system_ability_fwk", "samgr:samgr_proxy", ] defines = [ "TELEPHONY_LOG_TAG = \"CallManagerUiTest\"", "LOG_DOMAIN = 0xD000F00", ] part_name = "call_manager" subsystem_name = "telephony" }