Jack He
f99ba27101
Revert "Set min_sdk_version for java imports in pom2bp"
...
Revert "Give pom2bp -default-min-sdk-version 24 param"
Revert submission 1662079-axd
Bug: 184656328
Reason for revert: Break build
Reverted Changes:
I2f4dc7585:Update androidx min_sdk_version in allowed_deps
I5cb8c736d:Give pom2bp -default-min-sdk-version 24 param
I3b029315a:Set min_sdk_version for java imports in pom2bp
Change-Id: Ic97cbd1714f6113188ad4647ce71105f9641fad7
2021-04-06 18:52:50 +00:00
Anton Hansson
5d8652fcaf
Set min_sdk_version for java imports in pom2bp
...
Previously min_sdk_version was only set for *_library build rules, and
not for *_import targets. This made min_sdk_version default to
sdk_version, which is usually "current", which is not correct for these
libraries.
Test: pom2bp -default-min_sdk_version 24 for androidx
Change-Id: I3b029315abeb559e66efad847ae664efb79f4509
2021-04-01 11:49:35 +00:00
Jaewoong Jung
6d15d63556
Add min_sdk_version to java_import.
...
Fixes: 183695497
Test: apex_test.go
Change-Id: Ie255f74d40432f4bdd0092d618705a7d17235e58
2021-03-31 16:50:42 -07:00
Treehugger Robot
fdfb9540f6
Merge "Do not build stats-log-api-gen-exports in mainline builds"
2021-03-31 18:48:18 +00:00
Liz Kammer
acacbc1166
Merge "Handle product_variable asflag for cc_object."
2021-03-31 18:43:55 +00:00
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
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
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
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
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
Sophie Zheng
a4c09e1894
Merge "NDK API coverage"
2021-03-30 20:40:41 +00: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
Rupert Shuttleworth
4f43fe96bd
Store the bp2build module opt-out list as a list instead of a map.
...
Test: bp2build-sync.py write; bazel build //bionic/...
Change-Id: I3f68f4c62446841aa795bb84161d1fa82510ae9d
2021-03-30 14:13:16 +00:00
Jingwen Chen
0702791a99
bp2build: arch-configurable selects for label list attrs.
...
This CL adds the configurable LabelListAttribute support to bp2build.
Test: go test
Change-Id: I2ef9e385d9cf1b1845988128eca1d8cda1ecb5e8
2021-03-30 13:22:48 +00:00
Jingwen Chen
58a12b8bae
bp2build/queryview: codegen control sequences literally.
...
See b/184026959 for an instance where a genrule's cmd contains \n, and
the codegenerator generates an applied newline. It should be the
original newline control sequence literal.
Test: TH, bp2build unit test
Fixes: 184026959
Change-Id: Idb99ea87c75dfa4cb3ae679f98d8f61cb5a5ab09
2021-03-30 13:09:42 +00:00
Treehugger Robot
053520a86a
Merge "bp2build code generator: pretty print zero values"
2021-03-30 12:54:21 +00:00