From a431f19f0ec42892b43f20c5309fb12b5c8171c3 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Tue, 21 Jan 2020 16:44:20 -0800 Subject: [PATCH] AOSP: Make ramdisk_available. Test: pass Bug: 147347110 Change-Id: Ie800ba1b56773dcc1b6563c4f19c27eccb9ffc1a From AOSP commit: f5a8e8fdefd78deae971a475a7fa43734eef205e --- e2fsck/Android.bp | 10 ++++++++++ lib/Android.bp | 1 + lib/blkid/Android.bp | 1 + lib/e2p/Android.bp | 1 + lib/et/Android.bp | 1 + lib/ext2fs/Android.bp | 1 + lib/support/Android.bp | 1 + lib/uuid/Android.bp | 1 + 8 files changed, 17 insertions(+) diff --git a/e2fsck/Android.bp b/e2fsck/Android.bp index f3443127a..d4326e531 100644 --- a/e2fsck/Android.bp +++ b/e2fsck/Android.bp @@ -66,3 +66,13 @@ cc_binary { static_libs: e2fsck_libs, } + +cc_binary { + name: "e2fsck_ramdisk", + stem: "e2fsck", + static_executable: true, + ramdisk: true, + defaults: ["e2fsck-defaults"], + system_shared_libs: [], + static_libs: e2fsck_libs, +} diff --git a/lib/Android.bp b/lib/Android.bp index 77f69da77..d877475a5 100644 --- a/lib/Android.bp +++ b/lib/Android.bp @@ -7,6 +7,7 @@ cc_library_headers { name: "libext2-headers", host_supported: true, vendor_available: true, + ramdisk_available: true, recovery_available: true, target: { windows: { diff --git a/lib/blkid/Android.bp b/lib/blkid/Android.bp index 5a02736aa..ccfdf8b98 100644 --- a/lib/blkid/Android.bp +++ b/lib/blkid/Android.bp @@ -3,6 +3,7 @@ cc_library { name: "libext2_blkid", host_supported: true, + ramdisk_available: true, recovery_available: true, unique_host_soname: true, defaults: ["e2fsprogs-defaults"], diff --git a/lib/e2p/Android.bp b/lib/e2p/Android.bp index d74ba6856..aa09ad060 100644 --- a/lib/e2p/Android.bp +++ b/lib/e2p/Android.bp @@ -3,6 +3,7 @@ cc_library { name: "libext2_e2p", host_supported: true, + ramdisk_available: true, recovery_available: true, unique_host_soname: true, defaults: ["e2fsprogs-defaults"], diff --git a/lib/et/Android.bp b/lib/et/Android.bp index 3414639a7..7df5bf600 100644 --- a/lib/et/Android.bp +++ b/lib/et/Android.bp @@ -3,6 +3,7 @@ cc_library { name: "libext2_com_err", host_supported: true, + ramdisk_available: true, recovery_available: true, unique_host_soname: true, defaults: ["e2fsprogs-defaults"], diff --git a/lib/ext2fs/Android.bp b/lib/ext2fs/Android.bp index 909c4fa89..8a46c025f 100644 --- a/lib/ext2fs/Android.bp +++ b/lib/ext2fs/Android.bp @@ -3,6 +3,7 @@ cc_library { name: "libext2fs", host_supported: true, + ramdisk_available: true, recovery_available: true, unique_host_soname: true, defaults: ["e2fsprogs-defaults"], diff --git a/lib/support/Android.bp b/lib/support/Android.bp index 2bc07b7f8..14f2f2397 100644 --- a/lib/support/Android.bp +++ b/lib/support/Android.bp @@ -3,6 +3,7 @@ cc_library { name: "libext2_quota", host_supported: true, + ramdisk_available: true, recovery_available: true, unique_host_soname: true, defaults: ["e2fsprogs-defaults"], diff --git a/lib/uuid/Android.bp b/lib/uuid/Android.bp index 7d4dfcacc..37b44673f 100644 --- a/lib/uuid/Android.bp +++ b/lib/uuid/Android.bp @@ -3,6 +3,7 @@ cc_library { name: "libext2_uuid", host_supported: true, + ramdisk_available: true, recovery_available: true, vendor_available: true, unique_host_soname: true, -- 2.47.2