commit | 696692a3c9fe4bd8879f98f3e85341303f85afd5 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Tue Feb 02 16:01:23 2016 +0800 |
committer | Sen Jiang <senj@google.com> | Tue Feb 09 15:26:57 2016 -0800 |
tree | d01dfa7f2b65b703ab83fc9e47fed61e67f97d85 | |
parent | c213a7c1d1eb0c6ab9bbe08c7375e8814a59a3ac [diff] |
applypatch: Add a Makefile to build imgdiff in Chrome OS. Also fixed some warnings and added check for target_len. Test: mma; emerge-peppy imgdiff; emerge-nyan imgdiff; sudo emerge imgdiff Bug: 26866274 Change-Id: Ifbcd3afd6701c769ccf626e33ed94461706f7ee6
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