Paul Duffin
409e6a8fd1
Merge "Convert TestClasspath to test fixtures" am: 903a8a08ab
am: d5e47f1edb
am: f6bc52175d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634634
Change-Id: I6d5bab4871744856bda2697604b67c570f7c31a4
2021-03-19 12:46:51 +00:00
Paul Duffin
f6bc52175d
Merge "Convert TestClasspath to test fixtures" am: 903a8a08ab
am: d5e47f1edb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634634
Change-Id: I368f0f9e09222003beaaeead5241ae8e64cc407b
2021-03-19 12:05:40 +00:00
Paul Duffin
903a8a08ab
Merge "Convert TestClasspath to test fixtures"
2021-03-19 11:08:17 +00:00
Paul Duffin
cc82353898
Merge "Clean up java package use of python build components" am: c3f89bece1
am: a3a8cabb64
am: b7878471b6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643945
Change-Id: Id97114056f6cd1a86a8e3c50701fdfae3d5c8132
2021-03-18 22:05:22 +00:00
Paul Duffin
b7878471b6
Merge "Clean up java package use of python build components" am: c3f89bece1
am: a3a8cabb64
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643945
Change-Id: I979297cc28aee70c723c18b70630474e4ead4d13
2021-03-18 18:19:55 +00:00
Paul Duffin
c3f89bece1
Merge "Clean up java package use of python build components"
2021-03-18 17:02:44 +00:00
Paul Duffin
c76957fd75
Merge "Add prebuilt_platform_compat_config" am: d5065cfc66
am: c5b7854036
am: 8185bd8586
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642109
Change-Id: Ifb7ff86d694146b0bbc30ca607bf160cd4ce7911
2021-03-18 15:19:19 +00:00
Paul Duffin
0361e84a24
Merge "Separate metadata provider from apex contents provider" am: 533cf74318
am: 1d83ba3a10
am: 126181b054
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642106
Change-Id: I4c0c6c5fd83472322bb152650a8c07debfeb5d57
2021-03-18 15:16:38 +00:00
Paul Duffin
b34c8bb1dd
Merge "Add emptyFixtureFactory in java package" am: 93b61b49dd
am: f2dec10262
am: 22ec063dff
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642105
Change-Id: I0a53f4b11d41d440745aff9966efae725d3f2471
2021-03-18 15:16:22 +00:00
Paul Duffin
6e55c425b8
Merge "Reorganize the platform_compat_config.go file" am: 177cba31cf
am: 95b93bf6a8
am: ef3ada76c4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642104
Change-Id: Ia6cb2acfac42f5eb5c6aebc6e1387e91db1a6da6
2021-03-18 15:16:14 +00:00
Paul Duffin
bc38431e4c
Merge "Fix app tests to work without javaMockFS()" am: e26e597fc8
am: 9679be9ea5
am: 8255a16c37
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634633
Change-Id: I45616c7acc826df5e643d2f55758aaf0e5fec64a
2021-03-18 15:15:51 +00:00
Paul Duffin
ff1fbabc86
Merge "Convert app tests that depend on javaMockFS() to test fixtures" am: 9e993c6162
am: 85bcdfcb3c
am: 59ff1fbc73
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634632
Change-Id: I2c344832c61066bb66eb54bbd3be38faeff77e90
2021-03-18 15:15:43 +00:00
Paul Duffin
cb9fc1221a
Merge "Convert TestUsesLibraries to test fixtures" am: 8a6fef4db3
am: 3e2173905d
am: 13b31ab6f2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634631
Change-Id: Ie0e3769750189209cdd88beb035beda0cb3af5e9
2021-03-18 15:15:26 +00:00
Paul Duffin
8185bd8586
Merge "Add prebuilt_platform_compat_config" am: d5065cfc66
am: c5b7854036
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642109
Change-Id: I85be48a0c65bc9caa2e2d4b7063ac41ec2581b6c
2021-03-18 13:12:21 +00:00
Paul Duffin
d5065cfc66
Merge "Add prebuilt_platform_compat_config"
2021-03-18 12:28:00 +00:00
Ulyana Trafimovich
928c87711a
Revert^2 "Don't depend on nonexistent manifest when manifest_check is disabled."
...
Reason for revert: relanding original change. The fix was to add AAPT to
the dependencies of the failed command. It didn't fail in AOSP, and on
some targets in sc-dev, because the build order happened to be different
and AAPT was built by the time it was needed. This also explains why
some builds oscillated between red and green.
Reverted Changes:
I52f00c9f4:Revert "Don't depend on nonexistent manifest when ...
I4c2d4e1c7:Revert "Reimplement verify_uses_libraries.sh in ma...
Ibebd616a7:Revert "Reimplement verify_uses_libraries.sh in ma...
Bug: 132357300
Bug: 183010666
Change-Id: I28b20308f4d68185af8ec15407b35ded1aaa2eb0
Test: treehugger
Test: forrest on git_sc-dev target aosp_blueline-userdebug
2021-03-18 11:43:06 +00:00
Ulyana Trafimovich
ec22282610
Revert^2 "Reimplement verify_uses_libraries.sh in manifest_check.py."
...
Reason for revert: relanding original change. The fix was to add AAPT to
the dependencies of the failed command. It didn't fail in AOSP, and on
some targets in sc-dev, because the build order happened to be different
and AAPT was built by the time it was needed. This also explains why
some builds oscillated between red and green.
Reverted Changes:
I52f00c9f4:Revert "Don't depend on nonexistent manifest when ...
I4c2d4e1c7:Revert "Reimplement verify_uses_libraries.sh in ma...
Ibebd616a7:Revert "Reimplement verify_uses_libraries.sh in ma...
Bug: 132357300
Bug: 183010666
Change-Id: I6fd3935e951503b6c505b1e45b27bb8dc498665a
Test: treehugger
Test: forrest on git_sc-dev target aosp_blueline-userdebug
2021-03-18 11:42:53 +00:00
Paul Duffin
126181b054
Merge "Separate metadata provider from apex contents provider" am: 533cf74318
am: 1d83ba3a10
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642106
Change-Id: I96b09fd79851a036c6a420d9d3f5d27e5950f250
2021-03-18 09:13:33 +00:00
Paul Duffin
22ec063dff
Merge "Add emptyFixtureFactory in java package" am: 93b61b49dd
am: f2dec10262
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642105
Change-Id: Ice08a34e362e1d50ae953a3f68a3db31e2398522
2021-03-18 09:13:20 +00:00
Paul Duffin
ef3ada76c4
Merge "Reorganize the platform_compat_config.go file" am: 177cba31cf
am: 95b93bf6a8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642104
Change-Id: I282d3c89167ec58b9b424c5d7b5ee01ca1cfbbd9
2021-03-18 09:13:14 +00:00
Paul Duffin
8255a16c37
Merge "Fix app tests to work without javaMockFS()" am: e26e597fc8
am: 9679be9ea5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634633
Change-Id: I402492eedbecf7db1d37d14791ff42fd096912b4
2021-03-18 08:54:35 +00:00
Paul Duffin
59ff1fbc73
Merge "Convert app tests that depend on javaMockFS() to test fixtures" am: 9e993c6162
am: 85bcdfcb3c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634632
Change-Id: I9fb3e99104264bb607ca7d14234d559794948555
2021-03-18 08:54:26 +00:00
Paul Duffin
13b31ab6f2
Merge "Convert TestUsesLibraries to test fixtures" am: 8a6fef4db3
am: 3e2173905d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634631
Change-Id: Iac19b34bbca50601ab205a55ea4e139a85ad35b5
2021-03-18 08:54:20 +00:00
Paul Duffin
533cf74318
Merge "Separate metadata provider from apex contents provider"
2021-03-18 08:46:49 +00:00
Paul Duffin
93b61b49dd
Merge "Add emptyFixtureFactory in java package"
2021-03-18 08:40:03 +00:00
Paul Duffin
177cba31cf
Merge "Reorganize the platform_compat_config.go file"
2021-03-18 08:39:39 +00:00
Paul Duffin
76101fa5ec
Convert TestClasspath to test fixtures
...
The main complication with this change was that many of the tests check
paths that are provided by the default java modules. The location of
them is different in the test fixtures that it is when using
testConfig() and so the test needed to be changed.
Bug: 182638834
Test: m nothing
Change-Id: I6d325dbd3ba39e5de7e53c576d7cfe07bd95a965
2021-03-18 08:02:38 +00:00
Paul Duffin
e26e597fc8
Merge "Fix app tests to work without javaMockFS()"
2021-03-18 08:00:29 +00:00
Paul Duffin
9e993c6162
Merge "Convert app tests that depend on javaMockFS() to test fixtures"
2021-03-18 07:59:54 +00:00
Paul Duffin
8a6fef4db3
Merge "Convert TestUsesLibraries to test fixtures"
2021-03-18 07:59:04 +00:00
Paul Duffin
220ddd7a6b
Clean up java package use of python build components
...
Bug: 182885307
Test: m nothing
Change-Id: I206ebc075c568a09008ec8b63122922dd87ba318
2021-03-17 23:56:58 +00:00
Ulyana Trafimovich
f24394fba8
Merge changes from topic "revert-reimplement" into sc-dev
...
* changes:
Revert "Reimplement verify_uses_libraries.sh in manifest_check.py."
Revert "Don't depend on nonexistent manifest when manifest_check is disabled."
2021-03-17 23:32:53 +00:00
Colin Cross
ecd91c9ffa
Add explicit rspfile argument to RuleBuilderCommand.FlagWithRspFileInputList am: 70c4741215
am: 37225a7b05
am: 27a4326c78
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634804
Change-Id: I6a33941387ce9d6054c49f61b41d4f9a4b911e36
2021-03-17 22:21:53 +00:00
Treehugger Robot
9847310ba4
Merge "Run InitAndroidArchModule last in factory functions." am: 797b03eec9
am: e3fd959661
am: 299adde645
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1641400
Change-Id: Iaa59d246d5f72fa399fadf7c52bcbdf2f1f431c2
2021-03-17 22:16:47 +00:00
Yuexi Ma
dca38927a5
Merge "Export a few utility methods" am: b96a04ba49
am: b2bfff678e
am: f963e4479e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1620219
Change-Id: I099c0ae909a11f95affa10a2867321fb87e056a5
2021-03-17 22:16:26 +00:00
Christian Wailes
2f2708def3
Merge "Add test suite to legacy core platform allowlist." am: 7d1f1cf27c
am: ae3f51b415
am: a537f721d5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634799
Change-Id: I353fb8de6827f61dd195fd8d6eb30b8fc669aa3f
2021-03-17 22:07:53 +00:00
Ulyana Trafimovich
9d2c7978f2
Revert "Reimplement verify_uses_libraries.sh in manifest_check.py."
...
Revert submission 1614807-uses-libs-47
Reason for revert: broken build 7215516 on git_sc-dev \
on aosp_blueline-userdebug
Reverted Changes:
Id1b66e4f3:Reimplement verify_uses_libraries.sh in manifest_c...
I386aa1a37:Reimplement verify_uses_libraries.sh in manifest_c...
Bug: 183010666
Change-Id: I4c2d4e1c7d865dabf31339d1a5f6aea09fdcd8ac
Test: treehugger
2021-03-17 19:21:38 +00:00
Ulyana Trafimovich
7c6c1f5c8b
Revert "Don't depend on nonexistent manifest when manifest_check is disabled."
...
This reverts commit a76d6606ce
.
Reason for revert: broken build 7215516 on git_sc-dev \
on aosp_blueline-userdebug
Bug: 183010666
Change-Id: I52f00c9f4712dc5716be527cacd085b9f6e6e65a
Test: treehugger
2021-03-17 19:21:08 +00:00
Paul Duffin
1b29e003f3
Add prebuilt_platform_compat_config
...
It just provides the metadata needed by the global singleton as the
rest is in the apex.
Bug: 182402754
Test: m nothing
Change-Id: I511df7a3a06dab13ddb9ad63392ae5310dfee9c4
2021-03-17 18:16:31 +00:00
Paul Duffin
29072a9c1e
Separate metadata provider from apex contents provider
...
The platform_compat_config_singleton only needs access to the metadata
so this separates that method into its own interface, distinct from the
one needed by the apex. This also adds a test to ensure that the merging
still works.
Bug: 182402754
Test: m nothing
Change-Id: I5212239786810e5fc5eb99831b1122db93d1329f
2021-03-17 18:16:28 +00:00
Paul Duffin
afeee22c17
Add emptyFixtureFactory in java package
...
Bug: 182402754
Test: m nothing
Change-Id: I6a01b846a8aee5a0ace9e6ac056ee439bf6f12f7
2021-03-17 17:50:22 +00:00
Paul Duffin
961543309f
Reorganize the platform_compat_config.go file
...
The types and methods are separated and interleaved with each other
so this moves them so that they are together.
Bug: 182402754
Test: m nothing
Change-Id: I275f6af30491d2440499b9ee3f201eea227d23f8
2021-03-17 17:50:22 +00:00
Jaewoong Jung
300fd07df1
Merge "Improve java.go readability." am: 9f315dea28
am: b163cc04ce
am: b348954705
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1627239
Change-Id: Ia988226bd3485f2e716c330fc65c914f6f068037
2021-03-17 16:19:00 +00:00
Treehugger Robot
1cf5826a85
Merge "Don't depend on nonexistent manifest when manifest_check is disabled." am: 8974f1706e
am: da4eb03a9d
am: 7be2dbdc41
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640322
Change-Id: I6d8aeccc36dbe0853b07363d742920e52130d027
2021-03-17 16:18:45 +00:00
Paul Duffin
8d660568b9
Merge "Fix hiddenapi tests to work without javaMockFS()" am: 248f386558
am: 609df5c2ca
am: db6fe68b71
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634630
Change-Id: I9a7fbffaf9e8a3c638cbc34b0567447dc02bb4b7
2021-03-17 16:18:37 +00:00
Paul Duffin
b9a4a0c6dd
Merge "Convert hiddenapi tests to use test fixtures" am: af0379ca9c
am: 5308375fd4
am: 1a2f26004a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634629
Change-Id: I24182aca5356301804ce068ffa5fe17e91c77af8
2021-03-17 16:18:30 +00:00
Paul Duffin
6ade27941a
Merge "Fix TestJavaSdkLibrary... tests to work without javaMockFS()" am: ebca5e6a68
am: a6ece5dde2
am: 971fbecedd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634628
Change-Id: Ib3ec5e55a91dbb5883c1c53154c91a32dbd6a5ee
2021-03-17 16:18:23 +00:00
Paul Duffin
5df5ad660d
Merge "Convert JavaSdkLibrary... tests in java package to test fixtures" am: fb3fc0cf40
am: dcdefb6b53
am: b75252399c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634627
Change-Id: I272a50cea888cf1db902e29c647072bca4f308f2
2021-03-17 16:18:16 +00:00
Ulyana Trafimovich
6256f66cd9
Merge "Reimplement verify_uses_libraries.sh in manifest_check.py." am: 2002bfa817
am: 8bd0efdef8
am: 072f40803f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1614807
Change-Id: Ic40dfb25a6e02582ce1399f872cc149bf958cab4
2021-03-17 16:17:29 +00:00
Colin Cross
27a4326c78
Add explicit rspfile argument to RuleBuilderCommand.FlagWithRspFileInputList am: 70c4741215
am: 37225a7b05
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634804
Change-Id: Iec8ea5fdda5786380e52d244d73e3dd182d7bc52
2021-03-17 15:50:48 +00:00