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/ohos.gni") 15 16ohos_executable("tel_vendor_ims_ui_test") { 17 install_enable = true 18 sources = [ 19 "ims_test_handler.cpp", 20 "ims_unit_test.cpp", 21 ] 22 23 include_dirs = [ 24 "//base/telephony/call_manager/interfaces/innerkits", 25 "//base/telephony/cellular_call/interfaces/innerkits/ims/", 26 "//base/telephony/cellular_call/services/common/include", 27 "//base/telephony/sms_mms/interfaces/innerkits/ims/", 28 "//base/telephony/core_service/interfaces/innerkits/ims/", 29 "//foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include", 30 ] 31 32 configs = [ "//base/telephony/core_service/utils:telephony_log_config" ] 33 34 deps = [ 35 "//base/telephony/cellular_call:tel_cellular_call", 36 "//base/telephony/core_service:tel_core_service", 37 "//base/telephony/sms_mms:tel_sms_mms", 38 ] 39 40 external_deps = [ 41 "c_utils:utils", 42 "core_service:tel_core_service_api", 43 "eventhandler:libeventhandler", 44 "ipc:ipc_core", 45 "ril_adapter:hril_innerkits", 46 "safwk:system_ability_fwk", 47 "samgr:samgr_proxy", 48 ] 49 50 defines = [ 51 "TELEPHONY_LOG_TAG = \"VendorImsServiceUiTest\"", 52 "LOG_DOMAIN = 0xD000F00", 53 ] 54 55 if (is_standard_system) { 56 external_deps += [ "hiviewdfx_hilog_native:libhilog" ] 57 } else { 58 external_deps += [ "hilog:libhilog" ] 59 } 60 61 part_name = "cellular_call" 62 subsystem_name = "telephony" 63} 64