Merge "init: Separate the required modules of core and recovery variants" am: 81dad902f6

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1739813

Change-Id: Iefe31940c72ba1ea88477b9ad51cd07e8c9d447e
This commit is contained in:
Yi-Yo Chiang 2021-07-30 18:26:28 +00:00 committed by Automerger Merge Worker
commit feb6ff1ef9

View file

@ -228,17 +228,19 @@ cc_binary {
stem: "init",
defaults: ["init_defaults"],
static_libs: ["libinit"],
required: [
"e2fsdroid",
"init.rc",
"mke2fs",
"sload_f2fs",
"make_f2fs",
"ueventd.rc",
],
srcs: ["main.cpp"],
symlinks: ["ueventd"],
target: {
platform: {
required: [
"init.rc",
"ueventd.rc",
"e2fsdroid",
"make_f2fs",
"mke2fs",
"sload_f2fs",
],
},
recovery: {
cflags: ["-DRECOVERY"],
exclude_static_libs: [
@ -248,6 +250,14 @@ cc_binary {
"libbinder",
"libutils",
],
required: [
"init_recovery.rc",
"ueventd.rc.recovery",
"e2fsdroid.recovery",
"make_f2fs.recovery",
"mke2fs.recovery",
"sload_f2fs.recovery",
],
},
},
visibility: ["//packages/modules/Virtualization/microdroid"],