Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
ee1420e4
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看板
未验证
提交
ee1420e4
编写于
7月 01, 2023
作者:
O
openharmony_ci
提交者:
Gitee
7月 01, 2023
浏览文件
操作
浏览文件
下载
差异文件
!2078 FIX:部件化整改
Merge pull request !2078 from cheng_jinsong/0629_gn
上级
b1ef66c6
9ef065c6
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
51 addition
and
41 deletion
+51
-41
bundle.json
bundle.json
+13
-3
interfaces/innerkits/fs_manager/BUILD.gn
interfaces/innerkits/fs_manager/BUILD.gn
+1
-2
services/begetctl/BUILD.gn
services/begetctl/BUILD.gn
+0
-2
services/init/standard/BUILD.gn
services/init/standard/BUILD.gn
+10
-9
services/log/BUILD.gn
services/log/BUILD.gn
+1
-1
services/modules/bootchart/BUILD.gn
services/modules/bootchart/BUILD.gn
+1
-2
services/modules/init_context/BUILD.gn
services/modules/init_context/BUILD.gn
+2
-1
services/modules/init_eng/BUILD.gn
services/modules/init_eng/BUILD.gn
+4
-3
services/modules/reboot/BUILD.gn
services/modules/reboot/BUILD.gn
+4
-2
services/modules/selinux/BUILD.gn
services/modules/selinux/BUILD.gn
+5
-3
services/modules/sysevent/BUILD.gn
services/modules/sysevent/BUILD.gn
+5
-5
services/modules/trace/BUILD.gn
services/modules/trace/BUILD.gn
+1
-2
services/modules/udid/BUILD.gn
services/modules/udid/BUILD.gn
+1
-2
test/moduletest/BUILD.gn
test/moduletest/BUILD.gn
+1
-2
test/unittest/BUILD.gn
test/unittest/BUILD.gn
+2
-2
未找到文件。
bundle.json
浏览文件 @
ee1420e4
...
...
@@ -18,6 +18,8 @@
"SystemCapability.Startup.SystemInfo"
],
"adapted_system_type"
:
[
"mini"
,
"small"
,
"standard"
],
"rom"
:
"3.9MB"
,
...
...
@@ -42,12 +44,20 @@
"access_token"
,
"common"
,
"dsoftbus"
,
"hvb"
"hvb"
,
"hisysevent_native"
,
"profiler"
,
"toybox"
,
"mksh"
],
"third_party"
:
[
"cJSON"
,
"bounds_checking_function"
,
"selinux"
"selinux"
,
"mbedtls"
,
"zlib"
,
"cjson"
,
"thirdparty_selinux"
,
"bounds_checking_function"
]
},
"build"
:
{
...
...
interfaces/innerkits/fs_manager/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -52,8 +52,7 @@ ohos_static_library("libfsmanager_static") {
]
defines = [ "SUPPORT_HVB" ]
public_deps = [ "//base/startup/hvb/libhvb:libhvb_static" ]
external_deps = [ "hvb:hvb_static" ]
}
public_configs = [ ":libfsmanager_exported_configs" ]
part_name = "init"
...
...
services/begetctl/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -156,8 +156,6 @@ if (defined(ohos_lite)) {
"//third_party/bounds_checking_function:libsec_shared",
]
deps += [ "//base/startup/init/services/param/base:param_base" ]
if (build_selinux) {
deps += [
"//base/security/selinux:libselinux_parameter_static",
...
...
services/init/standard/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -62,6 +62,7 @@ ohos_executable("init") {
]
deps = [
"//base/customization/config_policy/frameworks/config_policy:configpolicy_util_for_init_static",
"//base/startup/init/interfaces/innerkits/control_fd:libcontrolfd",
"//base/startup/init/interfaces/innerkits/fd_holder:fdholder",
"//base/startup/init/interfaces/innerkits/fs_manager:libfsmanager_static",
...
...
@@ -73,9 +74,6 @@ ohos_executable("init") {
deps += [ "//base/startup/init/services/param/base:param_base" ]
deps += [
"//base/customization/config_policy/frameworks/config_policy:configpolicy_util_for_init_static",
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
"//base/startup/init/ueventd:libueventd_ramdisk_static",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/cJSON:cjson_static",
...
...
@@ -85,7 +83,10 @@ ohos_executable("init") {
deps += [ "//base/startup/init/interfaces/innerkits/init_module_engine:init_module_engine_sources" ]
deps += [ "//base/startup/init/services/modules:static_modules" ]
deps += [ "${FSCRYPT_PATH}/libfscrypt:libfscryptutils_static" ]
external_deps = [
"access_token:libnativetoken",
"access_token:libtoken_setproc",
]
cflags = []
if (use_musl) {
...
...
@@ -108,10 +109,10 @@ ohos_executable("init") {
"//third_party/selinux/libselinux/include/",
"//base/security/selinux/interfaces/policycoreutils/include/",
]
deps += [
"//base/security/selinux:libload_policy",
"
//base/security/selinux:librestorecon
",
"
//third_party/selinux:libselinux
",
deps += [
"//third_party/selinux:libselinux" ]
external_deps += [
"
selinux:libload_policy
",
"
selinux:librestorecon
",
]
cflags += [ "-DWITH_SELINUX" ]
}
...
...
@@ -130,7 +131,7 @@ ohos_executable("init") {
if (defined(global_parts_info.developtools_hiprofiler)) {
defines += [ "SUPPORT_PROFILER_HIDEBUG" ]
external_deps = [ "hiprofiler:libhidebug_init" ]
external_deps
+
= [ "hiprofiler:libhidebug_init" ]
}
if (asan_detector) {
defines += [ "ASAN_DETECTOR" ]
...
...
services/log/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -49,7 +49,7 @@ if (defined(ohos_lite)) {
public_configs = [ ":exported_header_files" ]
include_dirs = [ "//third_party/bounds_checking_function/include" ]
part_name = "
startup
"
part_name = "
init
"
subsystem_name = "startup"
}
...
...
services/modules/bootchart/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -23,12 +23,11 @@ ohos_shared_library("bootchart") {
]
deps = [
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
"//third_party/cJSON:cjson",
]
external_deps = [ "init:libinit_module_engine" ]
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
...
...
services/modules/init_context/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -29,7 +29,7 @@ ohos_shared_library("init_context") {
include_dirs += [ "../../init/include" ]
external_deps = [
"init:libinit_module_engine"
]
external_deps = []
defines = [ "INIT_SUPPORT_CHIPSET_INIT" ]
if (build_selinux) {
...
...
@@ -41,6 +41,7 @@ ohos_shared_library("init_context") {
}
deps = [
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
"//third_party/selinux:libselinux",
]
...
...
services/modules/init_eng/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -28,9 +28,10 @@ ohos_shared_library("init_eng") {
include_dirs += [ "../../init/include" ]
deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
external_deps = [ "init:libinit_module_engine" ]
deps = [
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
]
part_name = "init"
subsystem_name = "startup"
...
...
services/modules/reboot/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -23,9 +23,11 @@ ohos_shared_library("rebootmodule") {
"../init_hook",
"//base/startup/init/services/include/param",
]
deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
deps = [
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
]
external_deps = [ "init:libinit_module_engine" ]
defines = []
part_name = "init"
subsystem_name = "startup"
...
...
services/modules/selinux/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -26,13 +26,15 @@ ohos_shared_library("selinuxadp") {
"//base/security/selinux/interfaces/policycoreutils/include/",
]
deps = [
"//base/security/selinux:libload_policy",
"//base/security/selinux:librestorecon",
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
"//third_party/selinux:libselinux",
]
external_deps = [ "init:libinit_module_engine" ]
external_deps = [
"selinux:libload_policy",
"selinux:librestorecon",
]
part_name = "init"
subsystem_name = "startup"
...
...
services/modules/sysevent/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -27,13 +27,13 @@ ohos_shared_library("eventmodule") {
"../../include/param",
]
deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
external_deps = [
"hisysevent_native:libhisysevent",
"init:libinit_module_engine",
deps = [
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
]
external_deps = [ "hisysevent_native:libhisysevent" ]
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
...
...
services/modules/trace/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -28,13 +28,12 @@ ohos_shared_library("inittrace") {
include_dirs += [ "//third_party/zlib" ]
deps = [
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
"//third_party/cJSON:cjson",
"//third_party/zlib:libz",
]
external_deps = [ "init:libinit_module_engine" ]
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
...
...
services/modules/udid/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -78,12 +78,11 @@ if (defined(ohos_lite)) {
defines = [ "_GNU_SOURCE" ]
include_dirs = comm_include
deps = [
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//third_party/bounds_checking_function:libsec_shared",
"//third_party/mbedtls:mbedtls_shared",
]
external_deps = [ "init:libinit_module_engine" ]
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
...
...
test/moduletest/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -34,12 +34,11 @@ ohos_shared_library("libparamtestmodule") {
deps = [
"//base/startup/init/interfaces/innerkits:libbegetutil",
"//base/startup/init/interfaces/innerkits/init_module_engine:libinit_module_engine",
"//base/startup/init/services/log:agent_log",
"//third_party/bounds_checking_function:libsec_shared",
]
external_deps = [ "init:libinit_module_engine" ]
part_name = "init"
subsystem_name = "startup"
module_install_dir = "lib/init"
...
...
test/unittest/BUILD.gn
浏览文件 @
ee1420e4
...
...
@@ -268,8 +268,6 @@ ohos_unittest("init_unittest") {
deps = [
"//base/customization/config_policy/frameworks/config_policy:configpolicy_util_for_init_static",
"//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
"//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
"//third_party/bounds_checking_function:libsec_static",
"//third_party/cJSON:cjson",
"//third_party/googletest:gmock",
...
...
@@ -304,6 +302,8 @@ ohos_unittest("init_unittest") {
}
external_deps = [
"access_token:libnativetoken",
"access_token:libtoken_setproc",
"c_utils:utils",
"hisysevent_native:libhisysevent",
"hiviewdfx_hilog_native:libhilog",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录