Colin Cross
c2c2824ff9
Merge "Fix panic when missing hiddenapi jar" am: f5df780fc2
...
am: f5a8e0e88d
Change-Id: Id434ff90e8e23a84d751ce1dfb5ec674b3434333
2019-04-03 07:18:26 -07:00
Colin Cross
f5a8e0e88d
Merge "Fix panic when missing hiddenapi jar"
...
am: f5df780fc2
Change-Id: Ic21f9edcd54368477d68124a5cbd56b32a945b0c
2019-04-03 07:14:23 -07:00
Treehugger Robot
f5df780fc2
Merge "Fix panic when missing hiddenapi jar"
2019-04-03 13:53:46 +00:00
Josh Gao
2278b4ea57
Revert "Enable lld for windows" am: 61166dc047
...
am: 87fd9dec38
Change-Id: I0f9345529010c691cd86af3a63c9723e740b8c64
2019-04-02 21:06:08 -07:00
Josh Gao
87fd9dec38
Revert "Enable lld for windows"
...
am: 61166dc047
Change-Id: Ib2088c56f593472c41efcf69ef0ae309db95cd9a
2019-04-02 20:45:04 -07:00
Josh Gao
61166dc047
Revert "Enable lld for windows"
...
This reverts commit 3c21c0b1d9
.
Reason for revert: appears to break AdbWinUsb.dll usage by fastboot (and adb?)
Bug: http://b/129420419
Bug: http://b/110800681
Change-Id: I36d6d87f2e830e08e257ab42d470e49cdbb95819
2019-04-03 00:59:14 +00:00
Colin Cross
caa0e1e341
Fix panic when missing hiddenapi jar
...
Fix a panic after reporting an error when a module is listed
in ProductHiddenAPIStubs but doesn't exist or doesn't produce
a dex jar.
Test: manual
Change-Id: I43643cbc5303536bfe0b02feedb03563ea0b540a
2019-04-02 13:03:46 -07:00
Colin Cross
0c39a64d3a
Skip failing test on mac am: 9a4f3f7ea8
...
am: a9ff20226e
Change-Id: Ibd82f3d895774000a57ead77e987b2007beda076
2019-04-02 10:34:50 -07:00
Colin Cross
a9ff20226e
Skip failing test on mac
...
am: 9a4f3f7ea8
Change-Id: Ic9475bef508ba636528d17db5e17d739a734232b
2019-04-02 10:25:40 -07:00
Colin Cross
7299e418df
Add support for protoc plugins am: fe17f6f0e8
...
am: 91c063cfdc
Change-Id: I7bda9f891c55b5ad4fa412952583af1e3764ffc3
2019-04-02 10:13:43 -07:00
Colin Cross
c8a3eb9110
Move proto compilation to RuleBuilder am: 19878da6a0
...
am: 61918685aa
Change-Id: I0cbb9ae4a408e8dd8316c41c7f2f3816da951364
2019-04-02 10:13:31 -07:00
Colin Cross
9a4f3f7ea8
Skip failing test on mac
...
Tests with cc_binary_host fail on mac, disable for now.
Bug: 129763458
Test: TestProto
Change-Id: Icea24ac6ffba4c5c047296cb3997a5efa95e16ee
2019-04-02 10:02:04 -07:00
Colin Cross
91c063cfdc
Add support for protoc plugins
...
am: fe17f6f0e8
Change-Id: I7dabf4b788925fce8b477eb3c7f9e90a5f986945
2019-04-02 09:55:06 -07:00
Colin Cross
61918685aa
Move proto compilation to RuleBuilder
...
am: 19878da6a0
Change-Id: I44eed0735702ea6fbef57753d8eec078ad3a131e
2019-04-02 09:54:59 -07:00
Colin Cross
fe17f6f0e8
Add support for protoc plugins
...
Add a proto.plugin property to allow specifying a custom protoc
plugin to generate the code.
Fixes: 70706119
Test: m am StreamingProtoTest
Change-Id: I1ecdd346284b42bbcc8297019d98d2cd564eb94c
2019-04-02 16:38:55 +00:00
Colin Cross
19878da6a0
Move proto compilation to RuleBuilder
...
Using blueprint.Rule for protoc commands was causing code duplication
because there was no good way to run the same protoc for cc, java and
python but then run custom source packaging steps for java and python.
Move most of the code into a common function that returns a
RuleBuilder, and then let java and python add their own commands at
the end of the rule.
Bug: 70706119
Test: All Soong tests
Test: m checkbuild
Change-Id: Ic692136775d273bcc4f4de99620ab4878667c83a
2019-04-02 16:38:47 +00:00
Patrice Arruda
5a4767e5d8
Merge "Soong: Add synopsis to cc_prebuilt_* modules." am: 6e1c3faed5
...
am: 57522e4123
Change-Id: I5f7a326b95b51419dc0c5e80e952ec758618e74d
2019-04-02 08:20:08 -07:00
Colin Cross
6c99a30bb7
Merge changes I7dd4ba7f,I7887a67a am: 92cc71606c
...
am: 900574f0cd
Change-Id: Id39b1ad15d3beb89ba2fedfb41172a97690cb1ff
2019-04-02 08:17:31 -07:00
Patrice Arruda
57522e4123
Merge "Soong: Add synopsis to cc_prebuilt_* modules."
...
am: 6e1c3faed5
Change-Id: I57ffbbe82c03113fffbc2fa766f8a4517d684cb7
2019-04-02 08:16:04 -07:00
Colin Cross
900574f0cd
Merge changes I7dd4ba7f,I7887a67a
...
am: 92cc71606c
Change-Id: I40617cda703787aca7cc85e18beb173182b04532
2019-04-02 08:13:18 -07:00
Patrice Arruda
6e1c3faed5
Merge "Soong: Add synopsis to cc_prebuilt_* modules."
2019-04-02 15:11:37 +00:00
Colin Cross
92cc71606c
Merge changes I7dd4ba7f,I7887a67a
...
* changes:
Add depfile support to RuleBuilder
Add RuleBuilderCommand.Flags
2019-04-02 15:04:06 +00:00
Jiyong Park
5fc2f129fa
Merge changes from topic "apex_bundle_pubkey" am: 7a313bc614
...
am: d2af9b6f42
Change-Id: I27f740a6acf3ccd3e2bc097ee6849aa5ae070250
2019-04-02 07:39:01 -07:00
Jiyong Park
d2af9b6f42
Merge changes from topic "apex_bundle_pubkey"
...
am: 7a313bc614
Change-Id: I17a71dab94a0ac8a1c5fe2795ddd082eb1b8a97b
2019-04-02 07:35:06 -07:00
Jiyong Park
7a313bc614
Merge changes from topic "apex_bundle_pubkey"
...
* changes:
Key property is removed from prebuilt_apex
Always bundle the public key for APEX
2019-04-02 14:26:12 +00:00
Andrei-Valentin Onea
364388b3a5
Merge "Automatically greylist code in 3P packages" am: dca6ac3e35
...
am: 595282ced1
Change-Id: I596b2a6f788c2a29495a0aa622cbf695f12ee211
2019-04-02 06:35:12 -07:00
Andrei-Valentin Onea
595282ced1
Merge "Automatically greylist code in 3P packages"
...
am: dca6ac3e35
Change-Id: Ic9d2843e446f0207ead6b83692c7fa50c34deb43
2019-04-02 06:25:27 -07:00
Andrei-Valentin Onea
dca6ac3e35
Merge "Automatically greylist code in 3P packages"
2019-04-02 13:10:37 +00:00
Colin Cross
92270109eb
Merge changes Ie7f776a4,I3ca5dd1f,I2e911262 am: 11581cf6b3
...
am: 89d99337fb
Change-Id: I30312cbbacae65c29e75357e89cc554b5ee1a19d
2019-04-01 17:32:01 -07:00
Colin Cross
89d99337fb
Merge changes Ie7f776a4,I3ca5dd1f,I2e911262
...
am: 11581cf6b3
Change-Id: Ie9d0457b802be9840d03bc2963776ae421e68b34
2019-04-01 17:24:08 -07:00
Colin Cross
11581cf6b3
Merge changes Ie7f776a4,I3ca5dd1f,I2e911262
...
* changes:
Add a whitelist for services.art changing between builds
Add diff_target_files tool
Import files from compare_target_files for use in diff_target_files
2019-04-02 00:03:05 +00:00
Colin Cross
5cb90e6517
Merge "Touch output files in sbox" am: 80eb6907ac
...
am: 9457c97c40
Change-Id: I1ccf203667d12cebb306ada67a6771fe8696c010
2019-04-01 11:11:12 -07:00
Colin Cross
9457c97c40
Merge "Touch output files in sbox"
...
am: 80eb6907ac
Change-Id: I0ff287156926e0788e8af3af8efb36cf222e02c4
2019-04-01 11:06:07 -07:00
Colin Cross
80eb6907ac
Merge "Touch output files in sbox"
2019-04-01 17:45:12 +00:00
Colin Cross
d1c1e6fd6c
Touch output files in sbox
...
Some tools used by genrules set the timestamp of the generated file
to an old value. For example, when using tar to extract files it
will set the timestamp of the extracted file to the value stored in
the tar file. This can cause unnecessary rebuilds due to output files
that are older than their inputs. Touch output files in sbox before
moving them into the output location.
Test: m checkbuild && m checkbuild
Change-Id: Idb0e71d2bf0ac3618338371132cc71be74bf9d9d
2019-04-01 10:43:20 -07:00
Patrice Arruda
3554a98e4f
Soong: Add synopsis to cc_prebuilt_* modules.
...
Added synopsis to the following modules under cc package:
* cc_prebuilt_binary
* cc_prebuilt_library_shared
* cc_prebuilt_library_static
Bug: b/128337482
Test: Generated the documentation and verified that the synopsis was
added to each of the module.
Change-Id: I2ec284eb600f28d5c7f00254f441a3cc5fb684cc
2019-04-01 17:25:41 +00:00
Colin Cross
d93112ae26
Add a whitelist for services.art changing between builds
...
Bug: 120039850
Test: manual
Change-Id: Ie7f776a4e2743883ea006c66148fc4f40f90ce07
2019-04-01 10:07:25 -07:00
Colin Cross
91ee4c793d
Add diff_target_files tool
...
Add a tool that lists files that have changed between two builds by
comparing the target-files.zip artifacts.
Bug: 121158314
Test: unit tests
Change-Id: I3ca5dd1fdf652dffef923ad7307fd71e49e2e95a
2019-04-01 10:07:21 -07:00
Colin Cross
c45c3b5ec6
Import files from compare_target_files for use in diff_target_files
...
Copied from cl/240594925.
Bug: 121158314
Test: copied unit tests
Change-Id: I2e91126285dcd33171ff8b8dbfcfa5d48501f535
2019-04-01 10:02:40 -07:00
Jiyong Park
c320e8262a
Key property is removed from prebuilt_apex
...
The property is not needed as key is embedded in the apex.
Bug: 128344735
Test: m
Change-Id: Iae671994fc271593dd9319f6262279736ea34ad1
2019-04-01 19:25:08 +09:00
Jiyong Park
42cca6c951
Always bundle the public key for APEX
...
The public key associated with an APEX is always included in the APEX.
Obviously, the public keys are no longer installed to
/system/etc/security/apex
Bug: 128344735
Test: m
Change-Id: I1e1aef1d32597a447b57d49ab80bbfb921fa8178
2019-04-01 19:24:31 +09:00
Colin Cross
50ec199881
Merge "Restat clang linker outputs" am: 51e265c5dd
...
am: 0a31c21da0
Change-Id: I1673d9eba4399e26235b92b53f240d91842b1ee4
2019-03-31 11:59:51 -07:00
Colin Cross
0a31c21da0
Merge "Restat clang linker outputs"
...
am: 51e265c5dd
Change-Id: I7f95695550cc51a5043cecab62f7907dffe1ef82
2019-03-31 11:55:47 -07:00
Treehugger Robot
51e265c5dd
Merge "Restat clang linker outputs"
2019-03-31 18:40:40 +00:00
Patrice Arruda
61cd12b4be
Merge "Soong: Add unbind option to setup_go_workspace_for_soong.sh script" am: 0ba2733414
...
am: 55e35c0d63
Change-Id: I5b6ca789735e327cabe2bef4c5f6e5583fa418d5
2019-03-30 17:15:06 -07:00
Jiyong Park
b7f7db364c
Merge "Arch-specific source for prebuilt_apex" am: 50ca4ef4d3
...
am: 8f3fdc9135
Change-Id: Ia70f151b3003bbef83037179eded7a888bb487a3
2019-03-30 17:14:43 -07:00
Patrice Arruda
55e35c0d63
Merge "Soong: Add unbind option to setup_go_workspace_for_soong.sh script"
...
am: 0ba2733414
Change-Id: I29d01517b4886b8e0f17fc3a247ce6e8b6689ec9
2019-03-30 17:10:04 -07:00
Jiyong Park
8f3fdc9135
Merge "Arch-specific source for prebuilt_apex"
...
am: 50ca4ef4d3
Change-Id: I14895ea1d0ca47e1b7a82a741800cec7400d319e
2019-03-30 17:09:42 -07:00
Patrice Arruda
0ba2733414
Merge "Soong: Add unbind option to setup_go_workspace_for_soong.sh script"
2019-03-30 23:51:53 +00:00
Jiyong Park
50ca4ef4d3
Merge "Arch-specific source for prebuilt_apex"
2019-03-30 23:50:32 +00:00