Commit Graph

35151 Commits

Author SHA1 Message Date
Paul Duffin
f199bedb2d Merge "Remove varargs from RunTest(t *testing.T)" am: 5086512524
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1658078

Change-Id: Ib8249d0e33acbc0f6da88d90e3758b810debedc0
2021-03-31 17:55:24 +00:00
Paul Duffin
5086512524 Merge "Remove varargs from RunTest(t *testing.T)" 2021-03-31 17:18:14 +00:00
Christopher Parsons
776f9ef8cb Merge "Register bp2build module types even outside generation" am: c68bc37e51
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1657219

Change-Id: I6804bd38c95e121746995a18a59f5473338ce2cf
2021-03-31 16:56:19 +00:00
Treehugger Robot
c2afccd7a2 Merge "Add license for bloaty subdirectory." am: 838449d993
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655029

Change-Id: I5ad9baf2e55554ecfecbd4e550f5200e1fb39c9b
2021-03-31 16:52:29 +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
18674bc4a8 Merge changes Ia3e93b8a,I964af3cb am: 4f6d15465b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655215

Change-Id: Ic544a97baed5a669a9528505b5a4110b8e738762
2021-03-31 15:15:17 +00:00
Paul Duffin
3b56761441 Merge "Extract prepareForCcTest" am: d11d199ba6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655213

Change-Id: I16a5fd04cedaa91b98b82c3450a39d80070a64a2
2021-03-31 15:15:01 +00: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
4ac8cd6582 Merge "Rename OptionalPath.RelativeToPath -> RelativeToTop" am: 32eccae1ac
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1658072

Change-Id: I6b9fd21978838a5bae4926e51ef94ca4d81e1560
2021-03-31 09:24:51 +00:00
Paul Duffin
32eccae1ac Merge "Rename OptionalPath.RelativeToPath -> RelativeToTop" 2021-03-31 08:57:43 +00:00
Ryan Prichard
1a454d987c Merge "Revert "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt"" am: ae4246488f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1658930

Change-Id: If041c23640c24b1b55ce360a8e8c2f38b1b598f7
2021-03-31 05:52:22 +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
db27fa0986 Merge "Fix missing snapshot headers." am: 9d54139763
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1658921

Change-Id: I3bb44e08056acef7021535bed77fa845c27a2d4e
2021-03-31 05:27:25 +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
0d6a3af0f7 Merge "Default metalava sandboxing to true" am: 8b6378b0dc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1654170

Change-Id: Id89be56d43c5f5aad1e32e218c81a53b62ec22d5
2021-03-31 00:15:16 +00:00
Colin Cross
8b6378b0dc Merge "Default metalava sandboxing to true" 2021-03-30 23:30:51 +00:00
Paul Duffin
c9ec211cca Merge "Remove extraneous calls to TestingBuildParams.RelativeToTop()" am: dff50dffbc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655209

Change-Id: I18cb3ad760fcc44cf73f47f5a4d96b5cd9475287
2021-03-30 23:15:11 +00:00
Rupert Shuttleworth
9772e3bcb3 Merge "Store the bp2build module opt-out list as a list instead of a map." am: 02adc14203
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1658239

Change-Id: I35db4bf9185c55ae6347e37d5cd112206d89d64c
2021-03-30 23:15:02 +00:00
Jingwen Chen
8442e2a79c Merge "bp2build/queryview: codegen control sequences literally." am: a5dcb03450
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1657881

Change-Id: I16c70676816ff1b8f9e8160c5b862afcb04814ad
2021-03-30 23:14:54 +00:00
Colin Cross
d39b826a04 Merge changes I866850b3,I9022d17b am: ff1c8c49c0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1656461

Change-Id: I7f8c425b336be6acf918e724771808bd8d892e38
2021-03-30 23:14:16 +00:00
Christopher Parsons
0bb06887ba Merge "Refactor cquery processing to generalize transitions" am: 209feec9e3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1657220

Change-Id: I248fcd7a9b1c5fef2be4d8ba3af01df35f4d38cb
2021-03-30 23:09:59 +00:00
Paul Duffin
dff50dffbc Merge "Remove extraneous calls to TestingBuildParams.RelativeToTop()" 2021-03-30 23:09:52 +00:00
Dan Albert
1ef79d5171 Merge "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt" am: 368b7e6a13
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1554719

Change-Id: Iee385287ad198c8e37d193dd45cabb4a2c12f911
2021-03-30 23:09:19 +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
b7a42c6c0e Merge "NDK API coverage" am: dd3797b44e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1653490

Change-Id: I9957cc583ff35fda2aba0988757c658716114227
2021-03-30 21:10:00 +00:00
Sophie Zheng
c97784dc7d Merge "NDK API coverage" am: a4c09e1894
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655970

Change-Id: Iad457111e0148dfa3d97597543a6783d552e9b7c
2021-03-30 21:09:52 +00:00
Paul Duffin
fe53b7a2df Automatically call TestingBuildParams.RelativeToTop() am: e8366da1f6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655208

Change-Id: Ieccff38ab4e7e4a08bd2bb45b6e6a89a9d323243
2021-03-30 21:08:20 +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
2f57a16255 Merge "Add TestingModule.Outputs" am: b2786a3fdc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655207

Change-Id: Iecb33e587aa8f93552849537d34928b7b976fbdb
2021-03-30 17:46:55 +00:00
Paul Duffin
3fa9946ca6 Merge "Add StringsRelativeToTop" am: 03d56c7743
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1654686

Change-Id: Idab2e9752e4546289b0a65f54f302a31c8dae049
2021-03-30 17:46:45 +00:00
Paul Duffin
14a8d82e35 Merge "Add OptionalPath.RelativeToTop" am: 544c368d2e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1654685

Change-Id: I60f3dfb2d094dd9da407d96fd288f646c9390caf
2021-03-30 17:46:14 +00:00
Paul Duffin
41ded6e7da Merge "Migrate system_modules_test.go from NormalizePathsForTesting" am: 87d3bae657
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1654684

Change-Id: Id240796a62d7af75adc9f1c221b5719f0b029665
2021-03-30 17:45:36 +00:00
Paul Duffin
023bd16632 Merge "Add the transitive dependencies of boot_image to apex" am: 58367574a5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1652623

Change-Id: Ia8166cf878f30f8c5147739e2e6ebe83b4c5c592
2021-03-30 17:45:01 +00:00