1 Star 0 Fork 173

yorere/telephony_state_registry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
张海丰 提交于 2021-12-17 15:42 . zhanghaifeng11@huawei.com
# 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")
SOURCE_DIR = "//base/telephony/state_registry"
CORE_DIR = "//base/telephony/core_service"
ohos_shared_library("tel_state_registry") {
part_name = "state_registry"
subsystem_name = "telephony"
sources = [
"$SOURCE_DIR/frameworks/native/src/telephony_observer_proxy.cpp",
"$SOURCE_DIR/service/src/telephony_state_registry_dump_helper.cpp",
"$SOURCE_DIR/service/src/telephony_state_registry_record.cpp",
"$SOURCE_DIR/service/src/telephony_state_registry_service.cpp",
"$SOURCE_DIR/service/src/telephony_state_registry_stub.cpp",
]
include_dirs = [
"$SOURCE_DIR/include",
"$SOURCE_DIR/frameworks/native/include",
"$SOURCE_DIR/service/include",
"$CORE_DIR/interfaces/kits/native",
"$CORE_DIR/interfaces/innerkits/state_registry",
"$CORE_DIR/interfaces/innerkits/core",
"$CORE_DIR/interfaces/innerkits/state_registry",
"$CORE_DIR/interfaces/innerkits/core",
]
deps = [
"$CORE_DIR/frameworks/native:tel_core_service_api",
"$CORE_DIR/utils:libtelephony_common",
]
external_deps = [
"aafwk_standard:want",
"appexecfwk_standard:libeventhandler",
"ces_standard:cesfwk_innerkits",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr_standard:samgr_proxy",
]
defines = [
"TELEPHONY_LOG_TAG = \"STATE_REGISTRY\"",
"LOG_DOMAIN = 0",
]
if (is_standard_system) {
external_deps += [ "hiviewdfx_hilog_native:libhilog" ]
} else {
external_deps += [ "hilog:libhilog" ]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yorere/telephony_state_registry.git
git@gitee.com:yorere/telephony_state_registry.git
yorere
telephony_state_registry
telephony_state_registry
master

搜索帮助