From b04490d7e5f85545b15ad4e04ba9f3d2eea550c6 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Wed, 21 Oct 2020 18:36:36 -0700 Subject: [PATCH] Make vendor_ramdisk_available. Test: pass Bug: 156098440 Change-Id: I8fe2deb8fa3b24c227202be02d8af648629cffeb --- libc/Android.bp | 6 ++++++ libc/async_safe/Android.bp | 1 + libdl/Android.bp | 3 +++ libm/Android.bp | 1 + linker/Android.bp | 3 +++ 5 files changed, 14 insertions(+) diff --git a/libc/Android.bp b/libc/Android.bp index 48c9dd044..a4edfbbf3 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -83,6 +83,7 @@ cc_defaults { }, native_coverage: false, ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, @@ -1327,6 +1328,7 @@ cc_library_static { "libc_native_allocator_defaults", ], ramdisk_available: false, + vendor_ramdisk_available: false, srcs: libc_common_src_files + [ "bionic/gwp_asan_wrappers.cpp", "bionic/heap_tagging.cpp", @@ -1770,6 +1772,7 @@ cc_library_headers { ], vendor_available: true, ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, export_include_dirs: [ @@ -1798,6 +1801,7 @@ cc_library_headers { host_supported: true, vendor_available: true, ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, apex_available: [ @@ -1848,6 +1852,7 @@ cc_library_headers { native_bridge_supported: true, vendor_available: true, ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, sdk_version: "1", @@ -1976,6 +1981,7 @@ cc_defaults { defaults: ["linux_bionic_supported"], vendor_available: true, ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, apex_available: [ diff --git a/libc/async_safe/Android.bp b/libc/async_safe/Android.bp index 98da2cc36..a808dde1b 100644 --- a/libc/async_safe/Android.bp +++ b/libc/async_safe/Android.bp @@ -32,6 +32,7 @@ cc_library_static { cc_library_headers { name: "libasync_safe_headers", ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, defaults: ["linux_bionic_supported"], diff --git a/libdl/Android.bp b/libdl/Android.bp index 6a3a82ea4..cee43a384 100644 --- a/libdl/Android.bp +++ b/libdl/Android.bp @@ -5,6 +5,7 @@ cc_library_static { name: "libdl_static", defaults: ["linux_bionic_supported"], ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, @@ -36,6 +37,7 @@ cc_library_static { cc_library { name: "libdl", ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, static_ndk_lib: true, @@ -131,6 +133,7 @@ cc_library { defaults: ["linux_bionic_supported"], ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true, diff --git a/libm/Android.bp b/libm/Android.bp index 1c4fe551a..322d67a4a 100644 --- a/libm/Android.bp +++ b/libm/Android.bp @@ -7,6 +7,7 @@ cc_library { name: "libm", defaults: ["linux_bionic_supported"], ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, static_ndk_lib: true, diff --git a/linker/Android.bp b/linker/Android.bp index 08b2c7b07..0caa0ee9a 100644 --- a/linker/Android.bp +++ b/linker/Android.bp @@ -121,6 +121,7 @@ cc_defaults { name: "linker_all_targets", defaults: ["linux_bionic_supported"], recovery_available: true, + vendor_ramdisk_available: true, native_bridge_supported: true, } @@ -332,6 +333,7 @@ cc_binary { compile_multilib: "both", recovery_available: true, + vendor_ramdisk_available: true, apex_available: [ "//apex_available:platform", "com.android.runtime", @@ -405,6 +407,7 @@ cc_library { name: "ld-android", defaults: ["linux_bionic_supported", "linker_version_script_overlay"], ramdisk_available: true, + vendor_ramdisk_available: true, recovery_available: true, native_bridge_supported: true,