Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
6eaa2376
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
大约 1 年 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6eaa2376
编写于
4月 26, 2022
作者:
T
taiyipei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove useless include dirs
Signed-off-by:
N
taiyipei
<
peitaiyi@huawei.com
>
上级
6a2ac0d4
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
12 addition
and
27 deletion
+12
-27
device_info/BUILD.gn
device_info/BUILD.gn
+1
-3
interfaces/innerkits/BUILD.gn
interfaces/innerkits/BUILD.gn
+5
-4
services/begetctl/BUILD.gn
services/begetctl/BUILD.gn
+4
-9
services/param/BUILD.gn
services/param/BUILD.gn
+0
-1
services/param/watcher/BUILD.gn
services/param/watcher/BUILD.gn
+2
-10
未找到文件。
device_info/BUILD.gn
浏览文件 @
6eaa2376
...
...
@@ -32,15 +32,12 @@ ohos_shared_library("deviceinfoservice") {
".",
"//base/startup/init_lite/interfaces/innerkits/include",
"//base/startup/syspara_lite/hals/parameter/include",
"//utils/native/base/include",
"//utils/system/safwk/native/include",
]
deps = [
"//base/startup/init_lite/services/log:agent_log",
"//base/startup/syspara_lite/hals/parameter:sysparam_hal",
"//third_party/bounds_checking_function:libsec_shared",
"//utils/native/base:utils",
]
external_deps = [
...
...
@@ -49,6 +46,7 @@ ohos_shared_library("deviceinfoservice") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr_standard:samgr_proxy",
"utils_base:utils",
]
install_images = [ "system" ]
part_name = "init"
...
...
interfaces/innerkits/BUILD.gn
浏览文件 @
6eaa2376
...
...
@@ -74,9 +74,11 @@ if (defined(ohos_lite)) {
"//base/startup/init_lite/services/utils:libinit_tools",
"//base/startup/init_lite/services/utils:libinit_utils",
"//third_party/bounds_checking_function:libsec_shared",
"//utils/native/base:utils",
]
external_deps = [ "hilog_native:libhilog_base" ]
external_deps = [
"hilog_native:libhilog_base",
"utils_base:utils",
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
install_images = [
...
...
@@ -97,7 +99,6 @@ if (defined(ohos_lite)) {
include_dirs = [
"./include",
"//base/startup/init_lite/device_info",
"//utils/native/base/include",
"//base/startup/init_lite/interfaces/innerkits/include",
"//base/startup/init_lite/services/include",
"//base/startup/init_lite/services/include/param",
...
...
@@ -109,7 +110,6 @@ if (defined(ohos_lite)) {
"//base/startup/init_lite/services/param/watcher:param_watcheragent",
"//base/startup/init_lite/services/utils:libinit_utils",
"//third_party/bounds_checking_function:libsec_shared",
"//utils/native/base:utils",
]
external_deps = [
...
...
@@ -117,6 +117,7 @@ if (defined(ohos_lite)) {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr_standard:samgr_proxy",
"utils_base:utils",
]
part_name = "init"
install_images = [ "system" ]
...
...
services/begetctl/BUILD.gn
浏览文件 @
6eaa2376
...
...
@@ -37,13 +37,11 @@ ohos_executable("begetctl") {
"//base/startup/init_lite/services/include",
"//base/startup/init_lite/services/log",
"//base/startup/init_lite/interfaces/innerkits/include",
"//base/startup/syspara_lite/interfaces/innerkits/native/syspara/include",
"//base/startup/init_lite/services/include/param/",
"//base/startup/init_lite/services/param/include",
"//base/startup/init_lite/services/loopevent/include",
"//third_party/bounds_checking_function/include",
"//base/startup/init_lite/interfaces/innerkits/sandbox/include",
"//utils/native/base/include",
]
deps = [
"//base/startup/init_lite/interfaces/innerkits:libbegetutil",
...
...
@@ -51,9 +49,9 @@ ohos_executable("begetctl") {
"//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 = [ "utils_base:utils" ]
if (param_test) {
sources += [ "//base/startup/init_lite/test/plugintest/plugin_param_cmd.c" ]
deps += [
...
...
@@ -62,21 +60,18 @@ ohos_executable("begetctl") {
"//base/startup/init_lite/services/param/watcher:param_watcheragent",
"//base/startup/init_lite/services/utils:libinit_tools",
"//base/startup/init_lite/services/utils:libinit_utils",
"//base/startup/syspara_lite/interfaces/innerkits/native/syspara:syspara",
]
defines += [
"OHOS_SERVICE_DUMP",
"INIT_TEST",
]
external_deps += [ "startup_l2:syspara" ]
}
if (build_selinux) {
include_dirs += [
"//third_party/selinux/libselinux/include/",
"//base/security/selinux/interfaces/policycoreutils/include/",
]
include_dirs += [ "//third_party/selinux/libselinux/include/" ]
deps += [ "//third_party/selinux:libselinux" ]
external_deps = [ "selinux:libparaperm_checker" ]
external_deps
+
= [ "selinux:libparaperm_checker" ]
defines += [ "WITH_SELINUX" ]
}
...
...
services/param/BUILD.gn
浏览文件 @
6eaa2376
...
...
@@ -42,7 +42,6 @@ ohos_static_library("param_service") {
"//base/startup/init_lite/interfaces/innerkits/include",
"//base/startup/init_lite/services/loopevent/include",
"//base/security/selinux/interfaces/policycoreutils/include",
"//third_party/libuv/include",
"//third_party/cJSON",
]
...
...
services/param/watcher/BUILD.gn
浏览文件 @
6eaa2376
...
...
@@ -41,13 +41,13 @@ ohos_shared_library("param_watcheragent") {
"//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",
"utils_base:utils",
]
part_name = "init"
...
...
@@ -70,28 +70,20 @@ ohos_shared_library("param_watcher") {
"//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",
]
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",
"utils_base:utils",
]
install_images = [ "system" ]
part_name = "init"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录