Treehugger Robot
6302bc5461
Merge "Use fingerprint when min_sdk is current or none" am: dddb0152a5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1720035
Change-Id: I4e51540d1d91f5e48e31e793ae2a1e9c6bab50c4
2021-06-01 10:19:21 +00:00
Treehugger Robot
dddb0152a5
Merge "Use fingerprint when min_sdk is current or none"
2021-06-01 09:45:58 +00:00
Treehugger Robot
88a66219af
Merge "Handle product vars *flags props in cc* modules" am: 72aedde483
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1719330
Change-Id: I60082df1c08a31e201233382fe66e4cb5869dd1c
2021-05-31 08:50:56 +00:00
Treehugger Robot
72aedde483
Merge "Handle product vars *flags props in cc* modules"
2021-05-31 08:21:19 +00:00
Anton Hansson
1239c94e3b
Merge "Remove support for removed_dex_api_filename" am: ee7891acec
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1719604
Change-Id: I97d5ad26de8c302cdec4772fdf658ed36ec97730
2021-05-28 13:42:05 +00:00
Anton Hansson
ee7891acec
Merge "Remove support for removed_dex_api_filename"
2021-05-28 13:23:18 +00:00
Bill Peckham
240d4b0a70
Merge "Fix ExcludeFromVendorSnapshot check" am: 78f76b92e2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1720353
Change-Id: I6bbca19b16ab8cf359a70fe0c0fe5af2105ce72b
2021-05-27 23:57:05 +00:00
Bill Peckham
78f76b92e2
Merge "Fix ExcludeFromVendorSnapshot check"
2021-05-27 23:28:57 +00:00
Julien Desprez
0302f120b5
Merge "Switch python_test_host default to unit_test:true" am: 8620b65bf1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1581566
Change-Id: Ib8b8e778980a58f96f5c282c3904fe1a5272d572
2021-05-27 21:59:04 +00:00
Julien Desprez
8620b65bf1
Merge "Switch python_test_host default to unit_test:true"
2021-05-27 21:31:37 +00:00
Julien Desprez
66534a0144
Switch python_test_host default to unit_test:true
...
Test: presubmit
Bug: 183730987
Change-Id: Ib54c30c751731aaae8a46af96e809c46469659d1
2021-05-27 20:49:13 +00:00
Rupert Shuttleworth
ecedf43e7e
Add cc_prebuilt_library helpers for use by the llvm_prebuilt_library_static converter. am: ffd4582b86
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1712168
Change-Id: Idbbbd755c428f35da86689dd0342044721e83f7e
2021-05-27 20:18:39 +00:00
Liz Kammer
4854a7d2cb
Use fingerprint when min_sdk is current or none
...
We have versions of the same apex targetting different min_sdk_versions;
however, fingerprint is overriding the hardcoded min_sdk_version. We
should only be overriding if it is current or unset.
Test: go test apex soong tests
Change-Id: Id030a5ba7d8edebb806ce83d318132fd839a00a5
2021-05-27 14:28:27 -04:00
Liz Kammer
ba7a9c5e4a
Handle product vars *flags props in cc* modules
...
Test: build/bazel/ci/bp2build.sh
Bug: 188497994
Change-Id: Ifb379e370075d6a7bc55b82d79c210c31ef377e9
2021-05-27 13:57:01 -04:00
Liz Kammer
4fb2bdffee
Merge "Support empty srcs for configurable attrs" am: f6840284b6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1720031
Change-Id: I313493fe9ca01b44053e547b9792801f5cb97aa1
2021-05-27 13:15:49 +00:00
Rupert Shuttleworth
ffd4582b86
Add cc_prebuilt_library helpers for use by the llvm_prebuilt_library_static converter.
...
Test: bazel build //prebuilts/clang/host/linux-x86:prebuilt_libFuzzer
Test: bazel build //prebuilts/clang/host/linux-x86:prebuilt_libomp
Test: bazel build //prebuilts/clang/host/linux-x86:prebuilt_libunwind
Test: bazel build //prebuilts/clang/host/linux-x86:prebuilt_libunwind-exported
Change-Id: I9343e19a149b62785e8ee3096254776c19675032
2021-05-27 09:07:57 -04:00
Liz Kammer
f6840284b6
Merge "Support empty srcs for configurable attrs"
2021-05-27 12:56:29 +00:00
Rupert Shuttleworth
ab1d7bbc35
Merge "Remove unused Common field." am: 69e7231677
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1720650
Change-Id: Ic9e6f164fbe65186a7ffd9c462c5a8256a6fbbf5
2021-05-27 12:43:13 +00:00
Justin Yun
9e13187f6b
Fix ExcludeFromVendorSnapshot check
...
ExcludeFromVendorSnapshot() must return true if the module must not
be snapshotted and built from the vendor source tree.
The default value must be false because rust modules are provided by
the system source tree.
Bug: 184042776
Bug: 189372652
Test: m nothing
Change-Id: I267c3a5674bea966d1dd831cda73538ae94cf25f
2021-05-27 21:27:52 +09:00
Rupert Shuttleworth
69e7231677
Merge "Remove unused Common field."
2021-05-27 12:13:31 +00:00
Anton Hansson
5ab4286e84
Remove support for removed_dex_api_filename
...
Nothing uses this argument anymore, so simplify the droidstubs code by
removing the argument.
Bug: 189426360
Test: m
Merged-In: I0e4b84d73a954b3819db1149be3da287cf604eec
Change-Id: I0e4b84d73a954b3819db1149be3da287cf604eec
2021-05-27 12:50:44 +01:00
Rupert Shuttleworth
aff15276c8
Merge "Add e.g. Target: { Android_arm: { ...} } support to LabelAttribute." am: 1b1ab6d7ab
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1720610
Change-Id: Iba9b2a668581f025a28e4d653c9482dd42ac07fa
2021-05-27 09:49:13 +00:00
Martin Stjernholm
5eb4b21deb
Merge "Drop "prebuilt_" prefixes from names registered in ApexInfo.InApexXxx." am: 664b2cf89a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1719298
Change-Id: I70f730acbbb9123146c2753a3cd06325d19030dd
2021-05-27 09:48:22 +00:00
Rupert Shuttleworth
1b1ab6d7ab
Merge "Add e.g. Target: { Android_arm: { ...} } support to LabelAttribute."
2021-05-27 09:30:39 +00:00
Martin Stjernholm
664b2cf89a
Merge "Drop "prebuilt_" prefixes from names registered in ApexInfo.InApexXxx."
2021-05-27 09:24:55 +00:00
Rupert Shuttleworth
9d63de8c6e
Remove unused Common field.
...
Test: TH
Change-Id: I8364dc70bde4ba02925dc713ca9f2a17fa3da083
2021-05-27 04:48:47 -04:00
Rupert Shuttleworth
22cd2eb3d1
Add e.g. Target: { Android_arm: { ...} } support to LabelAttribute.
...
LabelListAttribute support was already added, but LabelAttribute support is needed for cc_import rules.
Test: Added unit test for version_script, which is the only supported LabelAttribute so far.
Change-Id: I4e86e7391586e0780623d06b794e7399f0ccd50e
2021-05-27 04:32:48 -04:00
Colin Cross
7ca753793f
Merge changes I0116f5f4,I950c9b54,I967f5c42 am: 4ab2dd1afe
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1718475
Change-Id: I7f113c010b0b4c52e84e88a3db9f93e78ea7c621
2021-05-27 01:14:45 +00:00
Colin Cross
4ab2dd1afe
Merge changes I0116f5f4,I950c9b54,I967f5c42
...
* changes:
Treat java libraries in classpath fragments as directly in apex
Make CopyDirectlyInAnyApex match the documentation
Remove unused cc.copyDirectlyInAnyApexDependencyTag
2021-05-27 00:56:52 +00:00
Rupert Shuttleworth
04451f9ca6
Merge "Use Finder for getPathsToIgnoredBuildFiles() to try and speed up builds with slow hard drives." am: de2dfdea6b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1711789
Change-Id: Ie34fea40dec6ac42453edc0420d9d584810c79e9
2021-05-26 22:36:46 +00:00
Rupert Shuttleworth
de2dfdea6b
Merge "Use Finder for getPathsToIgnoredBuildFiles() to try and speed up builds with slow hard drives."
2021-05-26 22:22:14 +00:00
Jose "Pepe" Galmes
ebf6fd1ca9
Merge "Fix change in logic introduced in https://r.android.com/1666563 ." am: 581dc930b2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1718372
Change-Id: I106e25cfb1d9dabc72dba4f6d621ac4aeedf28ea
2021-05-26 21:28:40 +00:00
Jose "Pepe" Galmes
581dc930b2
Merge "Fix change in logic introduced in https://r.android.com/1666563 ."
2021-05-26 21:09:05 +00:00
Liz Kammer
2b07ec7b3b
Support empty srcs for configurable attrs
...
Test: mixed build linkerconfig
Change-Id: I1ee56f7fa46ce2971ecae6d2ca9258631a32f46a
2021-05-26 16:58:54 -04:00
Rupert Shuttleworth
e03bb61072
Use Finder for getPathsToIgnoredBuildFiles() to try and speed up builds with slow hard drives.
...
NOTE: This relies on https://chromium-review.googlesource.com/c/angle/angle/+/2906252 being merged into AOSP first
Test: bazel build //bionic/... //external/... //frameworks/... //system/...
Change-Id: Id552941274ffbc9955dfcd8f545a58f1e3368845
2021-05-26 16:11:27 -04:00
Anton Hansson
5ca0e39a1c
Merge "Add sdkextensions tests to soong TEST_MAPPING" am: cf21e25ef1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1719598
Change-Id: I5cb2060713218d4182b64c0c3684d2abc96f0c7e
2021-05-26 20:11:11 +00:00
Treehugger Robot
314b2c5ae2
Merge "Use stem when filtering boot jars." am: 4e0c1d3747
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1719300
Change-Id: Ia5e56960ad2df58faf8492dfc6e3a94006b4fd93
2021-05-26 20:10:22 +00:00
Anton Hansson
cf21e25ef1
Merge "Add sdkextensions tests to soong TEST_MAPPING"
2021-05-26 19:53:03 +00:00
Treehugger Robot
4e0c1d3747
Merge "Use stem when filtering boot jars."
2021-05-26 19:35:46 +00:00
Martin Stjernholm
8f8a1abeb7
Merge "Move logic to disable flattening in unbundled app mode from Soong to make." am: 0770a175a1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1714380
Change-Id: I16f5a39497073de65f373871bb2c897dca00297f
2021-05-26 18:35:06 +00:00
Anton Hansson
f300316614
Add sdkextensions tests to soong TEST_MAPPING
...
Changes in soong have left sdkextensions tests broken for over 2 days,
so let's prevent that happening again.
Bug: 180105615
Test: presubmit
Change-Id: I6961228bdd5a4606eb5078ed332b508ef6d2d6af
2021-05-26 19:25:52 +01:00
Martin Stjernholm
0770a175a1
Merge "Move logic to disable flattening in unbundled app mode from Soong to make."
2021-05-26 18:21:45 +00:00
Dan Willemsen
ed340f25f3
Merge "Add go2bp tool" am: 5ac072371e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1715720
Change-Id: Ifa09c4e8673998297ca481a63e83558a7507dcf0
2021-05-26 17:21:59 +00:00
Colin Cross
c33e5216f1
Treat java libraries in classpath fragments as directly in apex
...
Coverage is applied to java libraries that are directly in an apex.
Mark java libraries that are in an apex through a bootclasspath_fragment
or a systemserverclasspath_fragment as directly in the apex by
implementing CopyDirectlyInAnyApexTag on the dependency tags used for
their contents.
Bug: 183759446
Test: TestApexJavaCoverage
Change-Id: I0116f5f415083b5194000988cb257454ef115200
2021-05-26 10:07:44 -07:00
Dan Willemsen
5ac072371e
Merge "Add go2bp tool"
2021-05-26 17:03:35 +00:00
satayev
1c564cc9c9
Use stem when filtering boot jars.
...
For testing purposes, a boot jar may be provided by a test java_library
that has a different content name, but sets "stem" property to match
the original java_library.
Given that Stem() returns either the property value or module name,
it is safe to replace all content names by their stems.
Bug: 180105615
Test: atest CtsClasspathsTestCases sdkextensions_e2e_tests
Merged-In: Ic519ffa0c5b616abddf15b41c934421dfac2e78a
Change-Id: Ic519ffa0c5b616abddf15b41c934421dfac2e78a
2021-05-26 17:13:43 +01:00
Martin Stjernholm
be10503d3a
Drop "prebuilt_" prefixes from names registered in ApexInfo.InApexXxx.
...
Neither InApexVariants nor InApexModules should have them. This allows
us to get rid of InApexVariantByBaseName as well.
Test: m nothing
Test: m nothing SOONG_CONFIG_art_module_source_build=false
Bug: 180325915
Change-Id: Icbe4e025ce1a4c8dd258ff95d326ca2f27905188
2021-05-26 17:05:17 +01:00
Jingwen Chen
ba0ed994cb
bp2build: support arch/target static/shared props. am: bcf5304eab
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1717437
Change-Id: Ic65823a410a630ce0a486e500a54583dad426939
2021-05-26 11:02:21 +00:00
Jingwen Chen
bcf5304eab
bp2build: support arch/target static/shared props.
...
This CL adds the support for static/shared cc_library props nested
within target and arch structs, and correctly sets them in the right
select statement.
Test: TH
Bug: 189183307
Change-Id: I48f7d62755ebab56fe03d3ecee2e15427eb552c9
2021-05-26 09:28:19 +00:00
Jose Galmes
737d0a1f84
Fix change in logic introduced in https://r.android.com/1666563 .
...
https://r.android.com/c/platform/build/soong/+/1666563/3/cc/image.go#551
introduced a change in logic.
Bug: 188717568
Test: source build/envsetup.sh
Test: m -j nothing
Change-Id: Iab27f1c3ca1a488d074f9c5c61fe071d7d445b91
2021-05-25 22:06:41 -07:00