17859cbb8Sopenharmony_ci# Copyright (C) 2021 Huawei Device Co., Ltd.
27859cbb8Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
37859cbb8Sopenharmony_ci# you may not use this file except in compliance with the License.
47859cbb8Sopenharmony_ci# You may obtain a copy of the License at
57859cbb8Sopenharmony_ci#
67859cbb8Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
77859cbb8Sopenharmony_ci#
87859cbb8Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
97859cbb8Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
107859cbb8Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
117859cbb8Sopenharmony_ci# See the License for the specific language governing permissions and
127859cbb8Sopenharmony_ci# limitations under the License.
137859cbb8Sopenharmony_ci
147859cbb8Sopenharmony_ciimport("//build/test.gni")
157859cbb8Sopenharmony_ciSUBSYSTEM_DIR = "../.."
167859cbb8Sopenharmony_ciimport("$SUBSYSTEM_DIR/core_service/telephony_core_service.gni")
177859cbb8Sopenharmony_ci
187859cbb8Sopenharmony_cigroup("unittest") {
197859cbb8Sopenharmony_ci  testonly = true
207859cbb8Sopenharmony_ci  deps = []
217859cbb8Sopenharmony_ci  deps += [
227859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_core_service_common_test",
237859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_core_service_gtest",
247859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_core_service_native_branch_gtest",
257859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_core_service_test",
267859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_core_zero_branch_gtest",
277859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_network_search_branch_gtest",
287859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_network_search_gtest",
297859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_network_search_manager_gtest",
307859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_sim_file_manager_branch_gtest",
317859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_sim_gtest",
327859cbb8Sopenharmony_ci    "unittest/core_service_gtest:tel_sim_zero_branch_gtest",
337859cbb8Sopenharmony_ci    "unittest/icc_dialling_numbers_handler_gtest:icc_dialling_numbers_handler_gtest",
347859cbb8Sopenharmony_ci    "unittest/icc_file_gtest:icc_file_gtest",
357859cbb8Sopenharmony_ci    "unittest/sim_manager_gtest:sim_manager_gtest",
367859cbb8Sopenharmony_ci    "unittest/sim_state_handle_gtest:sim_state_handle_gtest",
377859cbb8Sopenharmony_ci    "unittest/tel_ril_gtest:tel_ril_gtest",
387859cbb8Sopenharmony_ci    "unittest/utils_vcard_gtest:utils_vcard_branch_gtest",
397859cbb8Sopenharmony_ci    "unittest/utils_vcard_gtest:utils_vcard_gtest",
407859cbb8Sopenharmony_ci  ]
417859cbb8Sopenharmony_ci
427859cbb8Sopenharmony_ci  if (core_service_support_esim) {
437859cbb8Sopenharmony_ci    deps += [
447859cbb8Sopenharmony_ci      "unittest/esim_gtest:esim_core_service_client_branch_test",
457859cbb8Sopenharmony_ci      "unittest/esim_gtest:esim_service_client_branch_gtest",
467859cbb8Sopenharmony_ci      "unittest/esim_gtest:tel_esim_gtest",
477859cbb8Sopenharmony_ci      "unittest/esim_parcel_gtest:parcel_gtest",
487859cbb8Sopenharmony_ci      "unittest/utils_codec_gtest:utils_codec_gtest",
497859cbb8Sopenharmony_ci    ]
507859cbb8Sopenharmony_ci  }
517859cbb8Sopenharmony_ci}
52