aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2018-06-01 12:21:14 +0900
committerJiyong Park <jiyong@google.com>2018-06-01 12:21:14 +0900
commit3792349fcccf5d0575046a83abdd62d7ddbda064 (patch)
treed6371e4780442f40efcbcf0c72e80cb6adb0845d /Android.bp
parent24dafcffac587aaee80348faaafaab29fe76d4cf (diff)
downloadtoybox-3792349fcccf5d0575046a83abdd62d7ddbda064.tar.gz
toybox for recovery partition is built with shared libraries
The recovery mode now supports shared libraries. Therefore, build the recovery variant of toybox as a dynamic executable. Bug: 63673171 Test: `adb reboot recovery; adb devices` shows the device ID Test: `adb shell` works Change-Id: I878cf27ff53c3350f54aaf1053bd984ca685132a
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp10
1 files changed, 1 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index fd1183fb..109f5fef 100644
--- a/Android.bp
+++ b/Android.bp
@@ -425,6 +425,7 @@ cc_binary {
name: "toybox",
defaults: ["toybox-defaults"],
shared_libs: toybox_libraries,
+ recovery_available: true,
}
cc_binary {
@@ -433,12 +434,3 @@ cc_binary {
shared_libs: toybox_libraries,
vendor: true,
}
-
-cc_binary {
- name: "toybox_recovery",
- defaults: ["toybox-defaults"],
- whole_static_libs: toybox_libraries,
- recovery: true,
- stl: "libc++_static",
- static_executable: true,
-}