1e1c44949Sopenharmony_ci# Copyright (C) 2021-2022 Huawei Device Co., Ltd. 2e1c44949Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3e1c44949Sopenharmony_ci# you may not use this file except in compliance with the License. 4e1c44949Sopenharmony_ci# You may obtain a copy of the License at 5e1c44949Sopenharmony_ci# 6e1c44949Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7e1c44949Sopenharmony_ci# 8e1c44949Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9e1c44949Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10e1c44949Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11e1c44949Sopenharmony_ci# See the License for the specific language governing permissions and 12e1c44949Sopenharmony_ci# limitations under the License. 13e1c44949Sopenharmony_ci 14e1c44949Sopenharmony_ciimport("//build/test.gni") 15e1c44949Sopenharmony_ciimport("../../../callmanager.gni") 16e1c44949Sopenharmony_ciCALL_MANAGER_PATH = "../../.." 17e1c44949Sopenharmony_ci 18e1c44949Sopenharmony_ciohos_unittest("tel_call_manager1_gtest") { 19e1c44949Sopenharmony_ci install_enable = true 20e1c44949Sopenharmony_ci subsystem_name = "telephony" 21e1c44949Sopenharmony_ci part_name = "call_manager" 22e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 23e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 24e1c44949Sopenharmony_ci sanitize = { 25e1c44949Sopenharmony_ci cfi = true 26e1c44949Sopenharmony_ci cfi_cross_dso = true 27e1c44949Sopenharmony_ci debug = false 28e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 29e1c44949Sopenharmony_ci } 30e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 31e1c44949Sopenharmony_ci 32e1c44949Sopenharmony_ci sources = [ 33e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 34e1c44949Sopenharmony_ci "src/call_manager1_gtest.cpp", 35e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 36e1c44949Sopenharmony_ci ] 37e1c44949Sopenharmony_ci sources += call_manager_sources 38e1c44949Sopenharmony_ci 39e1c44949Sopenharmony_ci include_dirs = [ 40e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 41e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 42e1c44949Sopenharmony_ci ] 43e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 44e1c44949Sopenharmony_ci 45e1c44949Sopenharmony_ci external_deps = [ 46e1c44949Sopenharmony_ci "access_token:libnativetoken", 47e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 48e1c44949Sopenharmony_ci ] 49e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 50e1c44949Sopenharmony_ci 51e1c44949Sopenharmony_ci deps = [ 52e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 53e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 54e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 55e1c44949Sopenharmony_ci ] 56e1c44949Sopenharmony_ci 57e1c44949Sopenharmony_ci defines = [ 58e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 59e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 60e1c44949Sopenharmony_ci ] 61e1c44949Sopenharmony_ci defines += call_manager_defines 62e1c44949Sopenharmony_ci} 63e1c44949Sopenharmony_ci 64e1c44949Sopenharmony_ciohos_unittest("tel_call_manager2_gtest") { 65e1c44949Sopenharmony_ci install_enable = true 66e1c44949Sopenharmony_ci subsystem_name = "telephony" 67e1c44949Sopenharmony_ci part_name = "call_manager" 68e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 69e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 70e1c44949Sopenharmony_ci sanitize = { 71e1c44949Sopenharmony_ci cfi = true 72e1c44949Sopenharmony_ci cfi_cross_dso = true 73e1c44949Sopenharmony_ci debug = false 74e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 75e1c44949Sopenharmony_ci } 76e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 77e1c44949Sopenharmony_ci 78e1c44949Sopenharmony_ci sources = [ 79e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 80e1c44949Sopenharmony_ci "src/call_manager2_gtest.cpp", 81e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 82e1c44949Sopenharmony_ci ] 83e1c44949Sopenharmony_ci sources += call_manager_sources 84e1c44949Sopenharmony_ci 85e1c44949Sopenharmony_ci include_dirs = [ 86e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 87e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 88e1c44949Sopenharmony_ci ] 89e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 90e1c44949Sopenharmony_ci 91e1c44949Sopenharmony_ci external_deps = [ 92e1c44949Sopenharmony_ci "access_token:libnativetoken", 93e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 94e1c44949Sopenharmony_ci ] 95e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 96e1c44949Sopenharmony_ci 97e1c44949Sopenharmony_ci deps = [ 98e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 99e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 100e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 101e1c44949Sopenharmony_ci ] 102e1c44949Sopenharmony_ci 103e1c44949Sopenharmony_ci defines = [ 104e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 105e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 106e1c44949Sopenharmony_ci ] 107e1c44949Sopenharmony_ci defines += call_manager_defines 108e1c44949Sopenharmony_ci} 109e1c44949Sopenharmony_ci 110e1c44949Sopenharmony_ciohos_unittest("tel_call_manager3_gtest") { 111e1c44949Sopenharmony_ci install_enable = true 112e1c44949Sopenharmony_ci subsystem_name = "telephony" 113e1c44949Sopenharmony_ci part_name = "call_manager" 114e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 115e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 116e1c44949Sopenharmony_ci sanitize = { 117e1c44949Sopenharmony_ci cfi = true 118e1c44949Sopenharmony_ci cfi_cross_dso = true 119e1c44949Sopenharmony_ci debug = false 120e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 121e1c44949Sopenharmony_ci } 122e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 123e1c44949Sopenharmony_ci 124e1c44949Sopenharmony_ci sources = [ 125e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 126e1c44949Sopenharmony_ci "src/call_manager3_gtest.cpp", 127e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 128e1c44949Sopenharmony_ci ] 129e1c44949Sopenharmony_ci sources += call_manager_sources 130e1c44949Sopenharmony_ci 131e1c44949Sopenharmony_ci include_dirs = [ 132e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 133e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 134e1c44949Sopenharmony_ci ] 135e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 136e1c44949Sopenharmony_ci 137e1c44949Sopenharmony_ci external_deps = [ 138e1c44949Sopenharmony_ci "access_token:libnativetoken", 139e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 140e1c44949Sopenharmony_ci ] 141e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 142e1c44949Sopenharmony_ci 143e1c44949Sopenharmony_ci deps = [ 144e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 145e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 146e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 147e1c44949Sopenharmony_ci ] 148e1c44949Sopenharmony_ci 149e1c44949Sopenharmony_ci defines = [ 150e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 151e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 152e1c44949Sopenharmony_ci ] 153e1c44949Sopenharmony_ci defines += call_manager_defines 154e1c44949Sopenharmony_ci} 155e1c44949Sopenharmony_ci 156e1c44949Sopenharmony_ciohos_unittest("tel_call_manager4_gtest") { 157e1c44949Sopenharmony_ci install_enable = true 158e1c44949Sopenharmony_ci subsystem_name = "telephony" 159e1c44949Sopenharmony_ci part_name = "call_manager" 160e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 161e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 162e1c44949Sopenharmony_ci sanitize = { 163e1c44949Sopenharmony_ci cfi = true 164e1c44949Sopenharmony_ci cfi_cross_dso = true 165e1c44949Sopenharmony_ci debug = false 166e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 167e1c44949Sopenharmony_ci } 168e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 169e1c44949Sopenharmony_ci 170e1c44949Sopenharmony_ci sources = [ 171e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 172e1c44949Sopenharmony_ci "src/call_manager4_gtest.cpp", 173e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 174e1c44949Sopenharmony_ci ] 175e1c44949Sopenharmony_ci sources += call_manager_sources 176e1c44949Sopenharmony_ci 177e1c44949Sopenharmony_ci include_dirs = [ 178e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 179e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 180e1c44949Sopenharmony_ci ] 181e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 182e1c44949Sopenharmony_ci 183e1c44949Sopenharmony_ci external_deps = [ 184e1c44949Sopenharmony_ci "access_token:libnativetoken", 185e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 186e1c44949Sopenharmony_ci ] 187e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 188e1c44949Sopenharmony_ci 189e1c44949Sopenharmony_ci deps = [ 190e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 191e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 192e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 193e1c44949Sopenharmony_ci ] 194e1c44949Sopenharmony_ci 195e1c44949Sopenharmony_ci defines = [ 196e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 197e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 198e1c44949Sopenharmony_ci ] 199e1c44949Sopenharmony_ci defines += call_manager_defines 200e1c44949Sopenharmony_ci} 201e1c44949Sopenharmony_ci 202e1c44949Sopenharmony_ciohos_unittest("tel_call_manager5_gtest") { 203e1c44949Sopenharmony_ci install_enable = true 204e1c44949Sopenharmony_ci subsystem_name = "telephony" 205e1c44949Sopenharmony_ci part_name = "call_manager" 206e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 207e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 208e1c44949Sopenharmony_ci sanitize = { 209e1c44949Sopenharmony_ci cfi = true 210e1c44949Sopenharmony_ci cfi_cross_dso = true 211e1c44949Sopenharmony_ci debug = false 212e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 213e1c44949Sopenharmony_ci } 214e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 215e1c44949Sopenharmony_ci 216e1c44949Sopenharmony_ci sources = [ 217e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 218e1c44949Sopenharmony_ci "src/call_manager5_gtest.cpp", 219e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 220e1c44949Sopenharmony_ci ] 221e1c44949Sopenharmony_ci sources += call_manager_sources 222e1c44949Sopenharmony_ci 223e1c44949Sopenharmony_ci include_dirs = [ 224e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 225e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 226e1c44949Sopenharmony_ci ] 227e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 228e1c44949Sopenharmony_ci 229e1c44949Sopenharmony_ci external_deps = [ 230e1c44949Sopenharmony_ci "access_token:libnativetoken", 231e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 232e1c44949Sopenharmony_ci ] 233e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 234e1c44949Sopenharmony_ci 235e1c44949Sopenharmony_ci deps = [ 236e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 237e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 238e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 239e1c44949Sopenharmony_ci ] 240e1c44949Sopenharmony_ci 241e1c44949Sopenharmony_ci defines = [ 242e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 243e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 244e1c44949Sopenharmony_ci ] 245e1c44949Sopenharmony_ci defines += call_manager_defines 246e1c44949Sopenharmony_ci} 247e1c44949Sopenharmony_ci 248e1c44949Sopenharmony_ciohos_unittest("tel_call_manager6_gtest") { 249e1c44949Sopenharmony_ci install_enable = true 250e1c44949Sopenharmony_ci subsystem_name = "telephony" 251e1c44949Sopenharmony_ci part_name = "call_manager" 252e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 253e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 254e1c44949Sopenharmony_ci sanitize = { 255e1c44949Sopenharmony_ci cfi = true 256e1c44949Sopenharmony_ci cfi_cross_dso = true 257e1c44949Sopenharmony_ci debug = false 258e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 259e1c44949Sopenharmony_ci } 260e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 261e1c44949Sopenharmony_ci 262e1c44949Sopenharmony_ci sources = [ 263e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 264e1c44949Sopenharmony_ci "src/call_manager6_gtest.cpp", 265e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 266e1c44949Sopenharmony_ci ] 267e1c44949Sopenharmony_ci sources += call_manager_sources 268e1c44949Sopenharmony_ci 269e1c44949Sopenharmony_ci include_dirs = [ 270e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 271e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 272e1c44949Sopenharmony_ci ] 273e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 274e1c44949Sopenharmony_ci 275e1c44949Sopenharmony_ci external_deps = [ 276e1c44949Sopenharmony_ci "access_token:libnativetoken", 277e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 278e1c44949Sopenharmony_ci ] 279e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 280e1c44949Sopenharmony_ci 281e1c44949Sopenharmony_ci deps = [ 282e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 283e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 284e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 285e1c44949Sopenharmony_ci ] 286e1c44949Sopenharmony_ci 287e1c44949Sopenharmony_ci defines = [ 288e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 289e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 290e1c44949Sopenharmony_ci ] 291e1c44949Sopenharmony_ci defines += call_manager_defines 292e1c44949Sopenharmony_ci} 293e1c44949Sopenharmony_ci 294e1c44949Sopenharmony_ciohos_unittest("tel_call_manager7_gtest") { 295e1c44949Sopenharmony_ci install_enable = true 296e1c44949Sopenharmony_ci subsystem_name = "telephony" 297e1c44949Sopenharmony_ci part_name = "call_manager" 298e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 299e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 300e1c44949Sopenharmony_ci sanitize = { 301e1c44949Sopenharmony_ci cfi = true 302e1c44949Sopenharmony_ci cfi_cross_dso = true 303e1c44949Sopenharmony_ci debug = false 304e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 305e1c44949Sopenharmony_ci } 306e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 307e1c44949Sopenharmony_ci 308e1c44949Sopenharmony_ci sources = [ 309e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 310e1c44949Sopenharmony_ci "src/call_manager7_gtest.cpp", 311e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 312e1c44949Sopenharmony_ci ] 313e1c44949Sopenharmony_ci sources += call_manager_sources 314e1c44949Sopenharmony_ci 315e1c44949Sopenharmony_ci include_dirs = [ 316e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 317e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 318e1c44949Sopenharmony_ci ] 319e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 320e1c44949Sopenharmony_ci 321e1c44949Sopenharmony_ci external_deps = [ 322e1c44949Sopenharmony_ci "access_token:libnativetoken", 323e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 324e1c44949Sopenharmony_ci ] 325e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 326e1c44949Sopenharmony_ci 327e1c44949Sopenharmony_ci deps = [ 328e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 329e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 330e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 331e1c44949Sopenharmony_ci ] 332e1c44949Sopenharmony_ci 333e1c44949Sopenharmony_ci defines = [ 334e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 335e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 336e1c44949Sopenharmony_ci ] 337e1c44949Sopenharmony_ci defines += call_manager_defines 338e1c44949Sopenharmony_ci} 339e1c44949Sopenharmony_ci 340e1c44949Sopenharmony_ciohos_unittest("tel_call_manager8_gtest") { 341e1c44949Sopenharmony_ci install_enable = true 342e1c44949Sopenharmony_ci subsystem_name = "telephony" 343e1c44949Sopenharmony_ci part_name = "call_manager" 344e1c44949Sopenharmony_ci test_module = "tel_call_manager_gtest" 345e1c44949Sopenharmony_ci module_out_path = part_name + "/" + test_module 346e1c44949Sopenharmony_ci sanitize = { 347e1c44949Sopenharmony_ci cfi = true 348e1c44949Sopenharmony_ci cfi_cross_dso = true 349e1c44949Sopenharmony_ci debug = false 350e1c44949Sopenharmony_ci blocklist = "../../cfi_blocklist.txt" 351e1c44949Sopenharmony_ci } 352e1c44949Sopenharmony_ci branch_protector_ret = "pac_ret" 353e1c44949Sopenharmony_ci 354e1c44949Sopenharmony_ci sources = [ 355e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native/src/call_manager_service_proxy.cpp", 356e1c44949Sopenharmony_ci "src/call_manager8_gtest.cpp", 357e1c44949Sopenharmony_ci "src/call_manager_connect.cpp", 358e1c44949Sopenharmony_ci ] 359e1c44949Sopenharmony_ci sources += call_manager_sources 360e1c44949Sopenharmony_ci 361e1c44949Sopenharmony_ci include_dirs = [ 362e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/interfaces/innerkits", 363e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/test/unittest/call_manager_gtest/include", 364e1c44949Sopenharmony_ci ] 365e1c44949Sopenharmony_ci include_dirs += call_manager_include_dirs 366e1c44949Sopenharmony_ci 367e1c44949Sopenharmony_ci external_deps = [ 368e1c44949Sopenharmony_ci "access_token:libnativetoken", 369e1c44949Sopenharmony_ci "access_token:libtoken_setproc", 370e1c44949Sopenharmony_ci ] 371e1c44949Sopenharmony_ci external_deps += call_manager_external_deps 372e1c44949Sopenharmony_ci 373e1c44949Sopenharmony_ci deps = [ 374e1c44949Sopenharmony_ci "${CALL_MANAGER_PATH}/frameworks/native:tel_call_manager_api", 375e1c44949Sopenharmony_ci "//third_party/cJSON:cjson", 376e1c44949Sopenharmony_ci "//third_party/libphonenumber/cpp:phonenumber_standard", 377e1c44949Sopenharmony_ci ] 378e1c44949Sopenharmony_ci 379e1c44949Sopenharmony_ci defines = [ 380e1c44949Sopenharmony_ci "TELEPHONY_LOG_TAG = \"CallManagerGtest\"", 381e1c44949Sopenharmony_ci "LOG_DOMAIN = 0xD000F00", 382e1c44949Sopenharmony_ci ] 383e1c44949Sopenharmony_ci defines += call_manager_defines 384e1c44949Sopenharmony_ci} 385