未验证 提交 51889580 编写于 作者: O openharmony_ci 提交者: Gitee

!1221 添加subsystem_name以减少get_subsystem_name.py耗时

Merge pull request !1221 from lijunru/sub_name
......@@ -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"
}
}
......
......@@ -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"
}
}
......
......@@ -35,4 +35,5 @@ ohos_static_library("libcontrolfd") {
"//base/startup/init/services/loopevent/include",
]
part_name = "init"
subsystem_name = "startup"
}
......@@ -30,4 +30,5 @@ ohos_static_library("fdholder") {
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
subsystem_name = "startup"
}
......@@ -25,4 +25,5 @@ ohos_static_library("libfile") {
]
public_configs = [ ":exported_header_files" ]
part_name = "init"
subsystem_name = "startup"
}
......@@ -33,4 +33,5 @@ ohos_static_library("libfsmanager_static") {
]
public_configs = [ ":libfsmanager_exported_configs" ]
part_name = "init"
subsystem_name = "startup"
}
......@@ -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",
......
......@@ -35,4 +35,5 @@ ohos_static_library("sandbox") {
defines = [ "SUPPORT_64BIT" ]
}
part_name = "init"
subsystem_name = "startup"
}
......@@ -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" ]
......
......@@ -33,5 +33,6 @@ if (defined(ohos_lite)) {
sources = service_socket_sources
include_dirs = service_socket_include
part_name = "init"
subsystem_name = "startup"
}
}
......@@ -31,5 +31,6 @@ ohos_shared_library("syscap") {
public_configs = [ ":syscap_config" ]
part_name = "init"
subsystem_name = "startup"
install_images = [ "system" ]
}
......@@ -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") {
......
......@@ -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"
}
}
......
......@@ -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"
}
......
......@@ -153,4 +153,5 @@ ohos_executable("init") {
]
install_enable = true
part_name = "init"
subsystem_name = "startup"
}
......@@ -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"
}
}
......@@ -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 {
......
......@@ -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 {
......
......@@ -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 {
......
......@@ -164,5 +164,6 @@ if (defined(ohos_lite)) {
defines += [ "PARAM_BASE_LOG" ]
}
part_name = "init"
subsystem_name = "startup"
}
}
......@@ -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"
}
......@@ -43,5 +43,6 @@ if (defined(ohos_lite)) {
]
defines = [ "_GNU_SOURCE" ]
part_name = "init"
subsystem_name = "startup"
}
}
......@@ -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") {
......
......@@ -24,6 +24,7 @@ ohos_static_library("libfuzz_utils") {
deps = []
part_name = "init"
subsystem_name = "startup"
}
##############################fuzztest##########################################
......
......@@ -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"
}
......
......@@ -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",
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册