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
22f6e418d9
Merge "Convert python package to fixtures" am: e410711cd5 am: c3c44b7b85
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643944
Change-Id: Ia965119d4f8f55ce1b2e344ee5210ccdc583c95d
2021-03-18 18:19:49 +00:00
Paul Duffin
a3a8cabb64
Merge "Clean up java package use of python build components" am: c3f89bece1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643945
Change-Id: Ica3d712304bf3d945ac9c134aacd7273aaa13a71
2021-03-18 17:42:12 +00:00
Paul Duffin
c3c44b7b85
Merge "Convert python package to fixtures" am: e410711cd5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643944
Change-Id: I4444dd8c482aad6c38e2d6353b6be772fbfbd59c
2021-03-18 17:41:21 +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
e410711cd5
Merge "Convert python package to fixtures"
2021-03-18 17:02:19 +00:00
Paul Duffin
351ae039aa
Merge "Prevent ApexInfoMutator from creating unnecessary variants" am: b72dd403de am: 03cf98057f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642102
Change-Id: I395372d6b1088789330644214d8aec41a8a6370a
2021-03-18 16:30:14 +00:00
Paul Duffin
03cf98057f
Merge "Prevent ApexInfoMutator from creating unnecessary variants" am: b72dd403de
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642102
Change-Id: Ibe41f734d4983e7da974cb3c46ddd697a8308d14
2021-03-18 15:49:49 +00:00
Paul Duffin
3c5a83b056
Merge changes I9aad3e4e,I150889a0 am: b01125f92b am: c899e88474
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643949
Change-Id: I1665db9f07d604e520305971a1bc81b20f060b96
2021-03-18 15:29:27 +00:00
Paul Duffin
b72dd403de
Merge "Prevent ApexInfoMutator from creating unnecessary variants"
2021-03-18 15:13:39 +00:00
Paul Duffin
c899e88474
Merge changes I9aad3e4e,I150889a0 am: b01125f92b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643949
Change-Id: I9db02b2be30cf5be39850bfe657b42304ba54b27
2021-03-18 14:48:12 +00:00
Paul Duffin
b01125f92b
Merge changes I9aad3e4e,I150889a0
...
* changes:
Convert xml package to fixtures
Add preparers for xml
2021-03-18 14:16:31 +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
a2f599ce8a
Merge "Convert android/namespace_test.go to test fixtures" am: 4b9bb5c057 am: 3d7a4af9e4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1641399
Change-Id: Ifbed2d7fa67f6b6340a95fc8db354ab4ac7f1c89
2021-03-18 13:12:16 +00:00
Paul Duffin
0a77010254
Merge "Add FixtureIgnoreErrors" am: cb460c91f1 am: 40a2e4ba4d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640338
Change-Id: I0f0edf580173800ff69151d8638119b958a4f055
2021-03-18 13:12:10 +00:00
Paul Duffin
47e55bcb7c
Merge "Convert android/rule_builder_test.go to test fixtures" am: 50eb3829f9 am: 973956dba9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640337
Change-Id: Ibfa462cba444a668179ab13581b24d4db1b58c68
2021-03-18 13:11:40 +00:00
Paul Duffin
c5b7854036
Merge "Add prebuilt_platform_compat_config" am: d5065cfc66
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642109
Change-Id: I13a379afd6596d4dbba95e21b35fb29b3d77a0ac
2021-03-18 12:37:19 +00:00
Paul Duffin
3d7a4af9e4
Merge "Convert android/namespace_test.go to test fixtures" am: 4b9bb5c057
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1641399
Change-Id: I48a641ba34d7a3232289de22501308d28c3b3c83
2021-03-18 12:37:11 +00:00
Paul Duffin
40a2e4ba4d
Merge "Add FixtureIgnoreErrors" am: cb460c91f1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640338
Change-Id: Idfcad6a994bae3012705fea83d8749f2ef8db7ab
2021-03-18 12:37:00 +00:00
Paul Duffin
973956dba9
Merge "Convert android/rule_builder_test.go to test fixtures" am: 50eb3829f9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640337
Change-Id: I6459ad88c50bca1ae50e2eadb0d2a7b3afa8d634
2021-03-18 12:36:08 +00:00
Paul Duffin
d5065cfc66
Merge "Add prebuilt_platform_compat_config"
2021-03-18 12:28:00 +00:00
Paul Duffin
4b9bb5c057
Merge "Convert android/namespace_test.go to test fixtures"
2021-03-18 12:14:01 +00:00
Paul Duffin
cb460c91f1
Merge "Add FixtureIgnoreErrors"
2021-03-18 12:13:36 +00:00
Paul Duffin
50eb3829f9
Merge "Convert android/rule_builder_test.go to test fixtures"
2021-03-18 12:13:12 +00:00
Paul Duffin
d8f766953e
Merge "Convert android/paths_test.go to test fixtures" am: 0700f77806 am: 412a1ed781
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640336
Change-Id: Ia69edf15a234208de14c74be8319ed12776527a9
2021-03-18 09:14:55 +00:00
Paul Duffin
d09c20cccc
Merge "Convert android/module_test.go to test fixtures" am: e9ae3616a2 am: 55d4f4c4bc
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640335
Change-Id: I18a233c6dd04eb109c6d632fa5a89efafb8ee8b9
2021-03-18 09:14:49 +00:00
Lukács T. Berki
46d423de48
Merge "Compile soong_build for debugging if needed." am: 734b215d66 am: 0a70e6f72c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642103
Change-Id: I8e5461118457703e5b26295de5b2a052b2d90d9d
2021-03-18 09:14:41 +00:00
Paul Duffin
f7ae5cce0e
Merge "Convert android/defaults_test.go to test fixtures" am: 7f09fd298a am: 8a861d2148
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640334
Change-Id: I321a7e805b7a46a94f6e4410784185e1332fe1e4
2021-03-18 09:14:33 +00:00
Paul Duffin
53e157deca
Merge "Add AssertSame" am: c14e8aa6a8 am: f91adb93a2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640333
Change-Id: Iac59a9d7d5355c1d16d496893f9db4dade5d1fbd
2021-03-18 09:14:27 +00:00
Paul Duffin
09e3905946
Merge "Convert android/csuite_config_test.go to test fixtures" am: 28f0e9e2cb am: e8d96aa86b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640332
Change-Id: Id86ac6ff5cfc49a5a257f2a03ce053a5a643fcb2
2021-03-18 09:14:21 +00:00
Paul Duffin
d21dc3c370
Merge "Convert android/arch_test.go to test fixtures" am: 3bf545fa6b am: 4323de3c85
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640331
Change-Id: Id00ee5998ff515afb858f1df9cae302409ad0823
2021-03-18 09:14:15 +00:00
Paul Duffin
1f24390277
Merge "Add OptionalFixturePreparer" am: abc6ec9d16 am: f59543d75b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640330
Change-Id: I95e509911eb74db6b332dc3c96791ff4555efb0e
2021-03-18 09:14:10 +00:00
Paul Duffin
412a1ed781
Merge "Convert android/paths_test.go to test fixtures" am: 0700f77806
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640336
Change-Id: Ia7ee38c0c492940f6d57d9991e619757736b5836
2021-03-18 09:14:05 +00:00
Paul Duffin
7c5492b19a
Merge "Remove android/apex_test.go use of buildDir" am: 81e7e2b9a3 am: c7cca88433
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640329
Change-Id: I6ebd26213d691e7501a14d4019e2937e63f1941f
2021-03-18 09:14:03 +00:00
Paul Duffin
55d4f4c4bc
Merge "Convert android/module_test.go to test fixtures" am: e9ae3616a2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640335
Change-Id: Ib548ea2b18ae6b78ba6a2a1423b9ba1656d7bf3f
2021-03-18 09:13:57 +00:00
Paul Duffin
c47410cd47
Merge "Convert android/androidmk_test.go to test fixtures" am: aa8270eca7 am: 03088ba909
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640328
Change-Id: I76bcbb8545ce01350f8a6defbc8856bc1f3fab9f
2021-03-18 09:13:57 +00:00
Paul Duffin
e9a4c704bf
Merge "Migrate bpf package to a per test build directory" am: 21d1b9a52c am: 85010603f7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640325
Change-Id: Ib5b33b6d0ccfb4b32dab5d513e32765edc109321
2021-03-18 09:13:50 +00:00
Paul Duffin
0176573920
Merge "Correct typo in the name of compatConfigTag" am: 603fa13e08 am: 7eccf3774b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642108
Change-Id: I68e973776e85b2966ca182eb21d9fa4296c2cee0
2021-03-18 09:13:44 +00:00
Lukács T. Berki
0a70e6f72c
Merge "Compile soong_build for debugging if needed." am: 734b215d66
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642103
Change-Id: Icdd146de55e8ac3fe78f20259b60cd82cea351a4
2021-03-18 09:13:43 +00:00
Paul Duffin
25703000a5
Merge "Allow apex dependencies to be restricted to source modules only" am: c0a5ccbf3b am: 69f4244007
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642107
Change-Id: I97bdc2f4f20f15bc72708f461eb05d9f2a2e597d
2021-03-18 09:13:38 +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
96c9a5fc28
Merge "Add AssertIntEquals" am: a8c065522d am: 308053d678
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643062
Change-Id: I2326d1d0afa34d80f8c9f3782d7b78eea3042c3c
2021-03-18 09:13:26 +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
b7200fc522
Merge "Add preparers for python" am: f49f72f271 am: dca128e44a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643943
Change-Id: I67128d1e938020770d60b3dff7c669a9d7864507
2021-03-18 09:13:07 +00:00
Paul Duffin
8a861d2148
Merge "Convert android/defaults_test.go to test fixtures" am: 7f09fd298a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640334
Change-Id: Ib1780577c1420abf5f0fd35019d49fd0e20079ef
2021-03-18 09:13:00 +00:00
Paul Duffin
573989d821
Prevent ApexInfoMutator from creating unnecessary variants
...
Adds the AlwaysRequireApexVariantTag interface to enable
ApexInfoMutator to differentiate between a tag that is excluded from
apex contents but still requires an apex variant and a tag that is
excluded from apex contents and does not require an apex variant.
That is needed to support the sdkMemberVersionedDepTag which excludes
the target from being added to the APEX but requires an APEX variant.
A more detailed explanation is in the comments.
The AlwaysRequireApexVariant() method follows the pattern used in
ReplaceSourceWithPrebuilt of having a method that returns a bool to
trigger the behavior and not say ExcludeFromApexContentsTag that simply
relies on the tag implementing an interface to trigger. That is because
the former is more flexible and allows a tag type to parameterize the
behavior if necessary.
The tags that this will exclude from creating an apex variant are:
* PrebuiltDepTag - by the time the apex variant has been created any
preferred prebuilts will have replaced the sources so there is no
need to create an APEX variant if the only dependency path from the
APEX to the prebuilt is via this tag.
* hiddenApiAnnotationsDependencyTag - the target of which is a purely
build time artifect and MUST NEVER end up in the APEX.
It will also stop calling DepIsInSameApex for any dependency created
by the sdkMemberVersionedDepTag. Which will fix the issue reported in
the bug.
Bug: 182992071
Test: m nothing
Change-Id: I9569e488d6446ca45d3ea8f32a9b74524eb865df
2021-03-18 09:05:28 +00:00
Paul Duffin
0700f77806
Merge "Convert android/paths_test.go to test fixtures"
2021-03-18 08:58:54 +00:00
Paul Duffin
e9ae3616a2
Merge "Convert android/module_test.go to test fixtures"
2021-03-18 08:58:19 +00:00
Lukács T. Berki
734b215d66
Merge "Compile soong_build for debugging if needed."
2021-03-18 08:58:16 +00:00