From: Yifan Hong Date: Wed, 22 Jan 2020 00:44:20 +0000 (-0800) Subject: AOSP: Make ramdisk_available. X-Git-Tag: v1.45.6~7 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a431f19f0ec42892b43f20c5309fb12b5c8171c3;p=tools%2Fe2fsprogs.git AOSP: Make ramdisk_available. Test: pass Bug: 147347110 Change-Id: Ie800ba1b56773dcc1b6563c4f19c27eccb9ffc1a From AOSP commit: f5a8e8fdefd78deae971a475a7fa43734eef205e --- diff --git a/e2fsck/Android.bp b/e2fsck/Android.bp index f344312..d4326e5 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 77f69da..d877475 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 5a02736..ccfdf8b 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 d74ba68..aa09ad0 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 3414639..7df5bf6 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 909c4fa..8a46c02 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 2bc07b7..14f2f23 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 7d4dfca..37b4467 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,