Paul Duffin
d65970072d
Convert android/singleton_module_test.go to test fixtures
...
Bug: 182885307
Test: m nothing
Change-Id: I7f9f3eb66279fe5a2447aefa9b636144c32ce92a
2021-03-18 12:18:05 +00:00
Paul Duffin
4bb2b219d6
Convert android/variable_test.go to test fixtures
...
Bug: 182885307
Test: m nothing
Change-Id: I51d3651244b110bf41cb0e4c331ac663bf816f84
2021-03-18 12:17:05 +00:00
Paul Duffin
791302b412
Convert android/soong_config_modules_test.go to test fixtures
...
Bug: 182885307
Test: m nothing
Change-Id: I53231b820154447e359e48afa47cdf76f0ec6c47
2021-03-18 12:17:05 +00:00
Paul Duffin
e8a4ac49fe
Convert android/mutator_test.go to test fixtures
...
Bug: 182885307
Test: m nothing
Change-Id: Id7eb915af21ccde5acf1d4a0ec339e0672bc3d57
2021-03-18 12:17:05 +00:00
Paul Duffin
485079130d
Convert android/deptag_test.go to test fixtures
...
Bug: 182885307
Test: m nothing
Change-Id: I837c7b9944a9adbe9019ae8a4e69ff3b7086ca5c
2021-03-18 12:17:01 +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
Artur Satayev
b77b0c5e05
Treat allowed_deps.txt source file as optional.
...
Not all branches have packages/common/module, which breaks the build
for them.
Bug: 179234385
Test: removed allowed_deps.txt && m apex-allowed-deps-check
Change-Id: I38f47c7200e1afbd899e29843d0214bef826fcf9
2021-03-18 11:15:33 +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
Paul Duffin
7f09fd298a
Merge "Convert android/defaults_test.go to test fixtures"
2021-03-18 08:57:31 +00:00
Paul Duffin
f91adb93a2
Merge "Add AssertSame" am: c14e8aa6a8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640333
Change-Id: Ifb97e8ff4ba7e0e9437d7309d4e7711851a1a6de
2021-03-18 08:56:38 +00:00
Paul Duffin
e8d96aa86b
Merge "Convert android/csuite_config_test.go to test fixtures" am: 28f0e9e2cb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640332
Change-Id: Iab0fa2e8459f3d97c06b189de0d67881d35fa56f
2021-03-18 08:56:30 +00:00
Paul Duffin
4323de3c85
Merge "Convert android/arch_test.go to test fixtures" am: 3bf545fa6b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640331
Change-Id: I92065d6ed2279960348a44cd2e5be276038a1bb1
2021-03-18 08:56:22 +00:00
Paul Duffin
c14e8aa6a8
Merge "Add AssertSame"
2021-03-18 08:56:21 +00:00
Paul Duffin
f59543d75b
Merge "Add OptionalFixturePreparer" am: abc6ec9d16
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640330
Change-Id: Ie6f2f51ffae94a7b3861f576826e9ac6501f3600
2021-03-18 08:56:13 +00:00
Paul Duffin
c7cca88433
Merge "Remove android/apex_test.go use of buildDir" am: 81e7e2b9a3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640329
Change-Id: I13d38fe6a8f73f79a60fec8f33b5a48057ba9300
2021-03-18 08:56:05 +00:00
Paul Duffin
03088ba909
Merge "Convert android/androidmk_test.go to test fixtures" am: aa8270eca7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640328
Change-Id: Iecbd20eb999bfa994b619e05d4a195804d1bbf62
2021-03-18 08:55:57 +00:00
Paul Duffin
28f0e9e2cb
Merge "Convert android/csuite_config_test.go to test fixtures"
2021-03-18 08:55:55 +00:00
Paul Duffin
85010603f7
Merge "Migrate bpf package to a per test build directory" am: 21d1b9a52c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1640325
Change-Id: I90f05c107d1a78e79e74f7731071f43591f5ed61
2021-03-18 08:55:49 +00:00
Paul Duffin
7eccf3774b
Merge "Correct typo in the name of compatConfigTag" am: 603fa13e08
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642108
Change-Id: If070b560f51925193e504017f59047670930a172
2021-03-18 08:55:41 +00:00
Paul Duffin
69f4244007
Merge "Allow apex dependencies to be restricted to source modules only" am: c0a5ccbf3b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642107
Change-Id: Ic8455ee25a714bac4113b62f1b60aeb51c3095c5
2021-03-18 08:55:32 +00:00
Paul Duffin
3bf545fa6b
Merge "Convert android/arch_test.go to test fixtures"
2021-03-18 08:55:29 +00:00
Paul Duffin
1d83ba3a10
Merge "Separate metadata provider from apex contents provider" am: 533cf74318
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642106
Change-Id: I83083ae32b307c648e6b8d482fd639a38c2e62c7
2021-03-18 08:55:24 +00:00
Paul Duffin
308053d678
Merge "Add AssertIntEquals" am: a8c065522d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643062
Change-Id: I4aadae5694e78f508037525fada874a79eb6c57a
2021-03-18 08:55:15 +00:00