• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
13
14#import("//build/test.gni")
15import("//build/ohos.gni")
16import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
17RIL_ADAPTER = "//base/telephony/ril_adapter"
18
19ohos_executable("ril_adapter_test") {
20  install_enable = true
21  sources = [
22    "ril_callback_test.cpp",
23    "ril_interface_test.cpp",
24  ]
25  include_dirs = [ "include" ]
26  configs = [ "$RIL_ADAPTER/utils:utils_config" ]
27  defines = [
28    "TELEPHONY_LOG_TAG = \"RilAdapterUTest\"",
29    "LOG_DOMAIN = 0xD000F00",
30  ]
31  deps = []
32  if (is_standard_system) {
33    external_deps = [
34      "c_utils:utils",
35      "drivers_interface_ril:libril_proxy_1.0",
36      "hdf_core:libhdf_utils",
37      "hiviewdfx_hilog_native:libhilog",
38      "ipc:ipc_single",
39    ]
40  } else {
41    external_deps = [ "hilog:libhilog" ]
42  }
43  external_deps += [ "ipc:ipc_single" ]
44
45  #install_images = [ chipset_base_dir ]
46
47  part_name = "ril_adapter"
48  subsystem_name = "telephony"
49}
50