Jeff Vander Stoep
0f36d16fee
Disable clippy::upper-case-acronyms
...
Bug: 184269635
Test: TH
Change-Id: Ib941f9d625d1b8cfc395fd926ddf301e11fb0c4a
2021-04-01 19:40:37 +02: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
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
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
Jingwen Chen
e8a8296bc6
queryview: fix depfile and incrementality.
...
A previous change caused the depfile construction to be incorrect.
Test: run m queryview twice, second run is a no-op.
Fixes: 184026544
Change-Id: Ibaaa97d6a09956e1ca9c48643b0ffad75e44f051
2021-03-30 12:22:12 +00:00
Ulyana Trafimovich
23e574fcc4
Merge "Don't fail the build if manifest_check cannot extract targetSdkVersion."
2021-03-30 10:34:20 +00:00
Jingwen Chen
fc490bde7e
bp2build code generator: pretty print zero values
...
e.g for zero slices, return the empty list, instead of an empty string.
Test: TH
Change-Id: I7c89d7b0f6ac28d1aa1a76d604173bc99c841a02
2021-03-30 10:30:51 +00:00
Martin Stjernholm
38e9f0b82f
Merge changes Iaa6411b5,I2118b8a2,Ibbdd3cbd,I2d1bbda2
...
* changes:
Make test_for arch variant.
Don't use APEX stubs between internal libs in the same APEX when building test_for modules.
Add FilterListPred.
Don't panic on "go test" invocations from the command line.
2021-03-30 09:26:36 +00:00
Anton Hansson
fa1d64c690
Merge "Add pom2bp param for default min_sdk_version"
2021-03-30 08:36:26 +00:00
Thiébaud Weksteen
2c85c1d605
Merge "bloaty: Append new file extension"
2021-03-30 07:19:43 +00:00
Colin Cross
3fbf2bea6a
Default metalava sandboxing to true
...
Turn on sandboxing everywhere.
Bug: 153703940
Test: m checkbuild
Change-Id: Ie64913d302efb780d5be9c1b32e6c368d72feba3
2021-03-29 21:57:49 -07:00
Colin Cross
5f6ffc72f7
Add dependencies for Metalava's implicit android.jar references
...
Metalava implicitly searches
prebuilts/tools/common/api-versions/android-%/android.jar and
prebuilts/sdk/%/public/android.jar when looking for --android-jar-patterns
matches, and fails if it can't find a match for an API level between 1 and
28 in at least one pattern. Add android.jar files from the
api_levels_annotations_dirs directories to try to satisfy these patterns.
Bug: 153703940
Test: m docs
Change-Id: I866850b33d9a5cd82cc5135bd8f9e9400ed65439
2021-03-29 21:57:49 -07:00
Treehugger Robot
e2f39b038d
Merge "Append ".static" to ubsan runtime for static binaries"
2021-03-30 03:07:27 +00:00
Chris Parsons
ad0b5ba42c
Refactor cquery processing to generalize transitions
...
This is a step in the right direction to allow generalized specification
of variant information in the form of configuration transitions, such
that not all transitions must be specified manually. This allows for
much more reasonable addition of new variations in mixed builds.
Test: lunch aosp_flame && USE_BAZEL_ANALYSIS=1 m libc
Change-Id: I95898da06af6d0e3e1f7c073aaf8ec0ebe26c951
2021-03-29 21:14:57 -04:00
Colin Cross
32f1de3327
Append ".static" to ubsan runtime for static binaries
...
Bug: 183611452
Test: m BUILD_HOST_static=1 tinyplay2
Change-Id: I8d8ef762781f0583c8b9337ce5876c7d3140f665
2021-03-29 16:47:56 -07:00
sophiez
d3e2742ad2
NDK API coverage
...
Update OWNERS file under build/soong/scripts to include coverage team as owner of related scripts.
Test: TARGET_BUILD_APPS=com.android.adbd m dist apps_only
Change-Id: I6150d5bda0d59828a985cd2ab5dd0aa38a7987c3
2021-03-29 20:29:35 +00:00
Paul Duffin
16e6aeeb51
Merge "Add dependencies for art boot_image"
2021-03-29 20:27:12 +00:00
Paul Duffin
962783a660
Add TestingModule.Outputs
...
Needed for some follow up changes.
Bug: 183650682
Test: m nothing
Change-Id: I326e6be6d397f3300be68c1fe069fc72aa736cee
2021-03-29 17:29:30 +01:00
Paul Duffin
0aafcbfd2d
Add StringsRelativeToTop
...
Needed for some follow up changes.
Bug: 183650682
Test: m nothing
Change-Id: Ic14cb4f4592d887dd897989482d540e12065c0fe
2021-03-29 17:29:30 +01:00
Paul Duffin
a5b8135bdf
Add OptionalPath.RelativeToTop
...
Needed for some follow up changes.
Bug: 183650682
Test: m nothing
Change-Id: If38dfe8e919094a7365bcee6cb71bfd0409f4454
2021-03-29 17:29:30 +01:00
Paul Duffin
29888b1bf0
Migrate system_modules_test.go from NormalizePathsForTesting
...
Bug: 183650682
Test: m nothing
Change-Id: I9ccbbe521a449cb88ab13cde10161a41cfcf244c
2021-03-29 17:29:30 +01:00
Paul Duffin
cf8d7db02b
Stop JavaSdkLibrary_... tests requiring absolute path
...
Bug: 183650682
Test: m nothing
Change-Id: Ia6e5034bbf3920a9e1f8fc319dc722658f6cb1ce
2021-03-29 17:29:30 +01:00