From 5a39cee1ce7638133eaaa65dc09d1734732b309b Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Tue, 21 Jan 2020 16:43:56 -0800 Subject: [PATCH] Make ramdisk_available. Test: pass Bug: 147347110 Change-Id: I142311a7558a19d209bcd63207a88e12cf6f130e --- libc/Android.bp | 5 +++++ libc/async_safe/Android.bp | 1 + libdl/Android.bp | 3 +++ libm/Android.bp | 1 + linker/Android.bp | 1 + 5 files changed, 11 insertions(+) diff --git a/libc/Android.bp b/libc/Android.bp index c764cb940..0c7ab4946 100644 --- a/libc/Android.bp +++ b/libc/Android.bp @@ -71,6 +71,7 @@ cc_defaults { fuzzer: false, }, native_coverage: false, + ramdisk_available: true, recovery_available: true, native_bridge_supported: true, @@ -1402,6 +1403,7 @@ cc_library_static { "libc_defaults", "libc_native_allocator_defaults", ], + ramdisk_available: false, srcs: libc_common_src_files + [ "bionic/heap_tagging.cpp", "bionic/malloc_common.cpp", @@ -1823,6 +1825,7 @@ cc_library_headers { ], host_supported: true, vendor_available: true, + ramdisk_available: true, recovery_available: true, native_bridge_supported: true, export_include_dirs: [ @@ -1839,6 +1842,7 @@ cc_library_headers { host_supported: true, vendor_available: true, + ramdisk_available: true, recovery_available: true, native_bridge_supported: true, @@ -1979,6 +1983,7 @@ cc_defaults { name: "crt_defaults", defaults: ["linux_bionic_supported"], vendor_available: true, + ramdisk_available: true, recovery_available: true, native_bridge_supported: true, diff --git a/libc/async_safe/Android.bp b/libc/async_safe/Android.bp index c28d53aff..7df6ab9ac 100644 --- a/libc/async_safe/Android.bp +++ b/libc/async_safe/Android.bp @@ -22,6 +22,7 @@ cc_library_static { cc_library_headers { name: "libasync_safe_headers", + 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 9daa9c433..59f1937c7 100644 --- a/libdl/Android.bp +++ b/libdl/Android.bp @@ -4,6 +4,7 @@ cc_library_static { name: "libdl_static", defaults: ["linux_bionic_supported"], + ramdisk_available: true, recovery_available: true, native_bridge_supported: true, @@ -32,6 +33,7 @@ cc_library_static { cc_library { name: "libdl", + ramdisk_available: true, recovery_available: true, native_bridge_supported: true, static_ndk_lib: true, @@ -122,6 +124,7 @@ cc_library { name: "libdl_android", defaults: ["linux_bionic_supported"], + ramdisk_available: true, recovery_available: true, native_bridge_supported: true, diff --git a/libm/Android.bp b/libm/Android.bp index 801129a14..d4cdd7b05 100644 --- a/libm/Android.bp +++ b/libm/Android.bp @@ -6,6 +6,7 @@ bionic_coverage = false cc_library { name: "libm", defaults: ["linux_bionic_supported"], + ramdisk_available: true, recovery_available: true, static_ndk_lib: true, diff --git a/linker/Android.bp b/linker/Android.bp index acdf0942f..e21ee6011 100644 --- a/linker/Android.bp +++ b/linker/Android.bp @@ -425,6 +425,7 @@ cc_library { name: "ld-android", defaults: ["linux_bionic_supported", "linker_version_script_overlay"], + ramdisk_available: true, recovery_available: true, native_bridge_supported: true,