Liz Kammer
7dfaa3a732
Merge "Don't use custom mixed build logic for cc_object"
2021-03-31 18:43:55 +00:00
Paul Duffin
301099e451
Merge "Remove varargs from Fixture(t *testing.T)"
2021-03-31 17:18:58 +00:00
Paul Duffin
5086512524
Merge "Remove varargs from RunTest(t *testing.T)"
2021-03-31 17:18:14 +00:00
Christopher Parsons
c68bc37e51
Merge "Register bp2build module types even outside generation"
2021-03-31 16:32:37 +00:00
Chris Parsons
b164b381b2
Register bp2build module types even outside generation
...
Without this fix, mixed builds are silently disabled, as a recent change
disabled mixed builds for all module types which are not listed in this
map. This map should be populated for both bp2build generation and for
mixed builds.
Test: lunch aosp_flame && USE_BAZEL_ANALYSIS=1 m libc
Change-Id: Ib2a3fb2de2e7a5204ef01355522ae569e0424dc7
2021-03-31 12:26:01 -04:00
Treehugger Robot
838449d993
Merge "Add license for bloaty subdirectory."
2021-03-31 16:14:51 +00:00
Paul Duffin
535e0a105e
Remove unused java testing methods
...
Also, stops exporting methods that are no longer used outside the java
package.
Bug: 181070625
Test: m nothing
Change-Id: I23d35bbc21f82f2dae802aa53badda4c58b41024
2021-03-31 16:20:12 +01:00
Paul Duffin
5560712323
Convert testDexpreoptWithApexes to use test fixtures
...
Bug: 181070625
Test: m nothing
Change-Id: Id40064c539c1d4eeb39396f0881a97529f3a3452
2021-03-31 16:16:20 +01:00
Paul Duffin
45338f05e3
Convert TestApexPermittedPackagesRules to use test fixtures
...
Adds PrepareForTestWithNeverallowRules to make it easy to test
neverallow rules. Avoid exporting any unnecessary neverallow related
methods from the android package.
Bug: 181070625
Test: m nothing
Change-Id: Idfc6955cb23f1a4d1790be7879388154b03f3980
2021-03-31 16:16:18 +01:00
Paul Duffin
34a7fff9e0
Remove varargs from Fixture(t *testing.T)
...
Bug: 182885307
Test: m nothing
Change-Id: I71c3cf47ba1dc8d29d1533789c4c991cb825bd88
2021-03-31 16:04:07 +01:00
Paul Duffin
55e740e9a6
Remove varargs from RunTest(t *testing.T)
...
Use GroupFixturePreparers instead.
Bug: 182885307
Test: m nothing
Change-Id: Iaedb0ddc9d6a704f4d41363e705f3025a1291dc8
2021-03-31 16:03:59 +01:00
Paul Duffin
4f6d15465b
Merge changes Ia3e93b8a,I964af3cb
...
* changes:
Remove ccFixtureFactory
Remove buildDir from cc package
2021-03-31 14:26:03 +00:00
Paul Duffin
d11d199ba6
Merge "Extract prepareForCcTest"
2021-03-31 14:25:19 +00:00
Ulya Trafimovich
bb7513d80a
Emit a better error message in manifest_check.py.
...
Bug: 132357300
Test: lunch aosp_cf_x86_64_phone-userdebug && m
Test: temporarily patch Gallery2 to fail the check, observe the error
Change-Id: Id67e359188396f68dcecd8b3f4d1bc26271af56d
2021-03-31 14:31:49 +01:00
Yi Kong
bf1db7b149
Move gen_sorted_bss_symbols.sh to use LLVM binutils
...
Test: build
Change-Id: I496b92d963d127087daef405dafa24377d6bac97
2021-03-31 17:13:43 +08:00
Paul Duffin
32eccae1ac
Merge "Rename OptionalPath.RelativeToPath -> RelativeToTop"
2021-03-31 08:57:43 +00:00
Ryan Prichard
ae4246488f
Merge "Revert "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt""
2021-03-31 05:29:51 +00:00
Jose "Pepe" Galmes
9d54139763
Merge "Fix missing snapshot headers."
2021-03-31 04:45:43 +00:00
Ryan Prichard
74bdc28817
Revert "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"
...
This reverts commit 29b9de083e
.
Reason for revert: b/184095989
Change-Id: I11d90562e0703631258a5e9f1b2dc36f1702289a
2021-03-31 03:25:57 +00:00
Inseob Kim
152a702955
Add default group support for logical_partition
...
Default group has no size limit and becomes automatically minimized.
Bug: 181107248
Test: boot microdroid
Change-Id: Id38d3ab173db5fa01db3d471af15747d30b1820c
2021-03-31 10:46:46 +09:00
Jose Galmes
0d736917e6
Fix missing snapshot headers.
...
Bug: 184057288
Test: Run unit tests using:
Test: source build/envsetup.sh
Test: m -j nothing
Change-Id: If7402be9199313f9f03627cad662405b03b5d0fe
2021-03-30 17:27:45 -07:00
Colin Cross
8b6378b0dc
Merge "Default metalava sandboxing to true"
2021-03-30 23:30:51 +00:00
Paul Duffin
dff50dffbc
Merge "Remove extraneous calls to TestingBuildParams.RelativeToTop()"
2021-03-30 23:09:52 +00:00
Paul Duffin
8567f226e4
Remove ccFixtureFactory
...
Bug: 182885307
Test: m nothing
Change-Id: Ia3e93b8ab70a7a6a986debd837bd2df84b234847
2021-03-30 23:44:43 +01:00
Paul Duffin
2e6f90e0d0
Extract prepareForCcTest
...
Bug: 182885307
Test: m nothing
Change-Id: Ica17d20775c6dae00978f0f84f768fdaaf55e031
2021-03-30 23:44:43 +01:00
Paul Duffin
c3e6ce04d9
Remove buildDir from cc package
...
Bug: 182885307
Test: m nothing
Change-Id: I964af3cb9a3e7a1dfbd9d5176a702591f6b19f16
2021-03-30 23:44:43 +01:00
Rupert Shuttleworth
02adc14203
Merge "Store the bp2build module opt-out list as a list instead of a map."
2021-03-30 22:04:21 +00:00
Jingwen Chen
a5dcb03450
Merge "bp2build/queryview: codegen control sequences literally."
2021-03-30 21:57:09 +00:00
Colin Cross
ff1c8c49c0
Merge changes I866850b3,I9022d17b
...
* changes:
Add dependencies for Metalava's implicit android.jar references
Support sandboxing droiddoc and droidstubs with args properties
2021-03-30 21:54:51 +00:00
Christopher Parsons
209feec9e3
Merge "Refactor cquery processing to generalize transitions"
2021-03-30 21:52:13 +00:00
Paul Duffin
9e0c3f9993
Convert remaining rust tests to use test fixtures
...
Removes now unused CreateTestContext and stops exporting the
RegisterRequiredBuildComponentsForTest() method as it is only used
locally.
Bug: 181070625
Test: m nothing
Change-Id: Ia2fd3e090f975ee4c807da2c6c162ef3cf7ac446
2021-03-30 22:45:21 +01:00
Dan Albert
368b7e6a13
Merge "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"
2021-03-30 21:44:35 +00:00
Sophie Zheng
dd3797b44e
Merge "NDK API coverage"
2021-03-30 20:44:44 +00:00
Joel Galenson
f4b139abcd
Add system/core/libstats to the Rust allowed list.
...
This is where the Rust statspull API will live.
Test: Build
Change-Id: Ia3cae85c576fa3caacd87395dc76069b26e134de
2021-03-30 13:40:43 -07:00
Sophie Zheng
a4c09e1894
Merge "NDK API coverage"
2021-03-30 20:40:41 +00:00
Liz Kammer
de116856fb
Add depfile handling for bazel_handler.
...
Test: go test soong tests
Test: TODO mixed build change header, mixed build
Change-Id: I7c51faf2d5b1a8717cbab6bb0b3eb75c307fcd85
2021-03-30 15:55:02 -04:00
Liz Kammer
a060c4521e
Handle product_variable asflag for cc_object.
...
cc_object crtbrand sets product_variable.platform_sdk_version.asflag
and will not compile correctly within mixed builds without it.
Only handles product_variables that expand product variables.
Bug: 181794963
Test: ~/aosp/build/bazel/scripts/milestone-2/demo.sh full
Change-Id: I293fcb18032aa51f63bb7b3de94abd6d1ec38180
2021-03-30 15:16:43 -04:00
Paul Duffin
afdd4061ee
Rename OptionalPath.RelativeToPath -> RelativeToTop
...
Bug: 183650682
Test: m nothing
Change-Id: I95239c2273e715e8c4c15a4a02967e01f6913234
2021-03-30 20:06:22 +01:00
Paul Duffin
a71a67a4f5
Remove extraneous calls to TestingBuildParams.RelativeToTop()
...
Deprecated the method to try and prevent any other uses being added.
Bug: 183650682
Test: m nothing
Change-Id: Ia6f43851e5a00c9d96af780e3bd21e03175e1a2f
2021-03-30 20:03:22 +01:00
Paul Duffin
e8366da1f6
Automatically call TestingBuildParams.RelativeToTop()
...
Fixes the few tests that break due to this and which cannot easily be
separated into their own changes.
Bug: 183650682
Test: m nothing
Change-Id: Ia2f31213a1f114a78e66a81d89279ecde9f4c465
2021-03-30 19:35:35 +01:00
Paul Duffin
b2786a3fdc
Merge "Add TestingModule.Outputs"
2021-03-30 16:55:41 +00:00
Paul Duffin
03d56c7743
Merge "Add StringsRelativeToTop"
2021-03-30 16:43:35 +00:00
Paul Duffin
544c368d2e
Merge "Add OptionalPath.RelativeToTop"
2021-03-30 16:43:23 +00:00
Paul Duffin
87d3bae657
Merge "Migrate system_modules_test.go from NormalizePathsForTesting"
2021-03-30 16:42:55 +00:00
Paul Duffin
58367574a5
Merge "Add the transitive dependencies of boot_image to apex"
2021-03-30 16:42:07 +00:00
Paul Duffin
da0470d8c7
Merge "Stop JavaSdkLibrary_... tests requiring absolute path"
2021-03-30 16:35:23 +00:00
Paul Duffin
a33da07343
Merge "Remove buildDir from apex package"
2021-03-30 16:30:10 +00:00
Paul Duffin
35b7e1cf23
Merge "Add StringRelativeToTop"
2021-03-30 16:29:34 +00:00
Paul Duffin
8d3c44a986
Merge "Add contents property to boot_image (and prebuilt_boot_image)"
2021-03-30 16:26:20 +00:00
Treehugger Robot
afd4c68106
Merge "queryview: fix depfile and incrementality."
2021-03-30 16:19:56 +00:00