Merge "Make libdebuggerd ramdisk available." into main

This commit is contained in:
Kelvin Zhang 2023-08-01 04:46:48 +00:00 committed by Gerrit Code Review
commit dccb1e904d
2 changed files with 15 additions and 3 deletions

View file

@ -188,6 +188,7 @@ cc_library {
cc_library_static {
name: "libdebuggerd",
defaults: ["debuggerd_defaults"],
ramdisk_available: true,
recovery_available: true,
vendor_ramdisk_available: true,
@ -221,9 +222,6 @@ cc_library_static {
"libbase",
"libcutils",
],
runtime_libs: [
"libdexfile", // libdexfile_support dependency
],
whole_static_libs: [
"libasync_safe",
@ -250,6 +248,19 @@ cc_library_static {
"libdexfile",
],
},
ramdisk: {
exclude_static_libs: [
"libdexfile_support",
],
exclude_runtime_libs: [
"libdexfile",
],
},
android: {
runtime_libs: [
"libdexfile", // libdexfile_support dependency
],
},
},
product_variables: {

View file

@ -35,6 +35,7 @@ cc_library_static {
"com.android.runtime",
],
ramdisk_available: true,
recovery_available: true,
vendor_ramdisk_available: true,
}