Dan Albert
3d1d1ead79
Remove support for pre-r13 NDKs.
...
We only have r16 checked in now.
Test: make native
Bug: None
Change-Id: I1600598cf86f803f9fdcf3fa5ada8d1871c98b65
2017-12-15 15:25:06 -08:00
Treehugger Robot
8c2007cf4d
Merge "Create build artifact tradefed-tests_list.zip"
2017-12-15 23:25:01 +00:00
Colin Cross
8220e0165b
Revert "Revert "Support <dir>:<file> for LOCAL_JAVA_RESOURCE_FILES"" am: fcb0d149b4
-s ours
...
am: 0b451358b9
-s ours
Change-Id: Icb3271293cb3d98e65fe166d3b59b05e9cd6b98f
2017-12-15 23:12:39 +00:00
Colin Cross
0b451358b9
Revert "Revert "Support <dir>:<file> for LOCAL_JAVA_RESOURCE_FILES""
...
am: fcb0d149b4
-s ours
Change-Id: Ife7b7c8a6734b6141dfbd12d0891c96754cb87cd
2017-12-15 23:04:21 +00:00
Steven Moreland
ae69e5787a
PRODUCT_NOTICE_SPLIT from PRODUCT_FULL_TREBLE
...
- until PRODUCT_NOTICE_SPLIT is the default
- disallow PRODUCT_NOTICE_SPLIT_OVERRIDE because it
doesn't need to be differentiated.
Bug: 69865032
Test: manual
Change-Id: I4a29c298862fc9fab51755bf19f236f61fbd784d
2017-12-15 14:52:07 -08:00
Tao Bao
5029b5f2e3
Merge "releasetools: Remove the support for generating verify package." am: e2ffc8b887
am: 12fafaccc0
...
am: b1cc1ed1a7
Change-Id: I8a634d3f14c9869c4f1bbfe1499d961a60e64637
2017-12-15 22:13:21 +00:00
Tao Bao
b1cc1ed1a7
Merge "releasetools: Remove the support for generating verify package." am: e2ffc8b887
...
am: 12fafaccc0
Change-Id: I06cf6990379e5e92c33a151bdc6a96ca6fbb7528
2017-12-15 22:08:56 +00:00
Tao Bao
12fafaccc0
Merge "releasetools: Remove the support for generating verify package."
...
am: e2ffc8b887
Change-Id: I246ca42beb66e40a32af6dbfd5da61bcf4963433
2017-12-15 22:06:15 +00:00
Tao Bao
e2ffc8b887
Merge "releasetools: Remove the support for generating verify package."
2017-12-15 22:00:06 +00:00
Dan Albert
6cb1602e1c
Merge "Revert "Default NDK modules to libc++_shared."" am: aec47c67cd
am: 041ea591ae
...
am: b86ff3828a
Change-Id: Iec6c21aa1886eed18738ada67ebfb71b598831d6
2017-12-15 21:57:04 +00:00
Dan Albert
b86ff3828a
Merge "Revert "Default NDK modules to libc++_shared."" am: aec47c67cd
...
am: 041ea591ae
Change-Id: I62e2cdbe3d88a60898140700e410f11592c48415
2017-12-15 21:51:39 +00:00
Dan Albert
041ea591ae
Merge "Revert "Default NDK modules to libc++_shared.""
...
am: aec47c67cd
Change-Id: I87389aaa55fea26377441341c37e7cf5bcf4a71b
2017-12-15 21:46:32 +00:00
Colin Cross
4e34ce054c
Fix swapped certificate and private key in soong apps
...
The .x509.pem file should be in CERTIFICATE, and the .pk8 file
in PRIVATE_KEY.
Bug: 70669383
Test: examine apkcerts.txt
Change-Id: I480f19be2efbbd72ea23ebd681f312b94accfd7a
2017-12-15 13:41:24 -08:00
Colin Cross
75a698b394
Export app implementation and header jars
...
Also fix a missing dependency on the jacoco-report-classes.jar
Test: m checkbuild
Change-Id: I67e924051e1029a409b82f2220811a27d5401db9
2017-12-15 13:41:24 -08:00
Treehugger Robot
aec47c67cd
Merge "Revert "Default NDK modules to libc++_shared.""
2017-12-15 21:39:29 +00:00
Tao Bao
750385e455
releasetools: Use delta_generator to verify payload signatures.
...
We used to take a hard approach by parsing the payload with Python
script. This can be done by calling deleta_generator directly, which
also avoids the dependency on protobuf.
- Passing case
$ ./build/make/tools/releasetools/check_ota_package_signature.py \
build/target/product/security/testkey.x509.pem \
out/dist/aosp_marlin-ota-eng.zip
Package: out/dist/aosp_marlin-ota-eng.zip
Certificate: build/target/product/security/testkey.x509.pem
...
Whole package signature VERIFIED
Verifying A/B OTA payload signatures...
[1215/122842:INFO:generate_delta_main.cc(171)] Verifying signed payload.
[1215/122845:INFO:payload_verifier.cc(93)] signature blob size = 264
[1215/122845:INFO:payload_verifier.cc(112)] Verified correct signature 1 out of 1 signatures.
[1215/122845:INFO:payload_verifier.cc(93)] signature blob size = 264
[1215/122845:INFO:payload_verifier.cc(112)] Verified correct signature 1 out of 1 signatures.
[1215/122845:INFO:generate_delta_main.cc(181)] Done verifying signed payload.
Payload signatures VERIFIED
$ echo $?
0
- Failing case
Sign the whole package file with a different key, but leaving payload entries intact.
$ ./build/make/tools/releasetools/check_ota_package_signature.py \
testkey2.x509.pem \
marlin-ota-mismatching.zip
Package: marlin-ota-mismatching.zip
Certificate: testkey2.x509.pem
...
Whole package signature VERIFIED
Verifying A/B OTA payload signatures...
[1215/123054:INFO:generate_delta_main.cc(171)] Verifying signed payload.
[1215/123056:INFO:payload_verifier.cc(93)] signature blob size = 264
[1215/123056:ERROR:payload_verifier.cc(118)] None of the 1 signatures is correct. Expected:
[1215/123056:INFO:utils.cc(444)] Logging array of length: 256
[1215/123056:INFO:utils.cc(461)] 0x00000000 : 00 01 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
...
[1215/123056:ERROR:payload_verifier.cc(121)] But found decrypted hashes:
[1215/123056:INFO:utils.cc(444)] Logging array of length: 256
[1215/123056:INFO:utils.cc(461)] 0x00000000 : 52 68 78 36 f6 9e cd 2d 5e 9f 31 d5 26 03 c9 aa
...
[1215/123056:ERROR:payload_signer.cc(333)] PayloadVerifier::VerifySignature( signature_blob, public_key_path, payload_hash) failed.
[1215/123056:INFO:generate_delta_main.cc(177)] VerifySignedPayload failed
ERROR: Failed to verify payload with delta_generator: marlin-ota-mismatching.zip
$ echo $?
1
Bug: 65261072
Test: See above.
Change-Id: Id2e065655ec49b80dd2b13c6a859f41913be055b
2017-12-15 12:45:09 -08:00
Steven Moreland
f4cff27f37
Merge "Remove Treble from soong_config.mk" am: b982d8b7ae
am: c4ee99f4ca
...
am: a36a56b101
Change-Id: I3f07ed09d2f4a9ca8a10ce26e0f2ce5240c0ca66
2017-12-15 20:24:56 +00:00
Steven Moreland
a36a56b101
Merge "Remove Treble from soong_config.mk" am: b982d8b7ae
...
am: c4ee99f4ca
Change-Id: I2c5aa73b40e73951b57bfda52382eaeaab756788
2017-12-15 20:19:51 +00:00
Colin Cross
fcb0d149b4
Revert "Revert "Support <dir>:<file> for LOCAL_JAVA_RESOURCE_FILES""
...
This reverts commit 15a2fa21a8
.
This reapplies I83f3d45bdd156200308dc7ed0e0fea5d895d37a6 without
the error on absolute paths if they are in $(OUT_DIR).
BUG: 68305853
Test: OUT_DIR=/tmp/out mmma -j art/tools/ahat
Change-Id: Ia0b156d21ba4b95eb3004d61f6fae2f4341fd39c
Merged-In: Ia0b156d21ba4b95eb3004d61f6fae2f4341fd39c
2017-12-15 20:19:38 +00:00
Steven Moreland
c4ee99f4ca
Merge "Remove Treble from soong_config.mk"
...
am: b982d8b7ae
Change-Id: I50c9400d9fb620d509304af58fc908fe2099e870
2017-12-15 20:14:44 +00:00
Treehugger Robot
b982d8b7ae
Merge "Remove Treble from soong_config.mk"
2017-12-15 20:07:21 +00:00
Dan Albert
37099686c0
Revert "Default NDK modules to libc++_shared."
...
This reverts commit 6168f5baf1
.
Reason for revert: http://b/70718590
Change-Id: I3e7afe3d1642260c2b5103cb07c636b0b5d72379
2017-12-15 20:01:03 +00:00
Joe Onorato
08e1f778a1
Merge "When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime." am: fa839296ea
am: 3f443418f7
-s ours
...
am: b1eab6100d
-s ours
Change-Id: I67c6607c6b6e3b0a75e0d0302fed193e4dd76a54
2017-12-15 19:59:05 +00:00
Joe Onorato
b1eab6100d
Merge "When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime." am: fa839296ea
...
am: 3f443418f7
-s ours
Change-Id: I920d8c41d293b19936946d91d0c78fc72c71b0ad
2017-12-15 19:53:18 +00:00
Joe Onorato
3f443418f7
Merge "When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime."
...
am: fa839296ea
Change-Id: Ibc8c2d2236d0b8cc1d77f741784a323171a07db5
2017-12-15 19:47:17 +00:00
Joe Onorato
fa839296ea
Merge "When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime."
2017-12-15 19:39:46 +00:00
Bo Hu
5c0d494425
Merge "emulator: disable location service" am: d9ee7467fd
am: 02ade23601
...
am: 3c3992fbb3
-s ours
Change-Id: Ia506913fc05983304f76eff96f9ad35b1b1912e0
2017-12-15 19:28:42 +00:00
Bo Hu
3c3992fbb3
Merge "emulator: disable location service" am: d9ee7467fd
...
am: 02ade23601
Change-Id: Ida38d9bc82d6e61cc3bc6db5550bfb084012ccfd
2017-12-15 19:26:08 +00:00
Bo Hu
02ade23601
Merge "emulator: disable location service"
...
am: d9ee7467fd
Change-Id: Ic4ff286f53ebba8fd295d825361b8cc0fc4547d6
2017-12-15 19:22:07 +00:00
Yifan Hong
1947f5576a
Merge changes from topic "fcm_version" am: b1b5a0969b
am: 5ac5e6b757
...
am: 23373452d4
-s ours
Change-Id: Iab965a39b327dc8f3044a04d2070943310195c45
2017-12-15 19:18:35 +00:00
Bo Hu
d9ee7467fd
Merge "emulator: disable location service"
2017-12-15 19:14:20 +00:00
Yifan Hong
23373452d4
Merge changes from topic "fcm_version" am: b1b5a0969b
...
am: 5ac5e6b757
Change-Id: I5e11aa05336756b2756cb19ae8fec94ca696c2c9
2017-12-15 19:13:04 +00:00
Yifan Hong
5ac5e6b757
Merge changes from topic "fcm_version"
...
am: b1b5a0969b
Change-Id: I5f5471a58dd5d309c7b446d0ae3910993d47e239
2017-12-15 19:05:07 +00:00
Yifan Hong
f663d1ca4d
Merge "Rename VINTF XML module names" am: d8d276c5a6
am: fcdf772f67
...
am: d2c5a38dcb
Change-Id: I330b9c4aa322cf27ba4645c3d9a57859cb5f8ae8
2017-12-15 19:00:02 +00:00
Yifan Hong
b1b5a0969b
Merge changes from topic "fcm_version"
...
* changes:
Move fwk comp mat level logic into assemble_vintf
PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE is deprecated.
2017-12-15 18:58:34 +00:00
Yifan Hong
d2c5a38dcb
Merge "Rename VINTF XML module names" am: d8d276c5a6
...
am: fcdf772f67
Change-Id: Ic16692b74336cf7019b022b83c88921c756a0fe7
2017-12-15 18:57:28 +00:00
Yifan Hong
fcdf772f67
Merge "Rename VINTF XML module names"
...
am: d8d276c5a6
Change-Id: If375ca187bffd24b7534e84d513c89a756be2b67
2017-12-15 18:53:52 +00:00
Treehugger Robot
d8d276c5a6
Merge "Rename VINTF XML module names"
2017-12-15 18:46:20 +00:00
TreeHugger Robot
0adda3d526
Merge "emulator: disable location service"
2017-12-15 18:31:35 +00:00
Steven Moreland
60b0f06d9b
Remove Treble from soong_config.mk
...
This variable has been broken up into smaller components.
Bug: 62019611
Test: nothing uses it
Change-Id: Ic985e42179df24a43d9a0d0047a31ecd3bf35ec7
2017-12-15 10:26:52 -08:00
Tao Bao
0c6a414fff
releasetools: Remove the support for generating verify package.
...
We used to have "--gen_verify" that would generate a verify package for
non-A/B devices. Since a) we don't have active users; b) it works with
non-A/B only; c) we have better alternatives (e.g. using fastboot to
compute the partition checksum), this CL removes the support.
Test: `m dist`
Change-Id: Ib4a2c8c2a0394b54e66c106089aa52a0b900f034
2017-12-15 10:20:52 -08:00
Steven Moreland
e282e55911
Merge "Expose Treble requirement variables in Soong." am: 4b7ab33f4e
am: 3b6bec05b2
...
am: 7c78b36d96
Change-Id: Iabed2cfe2c0f204c0be27ce09ebd101899e1e79a
2017-12-15 17:57:08 +00:00
Steven Moreland
7c78b36d96
Merge "Expose Treble requirement variables in Soong." am: 4b7ab33f4e
...
am: 3b6bec05b2
Change-Id: Ib059e3fe14412178dde620d15f814021bb5cd5f5
2017-12-15 17:51:12 +00:00
Steven Moreland
3b6bec05b2
Merge "Expose Treble requirement variables in Soong."
...
am: 4b7ab33f4e
Change-Id: If46731ff8cab13b209869c0f8f315239a39cf837
2017-12-15 17:45:43 +00:00
Treehugger Robot
4b7ab33f4e
Merge "Expose Treble requirement variables in Soong."
2017-12-15 17:41:28 +00:00
Tao Bao
386bec6f65
Merge "releasetools: Add common.ZipDelete()." am: 23f7ea9e70
am: 2bc1b967c1
...
am: 30e4e2d154
Change-Id: I2f11543a64aba731335756ae3cf7142d21e3ae76
2017-12-15 16:48:30 +00:00
Tao Bao
30e4e2d154
Merge "releasetools: Add common.ZipDelete()." am: 23f7ea9e70
...
am: 2bc1b967c1
Change-Id: I83f428a689f970b6df5ee332115a8f5ee51b4fd1
2017-12-15 16:45:25 +00:00
Tao Bao
2bc1b967c1
Merge "releasetools: Add common.ZipDelete()."
...
am: 23f7ea9e70
Change-Id: I3a7d811a3b7589d324168c0c6afaf62438fda5b5
2017-12-15 16:42:50 +00:00
Joe Onorato
bfc7811441
When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime.
...
With LOCAL_PROTO_OPTIMIZE_TYPE set to one of the lite variants, the build system thinks
the proto should be compiled with lite, and will link in the line runtime libs. But if
the .proto files don't contain the directive to compile the source as lite
(option optimize_for = LITE_RUNTIME;), then the generated code will be full and the
libraries will be full, and it won't link.
Test: make
Merged-In: Ib8a135218d62fa42fa6448c49c97f7aeb2755c42
Change-Id: Ib8a135218d62fa42fa6448c49c97f7aeb2755c42
2017-12-15 08:40:48 -08:00
Tao Bao
23f7ea9e70
Merge "releasetools: Add common.ZipDelete()."
2017-12-15 16:36:55 +00:00