1# Copyright (C) 2024 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") 15CORE_SERVICE_PATH = "../../.." 16 17ohos_executable("tel_core_service_ui_test") { 18 sanitize = { 19 cfi = true 20 cfi_cross_dso = true 21 debug = false 22 } 23 branch_protector_ret = "pac_ret" 24 install_enable = true 25 sources = [ 26 "ims_reg_info_callback_gtest.cpp", 27 "ui_client_test.cpp", 28 ] 29 30 deps = [ "${CORE_SERVICE_PATH}/interfaces/innerkits:tel_core_service_api" ] 31 32 external_deps = [ 33 "ability_base:want", 34 "ability_runtime:abilitykit_native", 35 "access_token:libaccesstoken_sdk", 36 "access_token:libnativetoken", 37 "access_token:libtoken_setproc", 38 "c_utils:utils", 39 "cellular_data:tel_cellular_data_api", 40 "hilog:libhilog", 41 "ipc:ipc_single", 42 "samgr:samgr_proxy", 43 "state_registry:tel_state_registry_api", 44 ] 45 46 defines = [ 47 "TELEPHONY_LOG_TAG = \"CoreServiceUiTest\"", 48 "LOG_DOMAIN = 0xD000F00", 49 ] 50 51 part_name = "core_service" 52 subsystem_name = "telephony" 53} 54