summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-04-08 09:26:24 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-04-08 09:26:24 +0200
commit0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715 (patch)
tree312c28b05877b2a8e678c6c8532a56df2c601703
parentSnap for 4701683 from 848f227eea524a48208bdd4181f90fb63a31ed2b to pi-release (diff)
parentMerge "Use non-LTO variant of libhwbinder" into pi-dev (diff)
downloadandroid_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.gz
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.bz2
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.lz
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.xz
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.tar.zst
android_bootable_recovery-0a968d2f62c9cf6ca6a8cd6d8d51fd550dfce715.zip
-rw-r--r--Android.mk2
-rw-r--r--updater/install.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 461ad9449..4f7ced268 100644
--- a/Android.mk
+++ b/Android.mk
@@ -156,7 +156,7 @@ LOCAL_STATIC_LIBRARIES := \
libhealthstoragedefault \
libhidltransport \
libhidlbase \
- libhwbinder \
+ libhwbinder_nolto \
libvndksupport \
libbatterymonitor
diff --git a/updater/install.cpp b/updater/install.cpp
index 2b6c20fe3..6732ab897 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -548,6 +548,8 @@ Value* FormatFn(const char* name, State* state, const std::vector<std::unique_pt
"encrypt",
"-O",
"quota",
+ "-w",
+ "512",
location.c_str(),
(size < 512) ? nullptr : num_sectors.c_str(),
nullptr };