Merge "Don't install Android-only dependencies to microdroid" into main
This commit is contained in:
commit
68c7869e86
1 changed files with 9 additions and 7 deletions
|
@ -259,6 +259,7 @@ cc_library_static {
|
|||
"avf_build_flags_cc",
|
||||
"libinit_defaults",
|
||||
],
|
||||
recovery_available: false,
|
||||
cflags: ["-DMICRODROID=1"],
|
||||
}
|
||||
|
||||
|
@ -276,6 +277,13 @@ cc_defaults {
|
|||
defaults: ["init_defaults"],
|
||||
srcs: ["main.cpp"],
|
||||
symlinks: ["ueventd"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "init_second_stage",
|
||||
defaults: ["init_second_stage_defaults"],
|
||||
static_libs: ["libinit"],
|
||||
visibility: ["//visibility:any_system_partition"],
|
||||
target: {
|
||||
platform: {
|
||||
required: [
|
||||
|
@ -309,19 +317,13 @@ cc_defaults {
|
|||
},
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "init_second_stage",
|
||||
defaults: ["init_second_stage_defaults"],
|
||||
static_libs: ["libinit"],
|
||||
visibility: ["//visibility:any_system_partition"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "init_second_stage.microdroid",
|
||||
defaults: [
|
||||
"avf_build_flags_cc",
|
||||
"init_second_stage_defaults",
|
||||
],
|
||||
recovery_available: false,
|
||||
static_libs: ["libinit.microdroid"],
|
||||
cflags: ["-DMICRODROID=1"],
|
||||
installable: false,
|
||||
|
|
Loading…
Reference in a new issue