aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-01-21 16:44:20 -0800
committerTheodore Ts'o <tytso@mit.edu>2020-03-20 23:11:15 -0400
commita431f19f0ec42892b43f20c5309fb12b5c8171c3 (patch)
tree2f50667552776ac8c95ddbb4cd68a9e0749168d1
parent48353695468f8a514c3ba4f786aab287e843592a (diff)
downloade2fsprogs-a431f19f0ec42892b43f20c5309fb12b5c8171c3.tar.gz
AOSP: Make ramdisk_available.
Test: pass Bug: 147347110 Change-Id: Ie800ba1b56773dcc1b6563c4f19c27eccb9ffc1a From AOSP commit: f5a8e8fdefd78deae971a475a7fa43734eef205e
-rw-r--r--e2fsck/Android.bp10
-rw-r--r--lib/Android.bp1
-rw-r--r--lib/blkid/Android.bp1
-rw-r--r--lib/e2p/Android.bp1
-rw-r--r--lib/et/Android.bp1
-rw-r--r--lib/ext2fs/Android.bp1
-rw-r--r--lib/support/Android.bp1
-rw-r--r--lib/uuid/Android.bp1
8 files changed, 17 insertions, 0 deletions
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,