Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
51889580
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看板
未验证
提交
51889580
编写于
9月 15, 2022
作者:
O
openharmony_ci
提交者:
Gitee
9月 15, 2022
浏览文件
操作
浏览文件
下载
差异文件
!1221 添加subsystem_name以减少get_subsystem_name.py耗时
Merge pull request !1221 from lijunru/sub_name
上级
7366feb6
e3ce2d54
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
58 addition
and
0 deletion
+58
-0
device_info/BUILD.gn
device_info/BUILD.gn
+2
-0
interfaces/innerkits/BUILD.gn
interfaces/innerkits/BUILD.gn
+3
-0
interfaces/innerkits/control_fd/BUILD.gn
interfaces/innerkits/control_fd/BUILD.gn
+1
-0
interfaces/innerkits/fd_holder/BUILD.gn
interfaces/innerkits/fd_holder/BUILD.gn
+1
-0
interfaces/innerkits/file/BUILD.gn
interfaces/innerkits/file/BUILD.gn
+1
-0
interfaces/innerkits/fs_manager/BUILD.gn
interfaces/innerkits/fs_manager/BUILD.gn
+1
-0
interfaces/innerkits/init_module_engine/BUILD.gn
interfaces/innerkits/init_module_engine/BUILD.gn
+1
-0
interfaces/innerkits/sandbox/BUILD.gn
interfaces/innerkits/sandbox/BUILD.gn
+1
-0
interfaces/innerkits/seccomp/BUILD.gn
interfaces/innerkits/seccomp/BUILD.gn
+1
-0
interfaces/innerkits/socket/BUILD.gn
interfaces/innerkits/socket/BUILD.gn
+1
-0
interfaces/innerkits/syscap/BUILD.gn
interfaces/innerkits/syscap/BUILD.gn
+1
-0
interfaces/kits/syscap/BUILD.gn
interfaces/kits/syscap/BUILD.gn
+1
-0
services/begetctl/BUILD.gn
services/begetctl/BUILD.gn
+3
-0
services/etc/BUILD.gn
services/etc/BUILD.gn
+20
-0
services/init/standard/BUILD.gn
services/init/standard/BUILD.gn
+1
-0
services/log/BUILD.gn
services/log/BUILD.gn
+1
-0
services/modules/bootchart/BUILD.gn
services/modules/bootchart/BUILD.gn
+1
-0
services/modules/reboot/BUILD.gn
services/modules/reboot/BUILD.gn
+1
-0
services/modules/selinux/BUILD.gn
services/modules/selinux/BUILD.gn
+1
-0
services/param/base/BUILD.gn
services/param/base/BUILD.gn
+1
-0
services/param/watcher/BUILD.gn
services/param/watcher/BUILD.gn
+2
-0
services/utils/BUILD.gn
services/utils/BUILD.gn
+1
-0
test/exec_test/BUILD.gn
test/exec_test/BUILD.gn
+5
-0
test/fuzztest/BUILD.gn
test/fuzztest/BUILD.gn
+1
-0
test/moduletest/BUILD.gn
test/moduletest/BUILD.gn
+1
-0
ueventd/BUILD.gn
ueventd/BUILD.gn
+3
-0
watchdog/BUILD.gn
watchdog/BUILD.gn
+1
-0
未找到文件。
device_info/BUILD.gn
浏览文件 @
51889580
...
...
@@ -24,6 +24,7 @@ if (!defined(ohos_lite)) {
source = "etc/deviceinfoservice.cfg"
relative_install_dir = "init"
part_name = "init"
subsystem_name = "startup"
}
ohos_shared_library("deviceinfoservice") {
...
...
@@ -60,6 +61,7 @@ if (!defined(ohos_lite)) {
]
install_images = [ "system" ]
part_name = "init"
subsystem_name = "startup"
}
}
...
...
interfaces/innerkits/BUILD.gn
浏览文件 @
51889580
...
...
@@ -200,6 +200,7 @@ if (defined(ohos_lite)) {
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
subsystem_name = "startup"
install_images = [
"system",
"updater",
...
...
@@ -259,6 +260,7 @@ if (defined(ohos_lite)) {
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
subsystem_name = "startup"
install_images = [ "system" ]
}
...
...
@@ -294,6 +296,7 @@ if (defined(ohos_lite)) {
"hilog_native:libhilog_base",
]
part_name = "init"
subsystem_name = "startup"
}
}
...
...
interfaces/innerkits/control_fd/BUILD.gn
浏览文件 @
51889580
...
...
@@ -35,4 +35,5 @@ ohos_static_library("libcontrolfd") {
"//base/startup/init/services/loopevent/include",
]
part_name = "init"
subsystem_name = "startup"
}
interfaces/innerkits/fd_holder/BUILD.gn
浏览文件 @
51889580
...
...
@@ -30,4 +30,5 @@ ohos_static_library("fdholder") {
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
subsystem_name = "startup"
}
interfaces/innerkits/file/BUILD.gn
浏览文件 @
51889580
...
...
@@ -25,4 +25,5 @@ ohos_static_library("libfile") {
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
subsystem_name = "startup"
}
interfaces/innerkits/fs_manager/BUILD.gn
浏览文件 @
51889580
...
...
@@ -33,4 +33,5 @@ ohos_static_library("libfsmanager_static") {
]
public_configs = [ ":libfsmanager_exported_configs" ]
part_name = "init"
subsystem_name = "startup"
}
interfaces/innerkits/init_module_engine/BUILD.gn
浏览文件 @
51889580
...
...
@@ -56,6 +56,7 @@ if (defined(ohos_lite)) {
output_extension = "so"
stub_description_file = "./stub/libinit.stub.empty.json"
part_name = "init"
subsystem_name = "startup"
install_enable = true
install_images = [
"system",
...
...
interfaces/innerkits/sandbox/BUILD.gn
浏览文件 @
51889580
...
...
@@ -35,4 +35,5 @@ ohos_static_library("sandbox") {
defines = [ "SUPPORT_64BIT" ]
}
part_name = "init"
subsystem_name = "startup"
}
interfaces/innerkits/seccomp/BUILD.gn
浏览文件 @
51889580
...
...
@@ -39,6 +39,7 @@ if (defined(build_seccomp) && build_seccomp) {
license_file = "//base/startup/init/LICENSE"
part_name = "init"
subsystem_name = "startup"
install_enable = true
install_images = [ "system" ]
...
...
interfaces/innerkits/socket/BUILD.gn
浏览文件 @
51889580
...
...
@@ -33,5 +33,6 @@ if (defined(ohos_lite)) {
sources = service_socket_sources
include_dirs = service_socket_include
part_name = "init"
subsystem_name = "startup"
}
}
interfaces/innerkits/syscap/BUILD.gn
浏览文件 @
51889580
...
...
@@ -31,5 +31,6 @@ ohos_shared_library("syscap") {
public_configs = [ ":syscap_config" ]
part_name = "init"
subsystem_name = "startup"
install_images = [ "system" ]
}
interfaces/kits/syscap/BUILD.gn
浏览文件 @
51889580
...
...
@@ -18,6 +18,7 @@ ohos_shared_library("deviceinfo_ndk") {
include_dirs = [ "./include" ]
deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
part_name = "init"
subsystem_name = "startup"
}
ohos_ndk_library("libdeviceinfo_ndk") {
...
...
services/begetctl/BUILD.gn
浏览文件 @
51889580
...
...
@@ -131,6 +131,7 @@ if (defined(ohos_lite)) {
install_images = [ "system" ]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
ohos_executable("paramshell") {
...
...
@@ -171,6 +172,7 @@ if (defined(ohos_lite)) {
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
ohos_executable("param") {
...
...
@@ -212,6 +214,7 @@ if (defined(ohos_lite)) {
install_images = [ "system" ]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
}
...
...
services/etc/BUILD.gn
浏览文件 @
51889580
...
...
@@ -61,24 +61,28 @@ if (defined(ohos_lite)) {
source = "//base/startup/init/services/etc/init.cfg"
}
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("watchdog.cfg") {
source = "//base/startup/init/services/etc/watchdog.cfg"
relative_install_dir = "init"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("console.cfg") {
source = "//base/startup/init/services/etc/console.cfg"
relative_install_dir = "init"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("ueventd.cfg") {
source = "//base/startup/init/services/etc/ueventd.cfg"
relative_install_dir = "init"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("passwd") {
...
...
@@ -88,6 +92,7 @@ if (defined(ohos_lite)) {
"updater",
]
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("group") {
...
...
@@ -97,11 +102,13 @@ if (defined(ohos_lite)) {
"updater",
]
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("init.usb.cfg") {
source = "//base/startup/init/services/etc/init.usb.cfg"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_para("ohos.para") {
...
...
@@ -111,6 +118,7 @@ if (defined(ohos_lite)) {
"updater",
]
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
extra_paras = [ "const.product.cpu.abilist=arm64-v8a" ]
}
...
...
@@ -124,12 +132,14 @@ if (defined(ohos_lite)) {
"updater",
]
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/param"
}
ohos_prebuilt_para("ohos_const.para") {
source = "//base/startup/init/services/etc/param/ohos_const/ohos.para"
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/param/ohos_const"
}
...
...
@@ -140,38 +150,45 @@ if (defined(ohos_lite)) {
"updater",
]
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/param"
}
ohos_prebuilt_etc("boot.group") {
source = "//base/startup/init/services/etc/device.boot.group.cfg"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("charge.group") {
source = "//base/startup/init/services/etc/device.charge.group.cfg"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("syscap.para") {
source = "${preloader_output_dir}/system/etc/param/syscap.para"
module_install_dir = "etc/param/"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("syscap.json") {
source = "${preloader_output_dir}/system/etc/syscap.json"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("systemcapability.json") {
source = "${preloader_output_dir}/system/etc/SystemCapability.json"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("features.json") {
source = "${preloader_output_dir}/features.json"
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("system-sandbox.json") {
...
...
@@ -182,6 +199,7 @@ if (defined(ohos_lite)) {
"//base/startup/init/interfaces/innerkits/sandbox/system-sandbox.json"
}
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/sandbox"
}
...
...
@@ -192,12 +210,14 @@ if (defined(ohos_lite)) {
source = "//base/startup/init/interfaces/innerkits/sandbox/chipset-sandbox.json"
}
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/sandbox"
}
ohos_prebuilt_etc("init.reboot") {
source = "//base/startup/init/services/etc/init.reboot.cfg"
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/init"
}
...
...
services/init/standard/BUILD.gn
浏览文件 @
51889580
...
...
@@ -153,4 +153,5 @@ ohos_executable("init") {
]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
services/log/BUILD.gn
浏览文件 @
51889580
...
...
@@ -60,5 +60,6 @@ if (defined(ohos_lite)) {
include_dirs = [ "//third_party/bounds_checking_function/include" ]
external_deps = [ "hilog_native:libhilog_base" ]
part_name = "init"
subsystem_name = "startup"
}
}
services/modules/bootchart/BUILD.gn
浏览文件 @
51889580
...
...
@@ -30,6 +30,7 @@ ohos_shared_library("bootchart") {
external_deps = [ "init:libinit_module_engine" ]
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
module_install_dir = "lib64/init"
} else {
...
...
services/modules/reboot/BUILD.gn
浏览文件 @
51889580
...
...
@@ -31,6 +31,7 @@ ohos_shared_library("rebootmodule") {
defines += [ "PRODUCT_RK" ]
}
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
module_install_dir = "lib64/init"
} else {
...
...
services/modules/selinux/BUILD.gn
浏览文件 @
51889580
...
...
@@ -35,6 +35,7 @@ ohos_shared_library("selinuxadp") {
external_deps = [ "init:libinit_module_engine" ]
part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") {
module_install_dir = "lib64/init"
} else {
...
...
services/param/base/BUILD.gn
浏览文件 @
51889580
...
...
@@ -164,5 +164,6 @@ if (defined(ohos_lite)) {
defines += [ "PARAM_BASE_LOG" ]
}
part_name = "init"
subsystem_name = "startup"
}
}
services/param/watcher/BUILD.gn
浏览文件 @
51889580
...
...
@@ -16,6 +16,7 @@ ohos_prebuilt_etc("param_watcher.rc") {
source = "etc/param_watcher.cfg"
relative_install_dir = "init"
part_name = "init"
subsystem_name = "startup"
}
ohos_shared_library("param_watcher") {
...
...
@@ -48,4 +49,5 @@ ohos_shared_library("param_watcher") {
]
install_images = [ "system" ]
part_name = "init"
subsystem_name = "startup"
}
services/utils/BUILD.gn
浏览文件 @
51889580
...
...
@@ -43,5 +43,6 @@ if (defined(ohos_lite)) {
]
defines = [ "_GNU_SOURCE" ]
part_name = "init"
subsystem_name = "startup"
}
}
test/exec_test/BUILD.gn
浏览文件 @
51889580
...
...
@@ -28,6 +28,7 @@ ohos_executable("client") {
install_images = [ "system" ]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
ohos_executable("fd_holder_test") {
...
...
@@ -43,11 +44,13 @@ ohos_executable("fd_holder_test") {
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("fd_holder_test.cfg") {
source = "//base/startup/init/test/exec_test/fd_holder_test.cfg"
part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/init"
}
...
...
@@ -65,6 +68,7 @@ ohos_executable("server") {
install_images = [ "system" ]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
ohos_executable("ondemandTest") {
...
...
@@ -80,6 +84,7 @@ ohos_executable("ondemandTest") {
install_images = [ "system" ]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
group("exectest") {
...
...
test/fuzztest/BUILD.gn
浏览文件 @
51889580
...
...
@@ -24,6 +24,7 @@ ohos_static_library("libfuzz_utils") {
deps = []
part_name = "init"
subsystem_name = "startup"
}
##############################fuzztest##########################################
...
...
test/moduletest/BUILD.gn
浏览文件 @
51889580
...
...
@@ -38,6 +38,7 @@ ohos_shared_library("libparamtestmodule") {
external_deps = [ "init:libinit_module_engine" ]
part_name = "init"
subsystem_name = "startup"
module_install_dir = "lib/init"
}
...
...
ueventd/BUILD.gn
浏览文件 @
51889580
...
...
@@ -96,6 +96,7 @@ if (defined(ohos_lite)) {
public_configs = [ ":libueventd_exported_config" ]
part_name = "init"
subsystem_name = "startup"
}
ohos_executable("ueventd") {
...
...
@@ -128,11 +129,13 @@ if (defined(ohos_lite)) {
]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
ohos_prebuilt_etc("ueventd.config") {
source = "//base/startup/init/ueventd/etc/ueventd.config"
part_name = "init"
subsystem_name = "startup"
install_images = [
"system",
"updater",
...
...
watchdog/BUILD.gn
浏览文件 @
51889580
...
...
@@ -44,6 +44,7 @@ if (defined(ohos_lite)) {
defines += [ "_GNU_SOURCE" ]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录