telephony_ril_adapter/test/unittest/BUILD.gn
xieyao_whu 991d9463ee send sim matched operator info
Signed-off-by: xieyao_whu <xieyao7@huawei.com>
2023-11-05 21:37:53 +08:00

49 lines
1.4 KiB
Plaintext

# Copyright (C) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#import("//build/test.gni")
import("//build/ohos.gni")
RIL_ADAPTER = "../../"
ohos_executable("ril_adapter_test") {
install_enable = true
sources = [
"ril_callback_test.cpp",
"ril_interface_test.cpp",
]
include_dirs = [ "include" ]
configs = [ "$RIL_ADAPTER/utils:utils_config" ]
defines = [
"TELEPHONY_LOG_TAG = \"RilAdapterUTest\"",
"LOG_DOMAIN = 0xD000F00",
]
deps = []
if (is_standard_system) {
external_deps = [
"c_utils:utils",
"drivers_interface_ril:libril_proxy_1.2",
"hdf_core:libhdf_utils",
"hilog:libhilog",
"ipc:ipc_single",
]
} else {
external_deps = [ "hilog:libhilog" ]
}
external_deps += [ "ipc:ipc_single" ]
#install_images = [ chipset_base_dir ]
part_name = "ril_adapter"
subsystem_name = "telephony"
}