Alex Deymo
91707a0be8
Merge changes from topic 'nyc-mr1-ue_sideload_recovery' into nyc-mr1-dev
...
am: cb69ac6c65
Change-Id: I100148875767323245ca6cfb44efec83efc7cea9
2016-08-12 18:07:28 +00:00
Alex Deymo
38f6f76f05
Replace OTA sideload verification key when signing A/B devices.
...
am: 95cc84a785
Change-Id: I70a1865f8d805ea325de8847f94f3d1d6d8216c0
2016-08-12 18:07:00 +00:00
Alex Deymo
3f80f566b5
Install the update-payload-key in the recovery image as well.
...
am: 5134712d6f
Change-Id: Ieeba830929c27a129efbefaec100c752c1d6c84b
2016-08-12 18:06:51 +00:00
Tianjie Xu
bf5e3d168d
Merge "Replace META/care_map.txt when signing target files"
...
am: 7b11cacbba
Change-Id: Ia8e888a0f330d00f6518e352356ca480819586db
2016-08-12 18:06:41 +00:00
Tianjie Xu
7b11cacbba
Merge "Replace META/care_map.txt when signing target files"
2016-08-12 18:01:56 +00:00
Alex Deymo
cb69ac6c65
Merge changes from topic 'nyc-mr1-ue_sideload_recovery' into nyc-mr1-dev
...
* changes:
Replace OTA sideload verification key when signing A/B devices.
Install the update-payload-key in the recovery image as well.
2016-08-12 17:59:56 +00:00
Dan Willemsen
53e3899222
Fix GET-INSTALL-PATH to work with Soong
...
This was printing all of the Soong modules in addition to the modules
defined in the ONE_SHOT_MAKEFILE. So replicate what we did with
MODULES-IN-* with GET-INSTALL-PATH-IN-* and update all the users.
Bug: 30191725
Change-Id: Ib1e4bf00f64d7a3e8cd91f44eaf1ff82fdfbf162
2016-08-12 05:10:51 +00:00
Tianjie Xu
4f09900e67
Replace META/care_map.txt when signing target files
...
Do not copy the "META/care_map.txt" from the source zipfile when
signing the target files with sign_target_files_apks. Because we'll
generate a new care_map after rebuilding the system/vendor images;
and we'll write the new "META/care_map.txt" to the signed-target-file.
Change-Id: I6919cfdf8314a4084b5f612a9c89469f391486a4
Test: Run sign_target_files_apks locally, and the entry is updated.
Bug: 30812253
2016-08-11 18:04:27 -07:00
Colin Cross
94219ae942
Merge "Fix discrepancy in SANITIZE_TARGET format with soong." am: 0d86fc57cd
am: 0216097482
...
am: b8c54d7966
Change-Id: I89855ef8608e91b3ee046b237cc531ab7ab7d78e
2016-08-12 00:10:29 +00:00
Colin Cross
b8c54d7966
Merge "Fix discrepancy in SANITIZE_TARGET format with soong." am: 0d86fc57cd
...
am: 0216097482
Change-Id: Ia45aaf2ac6e36b3d960d97a65ecccd7ca6da83d3
2016-08-12 00:06:25 +00:00
Colin Cross
0216097482
Merge "Fix discrepancy in SANITIZE_TARGET format with soong."
...
am: 0d86fc57cd
Change-Id: Ib643a2d9682eabd494f40a0d5b7fbaeb42583d30
2016-08-12 00:04:38 +00:00
Colin Cross
0d86fc57cd
Merge "Fix discrepancy in SANITIZE_TARGET format with soong."
2016-08-11 23:53:29 +00:00
Adam Seaton
3346f2d039
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
am: fdf4c8d8a6
am: 21b4d9e01c
am: 1f85078b1e
am: 782967785e
am: 831bee139d
...
am: 2141e6de1a
Change-Id: I03f2a54c52c4dc8dfc5113c90ffe45c5fd5fdc0a
2016-08-11 22:01:51 +00:00
Adam Seaton
2141e6de1a
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
am: fdf4c8d8a6
am: 21b4d9e01c
am: 1f85078b1e
am: 782967785e
...
am: 831bee139d
Change-Id: I7e945fff51f6247d4be73434c3175211604e9495
2016-08-11 21:59:04 +00:00
Adam Seaton
bd18f04bd3
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
am: fdf4c8d8a6
am: 21b4d9e01c
am: 1f85078b1e
am: 782967785e
...
am: 7171325d0b
Change-Id: I114a7c8b86cdddbe1333ceb8ac7668c3ae0b8d10
2016-08-11 21:58:46 +00:00
Adam Seaton
831bee139d
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
am: fdf4c8d8a6
am: 21b4d9e01c
am: 1f85078b1e
...
am: 782967785e
Change-Id: Ic5565af400aa3d3c245d5ab25d65a6244a46907d
2016-08-11 21:55:18 +00:00
Adam Seaton
7171325d0b
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
am: fdf4c8d8a6
am: 21b4d9e01c
am: 1f85078b1e
...
am: 782967785e
Change-Id: Ia8cb06a26fc6856a85bbd3d6266eb41034bd600a
2016-08-11 21:55:18 +00:00
Adam Seaton
782967785e
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
am: fdf4c8d8a6
am: 21b4d9e01c
...
am: 1f85078b1e
Change-Id: Id8709a33bf19fb106341a8aed5f2978adf91a7ef
2016-08-11 21:51:46 +00:00
Adam Seaton
1f85078b1e
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
am: fdf4c8d8a6
...
am: 21b4d9e01c
Change-Id: I24dd917aef85ca2bb36b310ed97e57fbedac4558
2016-08-11 21:48:46 +00:00
Adam Seaton
21b4d9e01c
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ) am: fa721839b2
...
am: fdf4c8d8a6
Change-Id: I5ad798a99ea890bff77c9cd579a72e3794df92e0
2016-08-11 21:45:16 +00:00
Adam Seaton
fdf4c8d8a6
Update Security String to 2016-09-06 to platform and CTS for September Security (+Quadrooter,-PZ)
...
am: fa721839b2
Change-Id: Iff74354f3540185eff4ae1b44600f5d00e1029cd
2016-08-11 21:41:45 +00:00
Tao Bao
b73aa507b7
releasetools: Update the path to /default.prop for A/B devices. am: 145cb2eaef
...
am: 69065ee7fb
Change-Id: Icb9c323e87c4c6f1ae946133f824b330e4c52ced
2016-08-11 21:09:13 +00:00
Tao Bao
69065ee7fb
releasetools: Update the path to /default.prop for A/B devices.
...
am: 145cb2eaef
Change-Id: I8509b6c47a38faff2f5e357603771f8e5a3c557d
2016-08-11 21:02:17 +00:00
Tao Bao
6a0451f4e1
Merge "releasetools: Update the path to /default.prop for A/B devices." am: 6d64ff1bf7
am: 6eb5564025
...
am: cd6ce6182b
Change-Id: I53fffa12f748ebf97462cd0f5bc70d4478e027d5
2016-08-11 20:49:12 +00:00
Tao Bao
cd6ce6182b
Merge "releasetools: Update the path to /default.prop for A/B devices." am: 6d64ff1bf7
...
am: 6eb5564025
Change-Id: Icd75b3de56e129cc932445b9ec5a00e0ec8525b6
2016-08-11 20:45:46 +00:00
Tao Bao
6eb5564025
Merge "releasetools: Update the path to /default.prop for A/B devices."
...
am: 6d64ff1bf7
Change-Id: I1deeff5d22454c1fae5b450dbf2e6a35ffbc6227
2016-08-11 20:42:34 +00:00
Tao Bao
145cb2eaef
releasetools: Update the path to /default.prop for A/B devices.
...
On A/B devices (i.e. system_root_image="true"), /default.prop is
packaged at ROOT/default.prop (as opposed to BOOT/RAMDISK/default.prop
for non-A/B devices). Update the path so that we handle properties like
ro.bootimage.build.fingerprint properly.
The one for recovery is not affected, which stays at
BOOT/RAMDISK/default.prop for A/B devices and gets updated correctly.
Bug: 30811237
Test: Verify the property in the generated signed-TF.zip.
Change-Id: Id201a042d7ea988a64f89c6d04f43326a9851e27
(cherry picked from commit 28e2fa1726
)
2016-08-11 13:40:59 -07:00
Tao Bao
6d64ff1bf7
Merge "releasetools: Update the path to /default.prop for A/B devices."
2016-08-11 20:39:31 +00:00
Dan Willemsen
d479b69c0e
Merge "Use soong_zip and zip2zip to make dist faster" am: 6dcdb45485
am: 96963dfd4d
...
am: 592cfc1859
Change-Id: Id9a60ebbd282026ab7a0ff5bc85757a5c545ffb7
2016-08-11 19:40:10 +00:00
Adam Seaton
fa721839b2
Update Security String to 2016-09-06 to platform and CTS for September
...
Security (+Quadrooter,-PZ)
Change-Id: I248efb2cbd877b4954994077df0f90adcf332f4a
2016-08-11 12:39:25 -07:00
Dan Willemsen
592cfc1859
Merge "Use soong_zip and zip2zip to make dist faster" am: 6dcdb45485
...
am: 96963dfd4d
Change-Id: I0f19fc1908f84da6f602564d57256423b108bf16
2016-08-11 19:36:44 +00:00
Dan Willemsen
96963dfd4d
Merge "Use soong_zip and zip2zip to make dist faster"
...
am: 6dcdb45485
Change-Id: I9a4241b436f7dead5de7b02d3af56004b1eed42f
2016-08-11 19:33:10 +00:00
Treehugger Robot
6dcdb45485
Merge "Use soong_zip and zip2zip to make dist faster"
2016-08-11 19:28:14 +00:00
Tao Bao
28e2fa1726
releasetools: Update the path to /default.prop for A/B devices.
...
On A/B devices (i.e. system_root_image="true"), /default.prop is
packaged at ROOT/default.prop (as opposed to BOOT/RAMDISK/default.prop
for non-A/B devices). Update the path so that we handle properties like
ro.bootimage.build.fingerprint properly.
The one for recovery is not affected, which stays at
BOOT/RAMDISK/default.prop for A/B devices and gets updated correctly.
Bug: 30811237
Test: Verify the property in the generated signed-TF.zip.
Change-Id: Id201a042d7ea988a64f89c6d04f43326a9851e27
2016-08-11 11:28:51 -07:00
Dan Albert
072cfe202e
Merge "Add support for NDK r13." am: 287093a98c
am: ae49ab2f0f
...
am: 56745f6c7b
Change-Id: If8145c8aa89545aa4668afc7f1e4d8577b36b6d5
2016-08-11 16:59:52 +00:00
Dan Albert
56745f6c7b
Merge "Add support for NDK r13." am: 287093a98c
...
am: ae49ab2f0f
Change-Id: Ie8530ae07fb60b2dd15d2d88cecf9fad1458a337
2016-08-11 16:56:10 +00:00
Dan Albert
ae49ab2f0f
Merge "Add support for NDK r13."
...
am: 287093a98c
Change-Id: I8e10422cdd20d3ee0402acabbdbe60a41ba59901
2016-08-11 16:52:52 +00:00
Dan Albert
287093a98c
Merge "Add support for NDK r13."
2016-08-11 16:46:34 +00:00
Dan Willemsen
5e29cad1d5
Use soong_zip and zip2zip to make dist faster
...
soong_zip parallelizes the compression when creating a zip file, which
makes these packaging steps far shorter.
zip2zip skips the decompression and recompression during the -img- file
creation.
For an aosp_arm64-eng aosp/master build:
target_files.zip: 92s to 60s
symbols.zip: 147s to 7s
img.zip: 64s to 0.5s
There's still room to parallelize the image compression during
target_files.zip (add_img_to_target_files step takes most of the time)
Change-Id: I7b6a91e4a7dbeda2e49ca936b10181cff2f973d7
2016-08-10 16:13:58 -07:00
Dan Albert
0960770e0d
Add support for NDK r13.
...
Test: make checkbuild
Change-Id: I4521c768c67771cee9df9e59ed45344c40c48a38
2016-08-10 16:05:19 -07:00
Alex Deymo
95cc84a785
Replace OTA sideload verification key when signing A/B devices.
...
The update-payload-key is used by update_engine_sideload from recovery
to verify an update payload.
Bug: 27178350
(cherry picked from commit b3e8ce6d1d
)
Change-Id: Iac239732251e550e9966bf284b68bc9d578f22ff
2016-08-10 11:10:24 -07:00
Alex Deymo
5134712d6f
Install the update-payload-key in the recovery image as well.
...
The update-payload-key is required to verify the contents of the OTA in
recovery while sideloading an update.
Bug: 27178350
TEST=`make` builds a boot.img with the payload key in recovery.
(cherry picked from commit c6ebe9fcd7
)
Change-Id: I0128d7f684d32201e227acce798b25f12982eaaa
2016-08-10 11:10:11 -07:00
Alex Deymo
e8fbea342f
Merge changes from topic 'ab_sideload' am: 3750ed3e17
am: 93ff77ad1a
...
am: 820bc82bed
Change-Id: I0dcac2e3cdbc3114a88d7ca49054a15bd9ccb292
2016-08-10 05:07:24 +00:00
Alex Deymo
820bc82bed
Merge changes from topic 'ab_sideload' am: 3750ed3e17
...
am: 93ff77ad1a
Change-Id: Idbe285c05dfb9b4b6252ef87a3066f8a41f13044
2016-08-10 05:04:23 +00:00
Alex Deymo
93ff77ad1a
Merge changes from topic 'ab_sideload'
...
am: 3750ed3e17
Change-Id: I4afbecc40068c7a87c7532b22a404319c24e2c05
2016-08-10 05:00:57 +00:00
Alex Deymo
3750ed3e17
Merge changes from topic 'ab_sideload'
...
* changes:
Replace OTA sideload verification key when signing A/B devices.
Install the update-payload-key in the recovery image as well.
2016-08-10 03:55:24 +00:00
Ian Pedowitz
d0528b4463
N-DR/N-MR1 is 7.1
...
Bug: 30734691
Change-Id: I20a4e705ad972bbf24fb0aab65ab410c11496199
2016-08-09 16:44:23 -07:00
Nick Desaulniers
07522023f8
Merge "build: sign boot.img based on BOARD_USES_RECOVERY_AS_BOOT" into nyc-mr1-dev am: 9b9520018b
...
am: 92f2a8032b
Change-Id: Id1818c5e01f5eb0c4a5b0ce6fce05ecee9cdc4dc
2016-08-09 20:58:25 +00:00
Nick Desaulniers
f4d5aff88b
build: sign boot.img based on BOARD_USES_RECOVERY_AS_BOOT am: d491fcf438
...
am: 92579193db
Change-Id: I96bb57fb5e2e35a7f3fdfc4e38a93a2ea9d4f558
2016-08-09 20:58:25 +00:00
Nick Desaulniers
92f2a8032b
Merge "build: sign boot.img based on BOARD_USES_RECOVERY_AS_BOOT" into nyc-mr1-dev
...
am: 9b9520018b
Change-Id: I66059469ee8223dcceb82a18ad3e2287ebcbb11d
2016-08-09 20:55:20 +00:00