diff options
author | Jiyong Park <jiyong@google.com> | 2018-06-01 12:21:14 +0900 |
---|---|---|
committer | Jiyong Park <jiyong@google.com> | 2018-06-01 12:21:14 +0900 |
commit | 3792349fcccf5d0575046a83abdd62d7ddbda064 (patch) | |
tree | d6371e4780442f40efcbcf0c72e80cb6adb0845d /Android.bp | |
parent | 24dafcffac587aaee80348faaafaab29fe76d4cf (diff) | |
download | toybox-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.bp | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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, -} |