未验证 提交 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)) { ...@@ -24,6 +24,7 @@ if (!defined(ohos_lite)) {
source = "etc/deviceinfoservice.cfg" source = "etc/deviceinfoservice.cfg"
relative_install_dir = "init" relative_install_dir = "init"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_shared_library("deviceinfoservice") { ohos_shared_library("deviceinfoservice") {
...@@ -60,6 +61,7 @@ if (!defined(ohos_lite)) { ...@@ -60,6 +61,7 @@ if (!defined(ohos_lite)) {
] ]
install_images = [ "system" ] install_images = [ "system" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
......
...@@ -200,6 +200,7 @@ if (defined(ohos_lite)) { ...@@ -200,6 +200,7 @@ if (defined(ohos_lite)) {
] ]
public_configs = [ ":exported_header_files" ] public_configs = [ ":exported_header_files" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
install_images = [ install_images = [
"system", "system",
"updater", "updater",
...@@ -259,6 +260,7 @@ if (defined(ohos_lite)) { ...@@ -259,6 +260,7 @@ if (defined(ohos_lite)) {
] ]
public_configs = [ ":exported_header_files" ] public_configs = [ ":exported_header_files" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
install_images = [ "system" ] install_images = [ "system" ]
} }
...@@ -294,6 +296,7 @@ if (defined(ohos_lite)) { ...@@ -294,6 +296,7 @@ if (defined(ohos_lite)) {
"hilog_native:libhilog_base", "hilog_native:libhilog_base",
] ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
......
...@@ -35,4 +35,5 @@ ohos_static_library("libcontrolfd") { ...@@ -35,4 +35,5 @@ ohos_static_library("libcontrolfd") {
"//base/startup/init/services/loopevent/include", "//base/startup/init/services/loopevent/include",
] ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
...@@ -30,4 +30,5 @@ ohos_static_library("fdholder") { ...@@ -30,4 +30,5 @@ ohos_static_library("fdholder") {
] ]
public_configs = [ ":exported_header_files" ] public_configs = [ ":exported_header_files" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
...@@ -25,4 +25,5 @@ ohos_static_library("libfile") { ...@@ -25,4 +25,5 @@ ohos_static_library("libfile") {
] ]
public_configs = [ ":exported_header_files" ] public_configs = [ ":exported_header_files" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
...@@ -33,4 +33,5 @@ ohos_static_library("libfsmanager_static") { ...@@ -33,4 +33,5 @@ ohos_static_library("libfsmanager_static") {
] ]
public_configs = [ ":libfsmanager_exported_configs" ] public_configs = [ ":libfsmanager_exported_configs" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
...@@ -56,6 +56,7 @@ if (defined(ohos_lite)) { ...@@ -56,6 +56,7 @@ if (defined(ohos_lite)) {
output_extension = "so" output_extension = "so"
stub_description_file = "./stub/libinit.stub.empty.json" stub_description_file = "./stub/libinit.stub.empty.json"
part_name = "init" part_name = "init"
subsystem_name = "startup"
install_enable = true install_enable = true
install_images = [ install_images = [
"system", "system",
......
...@@ -35,4 +35,5 @@ ohos_static_library("sandbox") { ...@@ -35,4 +35,5 @@ ohos_static_library("sandbox") {
defines = [ "SUPPORT_64BIT" ] defines = [ "SUPPORT_64BIT" ]
} }
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
...@@ -39,6 +39,7 @@ if (defined(build_seccomp) && build_seccomp) { ...@@ -39,6 +39,7 @@ if (defined(build_seccomp) && build_seccomp) {
license_file = "//base/startup/init/LICENSE" license_file = "//base/startup/init/LICENSE"
part_name = "init" part_name = "init"
subsystem_name = "startup"
install_enable = true install_enable = true
install_images = [ "system" ] install_images = [ "system" ]
......
...@@ -33,5 +33,6 @@ if (defined(ohos_lite)) { ...@@ -33,5 +33,6 @@ if (defined(ohos_lite)) {
sources = service_socket_sources sources = service_socket_sources
include_dirs = service_socket_include include_dirs = service_socket_include
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
...@@ -31,5 +31,6 @@ ohos_shared_library("syscap") { ...@@ -31,5 +31,6 @@ ohos_shared_library("syscap") {
public_configs = [ ":syscap_config" ] public_configs = [ ":syscap_config" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
install_images = [ "system" ] install_images = [ "system" ]
} }
...@@ -18,6 +18,7 @@ ohos_shared_library("deviceinfo_ndk") { ...@@ -18,6 +18,7 @@ ohos_shared_library("deviceinfo_ndk") {
include_dirs = [ "./include" ] include_dirs = [ "./include" ]
deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ] deps = [ "//base/startup/init/interfaces/innerkits:libbegetutil" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_ndk_library("libdeviceinfo_ndk") { ohos_ndk_library("libdeviceinfo_ndk") {
......
...@@ -131,6 +131,7 @@ if (defined(ohos_lite)) { ...@@ -131,6 +131,7 @@ if (defined(ohos_lite)) {
install_images = [ "system" ] install_images = [ "system" ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_executable("paramshell") { ohos_executable("paramshell") {
...@@ -171,6 +172,7 @@ if (defined(ohos_lite)) { ...@@ -171,6 +172,7 @@ if (defined(ohos_lite)) {
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_executable("param") { ohos_executable("param") {
...@@ -212,6 +214,7 @@ if (defined(ohos_lite)) { ...@@ -212,6 +214,7 @@ if (defined(ohos_lite)) {
install_images = [ "system" ] install_images = [ "system" ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
......
...@@ -61,24 +61,28 @@ if (defined(ohos_lite)) { ...@@ -61,24 +61,28 @@ if (defined(ohos_lite)) {
source = "//base/startup/init/services/etc/init.cfg" source = "//base/startup/init/services/etc/init.cfg"
} }
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("watchdog.cfg") { ohos_prebuilt_etc("watchdog.cfg") {
source = "//base/startup/init/services/etc/watchdog.cfg" source = "//base/startup/init/services/etc/watchdog.cfg"
relative_install_dir = "init" relative_install_dir = "init"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("console.cfg") { ohos_prebuilt_etc("console.cfg") {
source = "//base/startup/init/services/etc/console.cfg" source = "//base/startup/init/services/etc/console.cfg"
relative_install_dir = "init" relative_install_dir = "init"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("ueventd.cfg") { ohos_prebuilt_etc("ueventd.cfg") {
source = "//base/startup/init/services/etc/ueventd.cfg" source = "//base/startup/init/services/etc/ueventd.cfg"
relative_install_dir = "init" relative_install_dir = "init"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("passwd") { ohos_prebuilt_etc("passwd") {
...@@ -88,6 +92,7 @@ if (defined(ohos_lite)) { ...@@ -88,6 +92,7 @@ if (defined(ohos_lite)) {
"updater", "updater",
] ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("group") { ohos_prebuilt_etc("group") {
...@@ -97,11 +102,13 @@ if (defined(ohos_lite)) { ...@@ -97,11 +102,13 @@ if (defined(ohos_lite)) {
"updater", "updater",
] ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("init.usb.cfg") { ohos_prebuilt_etc("init.usb.cfg") {
source = "//base/startup/init/services/etc/init.usb.cfg" source = "//base/startup/init/services/etc/init.usb.cfg"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_para("ohos.para") { ohos_prebuilt_para("ohos.para") {
...@@ -111,6 +118,7 @@ if (defined(ohos_lite)) { ...@@ -111,6 +118,7 @@ if (defined(ohos_lite)) {
"updater", "updater",
] ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") { if (target_cpu == "arm64") {
extra_paras = [ "const.product.cpu.abilist=arm64-v8a" ] extra_paras = [ "const.product.cpu.abilist=arm64-v8a" ]
} }
...@@ -124,12 +132,14 @@ if (defined(ohos_lite)) { ...@@ -124,12 +132,14 @@ if (defined(ohos_lite)) {
"updater", "updater",
] ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/param" module_install_dir = "etc/param"
} }
ohos_prebuilt_para("ohos_const.para") { ohos_prebuilt_para("ohos_const.para") {
source = "//base/startup/init/services/etc/param/ohos_const/ohos.para" source = "//base/startup/init/services/etc/param/ohos_const/ohos.para"
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/param/ohos_const" module_install_dir = "etc/param/ohos_const"
} }
...@@ -140,38 +150,45 @@ if (defined(ohos_lite)) { ...@@ -140,38 +150,45 @@ if (defined(ohos_lite)) {
"updater", "updater",
] ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/param" module_install_dir = "etc/param"
} }
ohos_prebuilt_etc("boot.group") { ohos_prebuilt_etc("boot.group") {
source = "//base/startup/init/services/etc/device.boot.group.cfg" source = "//base/startup/init/services/etc/device.boot.group.cfg"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("charge.group") { ohos_prebuilt_etc("charge.group") {
source = "//base/startup/init/services/etc/device.charge.group.cfg" source = "//base/startup/init/services/etc/device.charge.group.cfg"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("syscap.para") { ohos_prebuilt_etc("syscap.para") {
source = "${preloader_output_dir}/system/etc/param/syscap.para" source = "${preloader_output_dir}/system/etc/param/syscap.para"
module_install_dir = "etc/param/" module_install_dir = "etc/param/"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("syscap.json") { ohos_prebuilt_etc("syscap.json") {
source = "${preloader_output_dir}/system/etc/syscap.json" source = "${preloader_output_dir}/system/etc/syscap.json"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("systemcapability.json") { ohos_prebuilt_etc("systemcapability.json") {
source = "${preloader_output_dir}/system/etc/SystemCapability.json" source = "${preloader_output_dir}/system/etc/SystemCapability.json"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("features.json") { ohos_prebuilt_etc("features.json") {
source = "${preloader_output_dir}/features.json" source = "${preloader_output_dir}/features.json"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("system-sandbox.json") { ohos_prebuilt_etc("system-sandbox.json") {
...@@ -182,6 +199,7 @@ if (defined(ohos_lite)) { ...@@ -182,6 +199,7 @@ if (defined(ohos_lite)) {
"//base/startup/init/interfaces/innerkits/sandbox/system-sandbox.json" "//base/startup/init/interfaces/innerkits/sandbox/system-sandbox.json"
} }
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/sandbox" module_install_dir = "etc/sandbox"
} }
...@@ -192,12 +210,14 @@ if (defined(ohos_lite)) { ...@@ -192,12 +210,14 @@ if (defined(ohos_lite)) {
source = "//base/startup/init/interfaces/innerkits/sandbox/chipset-sandbox.json" source = "//base/startup/init/interfaces/innerkits/sandbox/chipset-sandbox.json"
} }
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/sandbox" module_install_dir = "etc/sandbox"
} }
ohos_prebuilt_etc("init.reboot") { ohos_prebuilt_etc("init.reboot") {
source = "//base/startup/init/services/etc/init.reboot.cfg" source = "//base/startup/init/services/etc/init.reboot.cfg"
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/init" module_install_dir = "etc/init"
} }
......
...@@ -153,4 +153,5 @@ ohos_executable("init") { ...@@ -153,4 +153,5 @@ ohos_executable("init") {
] ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
...@@ -60,5 +60,6 @@ if (defined(ohos_lite)) { ...@@ -60,5 +60,6 @@ if (defined(ohos_lite)) {
include_dirs = [ "//third_party/bounds_checking_function/include" ] include_dirs = [ "//third_party/bounds_checking_function/include" ]
external_deps = [ "hilog_native:libhilog_base" ] external_deps = [ "hilog_native:libhilog_base" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
...@@ -30,6 +30,7 @@ ohos_shared_library("bootchart") { ...@@ -30,6 +30,7 @@ ohos_shared_library("bootchart") {
external_deps = [ "init:libinit_module_engine" ] external_deps = [ "init:libinit_module_engine" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") { if (target_cpu == "arm64") {
module_install_dir = "lib64/init" module_install_dir = "lib64/init"
} else { } else {
......
...@@ -31,6 +31,7 @@ ohos_shared_library("rebootmodule") { ...@@ -31,6 +31,7 @@ ohos_shared_library("rebootmodule") {
defines += [ "PRODUCT_RK" ] defines += [ "PRODUCT_RK" ]
} }
part_name = "init" part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") { if (target_cpu == "arm64") {
module_install_dir = "lib64/init" module_install_dir = "lib64/init"
} else { } else {
......
...@@ -35,6 +35,7 @@ ohos_shared_library("selinuxadp") { ...@@ -35,6 +35,7 @@ ohos_shared_library("selinuxadp") {
external_deps = [ "init:libinit_module_engine" ] external_deps = [ "init:libinit_module_engine" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
if (target_cpu == "arm64") { if (target_cpu == "arm64") {
module_install_dir = "lib64/init" module_install_dir = "lib64/init"
} else { } else {
......
...@@ -164,5 +164,6 @@ if (defined(ohos_lite)) { ...@@ -164,5 +164,6 @@ if (defined(ohos_lite)) {
defines += [ "PARAM_BASE_LOG" ] defines += [ "PARAM_BASE_LOG" ]
} }
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
...@@ -16,6 +16,7 @@ ohos_prebuilt_etc("param_watcher.rc") { ...@@ -16,6 +16,7 @@ ohos_prebuilt_etc("param_watcher.rc") {
source = "etc/param_watcher.cfg" source = "etc/param_watcher.cfg"
relative_install_dir = "init" relative_install_dir = "init"
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_shared_library("param_watcher") { ohos_shared_library("param_watcher") {
...@@ -48,4 +49,5 @@ ohos_shared_library("param_watcher") { ...@@ -48,4 +49,5 @@ ohos_shared_library("param_watcher") {
] ]
install_images = [ "system" ] install_images = [ "system" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
...@@ -43,5 +43,6 @@ if (defined(ohos_lite)) { ...@@ -43,5 +43,6 @@ if (defined(ohos_lite)) {
] ]
defines = [ "_GNU_SOURCE" ] defines = [ "_GNU_SOURCE" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
...@@ -28,6 +28,7 @@ ohos_executable("client") { ...@@ -28,6 +28,7 @@ ohos_executable("client") {
install_images = [ "system" ] install_images = [ "system" ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_executable("fd_holder_test") { ohos_executable("fd_holder_test") {
...@@ -43,11 +44,13 @@ ohos_executable("fd_holder_test") { ...@@ -43,11 +44,13 @@ ohos_executable("fd_holder_test") {
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("fd_holder_test.cfg") { ohos_prebuilt_etc("fd_holder_test.cfg") {
source = "//base/startup/init/test/exec_test/fd_holder_test.cfg" source = "//base/startup/init/test/exec_test/fd_holder_test.cfg"
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "etc/init" module_install_dir = "etc/init"
} }
...@@ -65,6 +68,7 @@ ohos_executable("server") { ...@@ -65,6 +68,7 @@ ohos_executable("server") {
install_images = [ "system" ] install_images = [ "system" ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_executable("ondemandTest") { ohos_executable("ondemandTest") {
...@@ -80,6 +84,7 @@ ohos_executable("ondemandTest") { ...@@ -80,6 +84,7 @@ ohos_executable("ondemandTest") {
install_images = [ "system" ] install_images = [ "system" ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
group("exectest") { group("exectest") {
......
...@@ -24,6 +24,7 @@ ohos_static_library("libfuzz_utils") { ...@@ -24,6 +24,7 @@ ohos_static_library("libfuzz_utils") {
deps = [] deps = []
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
##############################fuzztest########################################## ##############################fuzztest##########################################
......
...@@ -38,6 +38,7 @@ ohos_shared_library("libparamtestmodule") { ...@@ -38,6 +38,7 @@ ohos_shared_library("libparamtestmodule") {
external_deps = [ "init:libinit_module_engine" ] external_deps = [ "init:libinit_module_engine" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
module_install_dir = "lib/init" module_install_dir = "lib/init"
} }
......
...@@ -96,6 +96,7 @@ if (defined(ohos_lite)) { ...@@ -96,6 +96,7 @@ if (defined(ohos_lite)) {
public_configs = [ ":libueventd_exported_config" ] public_configs = [ ":libueventd_exported_config" ]
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_executable("ueventd") { ohos_executable("ueventd") {
...@@ -128,11 +129,13 @@ if (defined(ohos_lite)) { ...@@ -128,11 +129,13 @@ if (defined(ohos_lite)) {
] ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
ohos_prebuilt_etc("ueventd.config") { ohos_prebuilt_etc("ueventd.config") {
source = "//base/startup/init/ueventd/etc/ueventd.config" source = "//base/startup/init/ueventd/etc/ueventd.config"
part_name = "init" part_name = "init"
subsystem_name = "startup"
install_images = [ install_images = [
"system", "system",
"updater", "updater",
......
...@@ -44,6 +44,7 @@ if (defined(ohos_lite)) { ...@@ -44,6 +44,7 @@ if (defined(ohos_lite)) {
defines += [ "_GNU_SOURCE" ] defines += [ "_GNU_SOURCE" ]
install_enable = true install_enable = true
part_name = "init" part_name = "init"
subsystem_name = "startup"
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册