Commit Graph

41269 Commits

Author SHA1 Message Date
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
Tao Bao
23f7ea9e70 Merge "releasetools: Add common.ZipDelete()." 2017-12-15 16:36:55 +00:00
Søren Gjesse
db48a0fccc Merge "Revert "Enable R8 by default (second attempt)"" am: adcd4c761d
am: a2e6d78ce6

Change-Id: I2c44fd88ff47eacd0f3696624484f866b0122357
2017-12-15 15:39:16 +00:00
Søren Gjesse
a2e6d78ce6 Merge "Revert "Enable R8 by default (second attempt)""
am: adcd4c761d

Change-Id: Ifa538a0985548e5188601045131022ecfe50bcf8
2017-12-15 15:33:08 +00:00
Søren Gjesse
adcd4c761d Merge "Revert "Enable R8 by default (second attempt)"" 2017-12-15 15:27:16 +00:00
Søren Gjesse
cd13676221 Revert "Enable R8 by default (second attempt)"
This reverts commit f2a697725c.

Reason for revert: b/70710434

Change-Id: Ia6d42e4c2fc7e7a4ca67d42d7aaa57ab95c2cc9a
2017-12-15 15:18:57 +00:00
Søren Gjesse
529d047513 Merge "Enable R8 by default (second attempt)" am: 837408b4ca
am: f692713515

Change-Id: I11ce3614226ced16b0e8d335e2e394e0c22f3501
2017-12-15 11:15:28 +00:00
Søren Gjesse
f692713515 Merge "Enable R8 by default (second attempt)"
am: 837408b4ca

Change-Id: I1fb287f61cedbf1875c57b1d821b1179141bf950
2017-12-15 11:10:26 +00:00
Søren Gjesse
837408b4ca Merge "Enable R8 by default (second attempt)" 2017-12-15 11:05:25 +00:00
TreeHugger Robot
85dcb56652 Merge "When compiling with the lite protobuf option, pass the option to aprotoc to force the lite runtime." into oc-mr1-dev-plus-aosp 2017-12-15 05:35:56 +00:00
Joe Onorato
3de3a74659 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-14 19:58:43 -08:00
Dan Albert
9bd305948d Merge "Default NDK modules to libc++_shared." am: 587ced4a80
am: 1316e40597

Change-Id: Ibb40392071cfba45b1a20b07c73762111841a77d
2017-12-15 02:39:12 +00:00
Dan Albert
1316e40597 Merge "Default NDK modules to libc++_shared."
am: 587ced4a80

Change-Id: I704594e8b8980747d30b7d45b3189d37ec729422
2017-12-15 02:36:34 +00:00
Treehugger Robot
587ced4a80 Merge "Default NDK modules to libc++_shared." 2017-12-15 02:29:58 +00:00
Tao Bao
89d7ab23e8 releasetools: Add common.ZipDelete().
We have been shelling out to 'zip -d' to delete existing ZIP entries in
add_img_to_target_files.py. This CL moves the function into common.py,
and calls that for the similar work in ota_from_target_files.py. This CL
also adds unittests for the newly added function.

Test: `m dist`
Test: python -m unittest test_common
Test: ota_from_target_files.py generates identical packages w/ and w/o
      the CL (so we know the streaming property computation is intact).
Test: Run 'add_img_to_target_files.py -a' that triggers a call to
      ReplaceUpdatedFiles().
Change-Id: Icaa6c3ea3ee2166023f78fa79275295f837ea842
2017-12-14 17:17:04 -08:00
Dan Albert
6168f5baf1 Default NDK modules to libc++_shared.
Test: make native
Bug: None
Change-Id: I9ca2313c2082e9841a20e240ffca84219a419d49
2017-12-14 14:45:33 -08:00
Colin Cross
e29acfd7f9 Merge "Add Soong modules to apkcerts" am: c212517c9b
am: f202d3f0c2

Change-Id: If7747c7cb3907a531e128cbb476ff0b88dc5c7f7
2017-12-14 22:30:52 +00:00
Tao Bao
4e71a6caff Merge "releasetools: Remove '-w' from ota_from_target_files options." am: 78b5724622
am: 8baa6d4dcd

Change-Id: Ifb3e88d45e985cb20ef8b8cf763bb3c2b834ac0c
2017-12-14 22:28:22 +00:00
Colin Cross
f202d3f0c2 Merge "Add Soong modules to apkcerts"
am: c212517c9b

Change-Id: Ifb3ae2be0a6f801d56ccb9ff971cabf9cb4e4dd9
2017-12-14 22:26:40 +00:00
Tao Bao
8baa6d4dcd Merge "releasetools: Remove '-w' from ota_from_target_files options."
am: 78b5724622

Change-Id: I32782d498643a8e15141f28443268a7191c60a59
2017-12-14 22:24:45 +00:00
Colin Cross
c212517c9b Merge "Add Soong modules to apkcerts" 2017-12-14 22:20:08 +00:00
Treehugger Robot
78b5724622 Merge "releasetools: Remove '-w' from ota_from_target_files options." 2017-12-14 22:18:56 +00:00
Søren Gjesse
f2a697725c Enable R8 by default (second attempt)
Test: m -j PRODUCT-aosp_x86-userdebug
Test: Check that some .vdex files built have R8 generated code
Change-Id: I06903dc30c802bbcffd6992c3c25a1b711a5875c
2017-12-14 22:24:48 +01:00
Colin Cross
aec3640560 Add Soong modules to apkcerts
Bug: 70669383
Test: m apkcerts-list contains framework-res
Change-Id: I00c5c5d9e7311bbe4f16bf48407dd0efa242c7aa
2017-12-14 12:29:30 -08:00
Adam Seaton
c153a4b793 [DO NOT MERGE] Update security string to 2018-02-05 for oc-mr1-dev bug:70348883 am: fb5f3b5add am: 9e67329b15
am: e34617a4cc

Change-Id: I1faf5d1a8d1e2aeb35f6230f890cf74ef9651980
2017-12-14 20:17:12 +00:00
Adam Seaton
e34617a4cc [DO NOT MERGE] Update security string to 2018-02-05 for oc-mr1-dev bug:70348883 am: fb5f3b5add
am: 9e67329b15

Change-Id: Ica0fc60b65b6bef7dd72de40c56e9fbdef2e2e64
2017-12-14 20:13:44 +00:00
Adam Seaton
9e67329b15 [DO NOT MERGE] Update security string to 2018-02-05 for oc-mr1-dev bug:70348883
am: fb5f3b5add

Change-Id: Ic0f372df927167d890bf29554bc737a6c4aa2b1b
2017-12-14 20:08:30 +00:00
Adam Seaton
fb5f3b5add [DO NOT MERGE] Update security string to 2018-02-05 for oc-mr1-dev
bug:70348883

Change-Id: I3e6a87e66cd2c113d2f8fc0e9572b0a2744a6515
2017-12-14 17:30:59 +00:00
Adam Seaton
577d9eddc0 Merge "[DO NOT MERGE] Update security string to 2018-02-01 for oc-dev bug:70348883" into oc-dev am: 3c12119266 am: 07de097829
am: f1a38a2ef0

Change-Id: I874d361286412b3ee25c20c3c45389fefc034b8d
2017-12-14 02:21:41 +00:00
Adam Seaton
f1a38a2ef0 Merge "[DO NOT MERGE] Update security string to 2018-02-01 for oc-dev bug:70348883" into oc-dev am: 3c12119266
am: 07de097829

Change-Id: Ifd5ff222586f78404a58ad1d73e03d01fcf983dc
2017-12-14 02:09:34 +00:00
Adam Seaton
07de097829 Merge "[DO NOT MERGE] Update security string to 2018-02-01 for oc-dev bug:70348883" into oc-dev
am: 3c12119266

Change-Id: I24ffbb6560091677f6bf71ae0c7c705eb2b894f2
2017-12-14 01:56:13 +00:00
TreeHugger Robot
3c12119266 Merge "[DO NOT MERGE] Update security string to 2018-02-01 for oc-dev bug:70348883" into oc-dev 2017-12-14 01:44:56 +00:00
Adam Seaton
24063bc039 [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours am: 229da9d2f2 am: 590a4d3c6a am: 81f33be96c am: 6fb0dd12a6 am: 7681838a52 -s ours am: c282e0329a am: 6f9cbc5ff9
am: e0d33135a0

Change-Id: I4ad39f955cc11d87164d4fe00139c71dd832fecc
2017-12-14 00:56:12 +00:00
Adam Seaton
fafc4a9152 [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours am: 3980822dff am: 5d59b6650b am: ca5b4e7969 am: dc0deb3b47 am: 9b1a2b4f98 -s ours am: 27d97699eb am: fd1ff31fd6
am: 5a16c534d0

Change-Id: I001fffdf1cd4be48d880370e52e57d51a840e277
2017-12-14 00:54:34 +00:00
Adam Seaton
e0d33135a0 [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours am: 229da9d2f2 am: 590a4d3c6a am: 81f33be96c am: 6fb0dd12a6 am: 7681838a52 -s ours am: c282e0329a
am: 6f9cbc5ff9

Change-Id: I1820be6829aa7c87f0207f275163bfd56229838b
2017-12-14 00:51:21 +00:00
Adam Seaton
5a16c534d0 [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours am: 3980822dff am: 5d59b6650b am: ca5b4e7969 am: dc0deb3b47 am: 9b1a2b4f98 -s ours am: 27d97699eb
am: fd1ff31fd6

Change-Id: I1077fc3abe82b56c8d40468dcd4887de7bd16181
2017-12-14 00:49:34 +00:00
Adam Seaton
6f9cbc5ff9 [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours am: 229da9d2f2 am: 590a4d3c6a am: 81f33be96c am: 6fb0dd12a6 am: 7681838a52 -s ours
am: c282e0329a

Change-Id: Ia1093ab60f3d6a2f0c3b857640951e8d3c97f9b3
2017-12-14 00:44:57 +00:00
Adam Seaton
fd1ff31fd6 [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours am: 3980822dff am: 5d59b6650b am: ca5b4e7969 am: dc0deb3b47 am: 9b1a2b4f98 -s ours
am: 27d97699eb

Change-Id: I94893eb458a5cdcf5164bf9c6f5cbb5e2a279065
2017-12-14 00:42:57 +00:00
Adam Seaton
c282e0329a [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours am: 229da9d2f2 am: 590a4d3c6a am: 81f33be96c am: 6fb0dd12a6
am: 7681838a52  -s ours

Change-Id: I42bc16aeb408eb27d6476f97a8406a6c2f367590
2017-12-14 00:38:00 +00:00
Adam Seaton
27d97699eb [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours am: 3980822dff am: 5d59b6650b am: ca5b4e7969 am: dc0deb3b47
am: 9b1a2b4f98  -s ours

Change-Id: I36b2a53d148c11dd6a8a36159cdaf56d3ed3fed6
2017-12-14 00:37:20 +00:00
Adam Seaton
7681838a52 [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours am: 229da9d2f2 am: 590a4d3c6a am: 81f33be96c
am: 6fb0dd12a6

Change-Id: I3fe7026b36f06411e8bc619557c9cb0c42683708
2017-12-14 00:35:14 +00:00
Adam Seaton
9b1a2b4f98 [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours am: 3980822dff am: 5d59b6650b am: ca5b4e7969
am: dc0deb3b47

Change-Id: I54ce4c9298722188ee2033e2bacdd2fed586ec52
2017-12-14 00:34:12 +00:00
Adam Seaton
6fb0dd12a6 [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours am: 229da9d2f2 am: 590a4d3c6a
am: 81f33be96c

Change-Id: I511f1ca37ea9d933966bc0656c9ab74e678d1790
2017-12-14 00:31:04 +00:00
Adam Seaton
dc0deb3b47 [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours am: 3980822dff am: 5d59b6650b
am: ca5b4e7969

Change-Id: Ib02b7dc53426a1ee0ad051c1c31997c9b8ff2dfc
2017-12-14 00:29:38 +00:00
Adam Seaton
81f33be96c [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours am: 229da9d2f2
am: 590a4d3c6a

Change-Id: Ifeb9761f78989eaf144d8b66a9325d24ab73aac1
2017-12-14 00:24:09 +00:00
Adam Seaton
ca5b4e7969 [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours am: 3980822dff
am: 5d59b6650b

Change-Id: I4ff20889f9e42cc1520844aacc11cab3bdcf0fd0
2017-12-14 00:22:42 +00:00
Adam Seaton
590a4d3c6a [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c am: a645938f45 -s ours
am: 229da9d2f2

Change-Id: I0de04527cf31be0d497beab0ef87bda41048a549
2017-12-14 00:20:38 +00:00
Adam Seaton
5d59b6650b [DO NOT MERGE] Update security string to 2018-02-01 for mnc-dev bug:70348883 am: 74f105c16f am: 6545915c0b am: 567d926508 am: 06602d3239 -s ours
am: 3980822dff

Change-Id: I80365112878b90cdd62979372cfe275d3e22eaa8
2017-12-14 00:19:32 +00:00
Adam Seaton
229da9d2f2 [DO NOT MERGE] Update security string to 2018-02-01 for lmp-mr1-dev bug:70348883 am: fedac8dbc2 -s ours am: b22c56332f am: d572ee7efa am: a67af52d8c
am: a645938f45  -s ours

Change-Id: I18294ae07d2f8a5559e9a6f5c67564bb80c5d001
2017-12-14 00:15:39 +00:00