commit | d80a99883d5ae2b117c54f076fe1df7eae86d2f8 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Mar 03 11:43:47 2016 -0800 |
committer | Tao Bao <tbao@google.com> | Thu Mar 03 14:52:44 2016 -0800 |
tree | 14a10ad17192f2a7ead609af81d2445d80ed117f | |
parent | 5ffc038be6cffd9155fce4f2212ff351415ee7ba [diff] |
Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES. If two libraries both use LOCAL_WHOLE_STATIC_LIBRARIES and include a same library, there would be linking errors when generating a shared library (or executable) that depends on the two libraries both. Also clean up Android.mk files. Remove the "LOCAL_MODULE_TAGS := eng" line for the updater module. The module will then default to "optional" which won't be built until needed. Change-Id: I3ec227109b8aa744b7568e7f82f575aae3fe0e6f
mm -j && m ramdisk-nodeps && m recoveryimage-nodeps # To boot into the new recovery image # without flashing the recovery partition: adb reboot bootloader fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
# After setting up environment and lunch. mmma -j bootable/recovery # Running the tests on device. adb root adb sync data # 32-bit device adb shell /data/nativetest/recovery_unit_test/recovery_unit_test adb shell /data/nativetest/recovery_component_test/recovery_component_test # Or 64-bit device adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test adb shell /data/nativetest64/recovery_component_test/recovery_component_test