mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-04 17:19:20 +00:00
3e78c22066
Signed-off-by: x00405909 <xionglei6@huawei.com> Change-Id: I3cdb0fb295f002fb131433fb714061070740e07c
103 lines
3.4 KiB
Plaintext
103 lines
3.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/ohos.gni")
|
|
|
|
ohos_prebuilt_etc("param_watcher.rc") {
|
|
source = "etc/param_watcher.cfg"
|
|
relative_install_dir = "init"
|
|
part_name = "init"
|
|
}
|
|
|
|
ohos_shared_library("param_watcheragent") {
|
|
sources = [
|
|
"agent/watcher.cpp",
|
|
"agent/watcher_manager_kits.cpp",
|
|
"agent/watcher_manager_proxy.cpp",
|
|
"agent/watcher_stub.cpp",
|
|
]
|
|
|
|
include_dirs = [
|
|
"//base/startup/init_lite/services/param/include",
|
|
"//base/startup/init_lite/services/include/param",
|
|
"//base/startup/init_lite/services/param/watcher/include",
|
|
"//base/startup/init_lite/services/param/watcher/agent",
|
|
"//base/startup/init_lite/services/include",
|
|
"//base/startup/init_lite/services/log",
|
|
"//base/startup/init_lite/interfaces/innerkits/include",
|
|
"//base/startup/init_lite/services/loopevent/include",
|
|
]
|
|
|
|
defines = [ "INIT_AGENT" ]
|
|
|
|
deps = [
|
|
"//base/startup/init_lite/services/log:agent_log",
|
|
"//base/startup/init_lite/services/param:param_client",
|
|
"//third_party/bounds_checking_function:libsec_static",
|
|
"//utils/native/base:utils",
|
|
]
|
|
|
|
external_deps = [
|
|
"ipc:ipc_core",
|
|
"safwk:system_ability_fwk",
|
|
"samgr_standard:samgr_proxy",
|
|
]
|
|
|
|
part_name = "init"
|
|
}
|
|
|
|
ohos_shared_library("param_watcher") {
|
|
sources = [
|
|
"//base/startup/init_lite/services/utils/list.c",
|
|
"proxy/watcher_manager.cpp",
|
|
"proxy/watcher_manager_stub.cpp",
|
|
"proxy/watcher_proxy.cpp",
|
|
]
|
|
|
|
include_dirs = [
|
|
"//base/startup/init_lite/services/param/include",
|
|
"//base/startup/init_lite/services/include/param",
|
|
"//base/startup/init_lite/services/param/watcher/proxy",
|
|
"//base/startup/init_lite/services/param/watcher/include",
|
|
"//base/startup/init_lite/services/include",
|
|
"//base/startup/init_lite/services/log",
|
|
"//base/startup/init_lite/interfaces/innerkits/include",
|
|
"//base/startup/init_lite/services/loopevent/include",
|
|
"//third_party/libuv/include",
|
|
"//third_party/cJSON",
|
|
"//utils/native/base/include",
|
|
"//utils/system/safwk/native/include",
|
|
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy/include",
|
|
"//foundation/distributedschedule/safwk/services/safwk/include",
|
|
"//foundation/distributedschedule/safwk/interfaces/innerkits/safwk",
|
|
"//foundation/distributedschedule/samgr/adapter/interfaces/innerkits/include",
|
|
"//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy/include",
|
|
]
|
|
|
|
defines = [ "INIT_AGENT" ]
|
|
|
|
deps = [
|
|
"//base/startup/init_lite/services/log:agent_log",
|
|
"//base/startup/init_lite/services/param:param_client",
|
|
"//third_party/bounds_checking_function:libsec_static",
|
|
"//utils/native/base:utils",
|
|
]
|
|
|
|
external_deps = [
|
|
"ipc:ipc_core",
|
|
"safwk:system_ability_fwk",
|
|
"samgr_standard:samgr_proxy",
|
|
]
|
|
install_images = [ "system" ]
|
|
part_name = "init"
|
|
}
|