1# Copyright (C) 2021 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. 13import("//base/telephony/core_service/telephony.gni") 14import("//build/ohos.gni") 15 16SOURCE_DIR = "//base/telephony/cellular_data" 17ohos_executable("tel_cellular_data_ui_test") { 18 sources = [ "cellular_data_code_test.cpp" ] 19 20 include_dirs = [ 21 "$SOURCE_DIR/interfaces/innerkits", 22 "$SOURCE_DIR/interfaces/kits/native", 23 "$SOURCE_DIR/services/include/common", 24 ] 25 26 configs = [ "//base/telephony/core_service/utils:telephony_log_config" ] 27 28 deps = [ "//foundation/aafwk/standard/frameworks/kits/ability/native:abilitykit_native" ] 29 30 external_deps = [ 31 "cellular_data:tel_cellular_data_api", 32 "core_service:tel_core_service_api", 33 "eventhandler:libeventhandler", 34 "startup_l2:syspara", 35 ] 36 37 defines += [ 38 "TELEPHONY_LOG_TAG = \"CelllularDataTest\"", 39 "LOG_DOMAIN = 0xD002B01", 40 ] 41 42 if (is_standard_system) { 43 external_deps += [ "hiviewdfx_hilog_native:libhilog" ] 44 } else { 45 external_deps += [ "hilog:libhilog" ] 46 } 47 48 part_name = "cellular_data" 49 subsystem_name = "telephony" 50} 51