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  sanitize = {
18    cfi = true
19    cfi_cross_dso = true
20    debug = false
21  }
22  branch_protector_ret = "pac_ret"
23  install_enable = true
24  SUBSYSTEM_DIR = "../../../.."
25  sources = [
26    "ims_test_handler.cpp",
27    "ims_unit_test.cpp",
28  ]
29
30  include_dirs = [
31    "${SUBSYSTEM_DIR}/interfaces/innerkits/ims/",
32    "${SUBSYSTEM_DIR}/services/common/include",
33  ]
34
35  deps = [
36    "${SUBSYSTEM_DIR}:tel_cellular_call",
37    "${SUBSYSTEM_DIR}/interfaces/innerkits/ims:tel_ims_call_api",
38  ]
39
40  external_deps = [
41    "ability_runtime:ability_manager",
42    "c_utils:utils",
43    "call_manager:tel_call_manager_api",
44    "core_service:tel_core_service_api",
45    "eventhandler:libeventhandler",
46    "hilog:libhilog",
47    "ipc:ipc_single",
48    "safwk:system_ability_fwk",
49    "samgr:samgr_proxy",
50    "sms_mms:tel_sms_mms_api",
51  ]
52
53  defines = [
54    "TELEPHONY_LOG_TAG = \"VendorImsServiceUiTest\"",
55    "LOG_DOMAIN = 0xD000F00",
56  ]
57
58  part_name = "cellular_call"
59  subsystem_name = "telephony"
60}
61