Merge "Don't install Android-only dependencies to microdroid" into main

This commit is contained in:
Treehugger Robot 2024-04-17 22:37:56 +00:00 committed by Gerrit Code Review
commit 68c7869e86

View file

@ -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,