• 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.
13import("//build/ohos.gni")
14SUBSYSTEM_DIR = "//base/telephony"
15ohos_shared_library("sim") {
16  include_dirs = [
17    "$SUBSYSTEM_DIR/core_service/frameworks/js/napi",
18    "//third_party/node/src",
19    "include",
20    "$SUBSYSTEM_DIR/core_service/interfaces/kits/native",
21    "//utils/native/base/include",
22    "//foundation/communication/ipc/interfaces/innerkits/ipc_core/include",
23    "//foundation/appexecfwk/standard/interfaces/innerkits/include",
24    "//foundation/aafwk/standard/frameworks/kits/ability/native/include",
25    "//foundation/aafwk/standard/interfaces/innerkits/base/include/ohos/aafwk/base",
26  ]
27
28  sources = [
29    "$SUBSYSTEM_DIR/core_service/frameworks/js/napi/napi_util.cpp",
30    "src/napi_sim.cpp",
31  ]
32
33  configs = [ "//base/telephony/core_service/utils:telephony_log_config" ]
34
35  deps = [
36    "$SUBSYSTEM_DIR/core_service:tel_core_service",
37    "$SUBSYSTEM_DIR/core_service/interfaces/innerkits:tel_core_service_api",
38    "//foundation/ace/napi:ace_napi",
39    "//utils/native/base:utils",
40  ]
41
42  external_deps = [
43    "eventhandler:libeventhandler",
44    "hiviewdfx_hilog_native:libhilog",
45    "ipc:ipc_core",
46    "ril_adapter:hril_innerkits",
47    "safwk:system_ability_fwk",
48    "samgr_standard:samgr_proxy",
49  ]
50
51  subsystem_name = "telephony"
52  part_name = "core_service"
53  relative_install_dir = "module/telephony"
54}
55