commit | 8b309f6970ab3b7c53cc529c51a2cb44e1c7a7e1 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Jun 24 18:22:02 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Oct 18 11:37:05 2016 -0700 |
tree | 75e9a712d25b278d7bb100453ebb1ca41da950c0 | |
parent | 6fba98ce645bb00b4fa7f03dd1786566af919d78 [diff] |
Create bootloader_message static library. bootloader_messages merges bootloader_message_writer and bootloader.cpp, so we can use the same library to manage bootloader_message in normal boot and recovery mode. Bug: 29582118 Change-Id: I9efdf776ef8f02b53911ff43a518e035e0c29618 (cherry picked from commit 2f272c0551f984e83bc5abaf240e0dddb38a3326)
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