# 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/ohos.gni") SUBSYSTEM_DIR = "//base/telephony" ohos_shared_library("sim") { include_dirs = [ "$SUBSYSTEM_DIR/core_service/frameworks/js/napi", "//third_party/node/src", "include", "$SUBSYSTEM_DIR/core_service/interfaces/kits/native", "//utils/native/base/include", "//foundation/communication/ipc/interfaces/innerkits/ipc_core/include", "//foundation/appexecfwk/standard/interfaces/innerkits/include", "//foundation/aafwk/standard/frameworks/kits/ability/native/include", "//foundation/aafwk/standard/interfaces/innerkits/base/include/ohos/aafwk/base", ] sources = [ "$SUBSYSTEM_DIR/core_service/frameworks/js/napi/napi_util.cpp", "src/napi_sim.cpp", ] configs = [ "//base/telephony/core_service/utils:telephony_log_config" ] deps = [ "$SUBSYSTEM_DIR/core_service:tel_core_service", "$SUBSYSTEM_DIR/core_service/interfaces/innerkits:tel_core_service_api", "//foundation/ace/napi:ace_napi", "//utils/native/base:utils", ] external_deps = [ "eventhandler:libeventhandler", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "ril_adapter:hril_innerkits", "safwk:system_ability_fwk", "samgr_standard:samgr_proxy", ] subsystem_name = "telephony" part_name = "core_service" relative_install_dir = "module/telephony" }