Merge "init: group source files better in Android.bp"
This commit is contained in:
commit
2157b2065e
128
init/Android.bp
128
init/Android.bp
|
@ -14,6 +14,61 @@
|
|||
// limitations under the License.
|
||||
//
|
||||
|
||||
init_common_sources = [
|
||||
"action.cpp",
|
||||
"action_manager.cpp",
|
||||
"action_parser.cpp",
|
||||
"capabilities.cpp",
|
||||
"epoll.cpp",
|
||||
"import_parser.cpp",
|
||||
"interface_utils.cpp",
|
||||
"keychords.cpp",
|
||||
"parser.cpp",
|
||||
"property_type.cpp",
|
||||
"rlimit_parser.cpp",
|
||||
"service.cpp",
|
||||
"service_list.cpp",
|
||||
"service_parser.cpp",
|
||||
"service_utils.cpp",
|
||||
"subcontext.cpp",
|
||||
"subcontext.proto",
|
||||
"tokenizer.cpp",
|
||||
"util.cpp",
|
||||
]
|
||||
init_device_sources = [
|
||||
"bootchart.cpp",
|
||||
"builtins.cpp",
|
||||
"devices.cpp",
|
||||
"firmware_handler.cpp",
|
||||
"first_stage_init.cpp",
|
||||
"first_stage_mount.cpp",
|
||||
"fscrypt_init_extensions.cpp",
|
||||
"init.cpp",
|
||||
"lmkd_service.cpp",
|
||||
"modalias_handler.cpp",
|
||||
"mount_handler.cpp",
|
||||
"mount_namespace.cpp",
|
||||
"persistent_properties.cpp",
|
||||
"persistent_properties.proto",
|
||||
"property_service.cpp",
|
||||
"property_service.proto",
|
||||
"reboot.cpp",
|
||||
"reboot_utils.cpp",
|
||||
"security.cpp",
|
||||
"selabel.cpp",
|
||||
"selinux.cpp",
|
||||
"sigchld_handler.cpp",
|
||||
"switch_root.cpp",
|
||||
"uevent_listener.cpp",
|
||||
"ueventd.cpp",
|
||||
"ueventd_parser.cpp",
|
||||
]
|
||||
init_host_sources = [
|
||||
"check_builtins.cpp",
|
||||
"host_import_parser.cpp",
|
||||
"host_init_verifier.cpp",
|
||||
]
|
||||
|
||||
cc_defaults {
|
||||
name: "init_defaults",
|
||||
cpp_std: "experimental",
|
||||
|
@ -103,53 +158,7 @@ cc_library_static {
|
|||
"init_defaults",
|
||||
"selinux_policy_version",
|
||||
],
|
||||
srcs: [
|
||||
"action.cpp",
|
||||
"action_manager.cpp",
|
||||
"action_parser.cpp",
|
||||
"bootchart.cpp",
|
||||
"builtins.cpp",
|
||||
"capabilities.cpp",
|
||||
"devices.cpp",
|
||||
"epoll.cpp",
|
||||
"firmware_handler.cpp",
|
||||
"first_stage_init.cpp",
|
||||
"first_stage_mount.cpp",
|
||||
"fscrypt_init_extensions.cpp",
|
||||
"import_parser.cpp",
|
||||
"init.cpp",
|
||||
"interface_utils.cpp",
|
||||
"keychords.cpp",
|
||||
"lmkd_service.cpp",
|
||||
"modalias_handler.cpp",
|
||||
"mount_handler.cpp",
|
||||
"mount_namespace.cpp",
|
||||
"parser.cpp",
|
||||
"persistent_properties.cpp",
|
||||
"persistent_properties.proto",
|
||||
"property_service.cpp",
|
||||
"property_service.proto",
|
||||
"property_type.cpp",
|
||||
"reboot.cpp",
|
||||
"reboot_utils.cpp",
|
||||
"security.cpp",
|
||||
"selabel.cpp",
|
||||
"selinux.cpp",
|
||||
"service.cpp",
|
||||
"service_list.cpp",
|
||||
"service_parser.cpp",
|
||||
"service_utils.cpp",
|
||||
"sigchld_handler.cpp",
|
||||
"subcontext.cpp",
|
||||
"subcontext.proto",
|
||||
"switch_root.cpp",
|
||||
"rlimit_parser.cpp",
|
||||
"tokenizer.cpp",
|
||||
"uevent_listener.cpp",
|
||||
"ueventd.cpp",
|
||||
"ueventd_parser.cpp",
|
||||
"util.cpp",
|
||||
],
|
||||
srcs: init_common_sources + init_device_sources,
|
||||
whole_static_libs: [
|
||||
"libcap",
|
||||
"com.android.sysprop.apex",
|
||||
|
@ -297,30 +306,7 @@ cc_binary {
|
|||
"libprocessgroup",
|
||||
"libprotobuf-cpp-lite",
|
||||
],
|
||||
srcs: [
|
||||
"action.cpp",
|
||||
"action_manager.cpp",
|
||||
"action_parser.cpp",
|
||||
"capabilities.cpp",
|
||||
"check_builtins.cpp",
|
||||
"epoll.cpp",
|
||||
"keychords.cpp",
|
||||
"import_parser.cpp",
|
||||
"interface_utils.cpp",
|
||||
"host_import_parser.cpp",
|
||||
"host_init_verifier.cpp",
|
||||
"parser.cpp",
|
||||
"property_type.cpp",
|
||||
"rlimit_parser.cpp",
|
||||
"tokenizer.cpp",
|
||||
"service.cpp",
|
||||
"service_list.cpp",
|
||||
"service_parser.cpp",
|
||||
"service_utils.cpp",
|
||||
"subcontext.cpp",
|
||||
"subcontext.proto",
|
||||
"util.cpp",
|
||||
],
|
||||
srcs: init_common_sources + init_host_sources,
|
||||
proto: {
|
||||
type: "lite",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue