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:
commit
feb6ff1ef9
1 changed files with 18 additions and 8 deletions
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue