commit | ef2016f711eaef6c22d177a12d335055556ea3a0 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Tue Mar 08 14:27:14 2016 -0800 |
committer | Sen Jiang <senj@google.com> | Tue Mar 08 17:02:50 2016 -0800 |
tree | 1cc35f0e097a3dc974d065042b5c869a05bcb6ed | |
parent | 5ffc038be6cffd9155fce4f2212ff351415ee7ba [diff] |
applypatch: add -fPIC for libimgpatch in Chrome OS. To make the static library position independent. Bug: 26866274 Test: emerge-peppy imgdiff; sudo emerge imgdiff; emerge nyan imgdiff Change-Id: I319e721ccfb6a51f63d31afa49f54aa7f607f4bf
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