Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
3079d96120
Merge "Lift BazelHandler interface into android/" am: ccb6a01324
am: 4e088148d3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1793169
Change-Id: I4ed98cbd30139e5c2d91164c3447ef295970ae17
2021-08-11 21:36:03 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
0d99045b69
Lift BazelHandler interface into android/
...
Because it's commonly useful and not cc/ specific
Also export GenerateBazelBuildActions and update uses
Test: Existing tests pass
Change-Id: Ibc6858bb1129afba181a7686dda432defe33b00d
2021-08-11 18:19:40 +00:00
Colin Cross
b2d3837eb8
Merge "Remove libjemalloc5 from default musl libraries" am: 88c5391dbe
am: 35cff6ebd9
am: 874af37b5c
am: 995483f354
am: dd770a21aa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1784829
Change-Id: I143a1e72a5459824f9256c667f461ef6549500ec
2021-08-11 15:28:37 +00:00
Colin Cross
874af37b5c
Merge "Remove libjemalloc5 from default musl libraries" am: 88c5391dbe
am: 35cff6ebd9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1784829
Change-Id: Icb3b186b1530211286e3ef75a89d05ab121628c0
2021-08-11 14:43:24 +00:00
Colin Cross
88c5391dbe
Merge "Remove libjemalloc5 from default musl libraries"
2021-08-11 14:14:48 +00:00
Christopher Parsons
ffd065f319
Merge "Support rtti in bp2build" am: 9f7c388337
am: 13923bc3d6
am: 69dcdd1024
am: efc6df44f1
am: c4412a5262
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1792107
Change-Id: I1cd9321b4839291d0e943b8a2eb148adb7ed8a8f
2021-08-10 22:17:05 +00:00
Yabin Cui
c01acd659b
Merge "Revert^2 "Switch to clang r428724 13.0.1."" am: 39ff202748
am: 3ce0f54b9e
am: c51eaf9d7c
am: f74112ad36
am: 2b6dcfa306
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1792067
Change-Id: I343a481d6c6eaf6e142b145467b0cda96bb95749
2021-08-10 21:29:01 +00:00
Christopher Parsons
69dcdd1024
Merge "Support rtti in bp2build" am: 9f7c388337
am: 13923bc3d6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1792107
Change-Id: I8747084d228958c31d532b360a44077845c67495
2021-08-10 21:09:06 +00:00
Christopher Parsons
9f7c388337
Merge "Support rtti in bp2build"
2021-08-10 20:05:44 +00:00
Yabin Cui
c51eaf9d7c
Merge "Revert^2 "Switch to clang r428724 13.0.1."" am: 39ff202748
am: 3ce0f54b9e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1792067
Change-Id: Id28c7d9899700adc52687b6f51fae6c0291c3056
2021-08-10 19:54:04 +00:00
Yabin Cui
39ff202748
Merge "Revert^2 "Switch to clang r428724 13.0.1.""
2021-08-10 19:22:15 +00:00
Treehugger Robot
3109f09f3e
Merge "Support exporting device arch toolchain info" am: 6fd3047115
am: 97cc383f00
am: 550ed75031
am: ad02ec61fc
am: e7de227b67
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1784827
Change-Id: I592186de8774ffe7fa4e46eaa1ae3f8e9d431251
2021-08-10 17:21:27 +00:00
Treehugger Robot
550ed75031
Merge "Support exporting device arch toolchain info" am: 6fd3047115
am: 97cc383f00
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1784827
Change-Id: Ia6e381669455b567356acf0d7350521c5cb42a01
2021-08-10 16:45:25 +00:00
Treehugger Robot
6fd3047115
Merge "Support exporting device arch toolchain info"
2021-08-10 16:11:52 +00:00
Chris Parsons
2c7883941e
Support rtti in bp2build
...
Rtti was already handled by bazel macros, so this change simply
propagates the rtti bit to these macros.
Test: Run bp2build, build //external/libcxxabi:all
Change-Id: I63296db2db868202874c8bd0b1de6310f7bb85c7
2021-08-10 11:58:07 -04:00
Yabin Cui
10bf3b8c00
Revert^2 "Switch to clang r428724 13.0.1."
...
786c1d41ef
Change-Id: Ic143d1b3375c8258e0e4274339524380de391676
2021-08-10 15:42:10 +00:00
Roshan Pius
64e8e775ac
Add uwb HAL to VndkMustUseVendorVariantList
...
Bug: 195308730
Test: Compiles
Change-Id: I8ad83f4aae90a58cfd66d6a2cf320c145cdc7549
2021-08-09 15:59:14 -07:00
Christopher Parsons
c4d29922c7
Merge "bp2build: handle system_shared_libs" am: 67d6ccecfc
am: 430c7d2c53
am: 6787777e06
am: 496cb48b84
am: f5032bf08e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1783210
Change-Id: I44c7bdec5a922155e5a0b0a219ebe53fba9e5f56
2021-08-09 20:34:32 +00:00
Christopher Parsons
6787777e06
Merge "bp2build: handle system_shared_libs" am: 67d6ccecfc
am: 430c7d2c53
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1783210
Change-Id: I7406a36873b6dc626cf89ceab6aa15d4aa05368c
2021-08-09 19:41:50 +00:00
Christopher Parsons
67d6ccecfc
Merge "bp2build: handle system_shared_libs"
2021-08-09 19:11:00 +00:00
Chris Parsons
51f8c39261
bp2build: handle system_shared_libs
...
- If no system_shared_libs is specified, bp2build writes no attribute
value. In this case, the bazel library macros determine the correct
default behavior.
- If any system_shared_libs is specified for any variant, then bp2build
writes the value verbatim. This includes if an empty list is specified,
as this should override defaulting behavior.
Note this defaulting behavior is incomplete and will be incorrect in
corner cases. For example, if, in an Android.bp, system_shared_libs is
specified for os.linux_bionic but not for os.android, then the bazel
default for os.android will be incorrect. However, there are no current
modules in AOSP which fit this case.
As a related fix, supports static struct for cc_library_static.
Also, removes some elements from the bp2build denylist.
Test: mixed_droid CI
Change-Id: Iee5feeaaf05e8e7209c7a90c913173832ad7bf91
2021-08-09 11:41:09 -04:00
Yabin Cui
dd89e0f90a
Merge "Revert "Switch to clang r428724 13.0.1."" am: 01cad0cddc
am: 04d221ad04
am: 5659921cbb
am: 95a9d16f1e
am: 13b66a0c44
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1789927
Change-Id: I27ce56fa8302f44a50cc9612e0e42405156ddfee
2021-08-08 22:21:15 +00:00
Yabin Cui
5659921cbb
Merge "Revert "Switch to clang r428724 13.0.1."" am: 01cad0cddc
am: 04d221ad04
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1789927
Change-Id: Iaa0bbd11a3ab4b60e0de49a814f55c7dd6570793
2021-08-08 21:31:34 +00:00
Yabin Cui
01cad0cddc
Merge "Revert "Switch to clang r428724 13.0.1.""
2021-08-08 21:02:29 +00:00
Yabin Cui
786c1d41ef
Revert "Switch to clang r428724 13.0.1."
...
Revert submission 1743633-switch-to-clang-r428724
Reason for revert: fix build
Reverted Changes:
I824f3bc1c:Update bazel's clang version to clang-r428724
I6c4c26267:Adjust test for compiler update.
I94ab1f2dc:Switch to clang r428724 13.0.1.
Change-Id: I846e904b6e868d4e2be1bd8260ed59fc5464ef68
2021-08-08 20:59:59 +00:00
Yabin Cui
234f9c3192
Merge "Switch to clang r428724 13.0.1." am: baeca672c1
am: dd91217745
am: 1d0eb600b3
am: 3dad0e33bc
am: 1279c99e5c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1743633
Change-Id: Id191e4de87cb82af03ebb39fa527b965e0783d33
2021-08-08 19:32:36 +00:00
Yabin Cui
1d0eb600b3
Merge "Switch to clang r428724 13.0.1." am: baeca672c1
am: dd91217745
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1743633
Change-Id: I136abfa3ae1a7de5e8d83819234753891df2ddca
2021-08-08 18:43:11 +00:00
Yabin Cui
baeca672c1
Merge "Switch to clang r428724 13.0.1."
2021-08-08 18:20:22 +00:00
Yabin Cui
e87329c4c5
Switch to clang r428724 13.0.1.
...
Bug: http://b/190099451
Test: build and boot devices
Change-Id: I94ab1f2dc194ffcec5681708b558af26ced30aae
2021-08-06 18:28:08 +00:00
Stephen Hines
ea0faa4d71
Merge "Revert "Make DWARF v5 the default debug information format."" am: fe3bab726d
am: 463011ccf9
am: f325197225
am: e30be6958d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1788771
Change-Id: I5b915644090e2a75c822e116ec0850e9ff96916b
2021-08-06 18:24:04 +00:00
Stephen Hines
f325197225
Merge "Revert "Make DWARF v5 the default debug information format."" am: fe3bab726d
am: 463011ccf9
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1788771
Change-Id: I0ec309672bc2c7ed8971791e0b942e6b7c564083
2021-08-06 17:46:31 +00:00
Stephen Hines
fe3bab726d
Merge "Revert "Make DWARF v5 the default debug information format.""
2021-08-06 17:04:41 +00:00
Stephen Hines
bb1a17aecb
Revert "Make DWARF v5 the default debug information format."
...
This reverts commit 5e13f86fc8
.
libabigail isn't quite ready for DWARF v5 yet, so let's revert this
temporarily.
Bug: http://b/182004844
Bug: http://b/195152239
Bug: http://b/195698910
Test: Builds
Change-Id: I4b1dd8f9e64d19f37c90b8a2433cbb302c7d5105
2021-08-05 17:05:01 -07:00
Elvis Chien
9c99354465
Allow PRODUCT_CFI_INCLUDE_PATHS to work with blueprints also
...
but disable it for host modules like how it's done for Android.mk
Bug:
179233410
Test:
m -j32
Change-Id: I246cd9163e06997a2b50cd25688370690c8929af
2021-08-04 18:07:51 +08:00
Christian Wailes
f165985e5c
Merge "Conditionally apply rustdoc flags to third party crates" am: 99bc67a548
am: d793c89474
am: 8e11a903a9
am: 5ee8f16ca1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1783747
Change-Id: I95e1e45f438c09717f6de6f5b2fdd1d270c318ef
2021-08-03 20:57:28 +00:00
Christian Wailes
8e11a903a9
Merge "Conditionally apply rustdoc flags to third party crates" am: 99bc67a548
am: d793c89474
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1783747
Change-Id: Id56a4a5dd2d8259d6a0d666e403238759885d570
2021-08-03 20:18:47 +00:00
Liz Kammer
0713c82db7
Merge "Correct isThirdParty check" am: 0f77bb4304
am: 72a3729ced
am: 003e20e7f8
am: 3abc3bc606
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1769705
Change-Id: I9ad0b85e15a8cea3284ee9aeb35504e6fc4527bc
2021-08-03 16:04:41 +00:00
Liz Kammer
003e20e7f8
Merge "Correct isThirdParty check" am: 0f77bb4304
am: 72a3729ced
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1769705
Change-Id: I978766d9e515004b2b39c608793d557d9b876506
2021-08-03 15:34:26 +00:00
Colin Cross
90a8b3abd5
Remove libjemalloc5 from default musl libraries
...
The musl allocator works now, remove libjemalloc5 from the default
libraries.
Bug: 190084016
Test: prebuilts/build-tools/build-prebuilts.sh --musl
Change-Id: I12ef8112af99f90e10e8a247ddc2eddfd4cd98a0
2021-08-02 13:17:13 -07:00
Liz Kammer
82ad8ccca2
Support exporting device arch toolchain info
...
Test: bp2build.sh
Bug: 187084665
Change-Id: I49e75f603accab519784dbaf25d85db0010587a3
2021-08-02 14:54:10 -04:00
Chris Wailes
b2703adce4
Conditionally apply rustdoc flags to third party crates
...
This CL changes the logic in rust/builder.go so that some rustdoc flags
are only applied to external crates. This will allow us to since
warnings and deal with soft-failures in external crates while allowing
us to be more strict with our internal Rust code.
Bug: 195136952
Test: m rustdoc
Change-Id: Icdde304bbbb323cae9657e8f842f58ae79e811ce
2021-08-02 11:50:34 -07:00
Liz Kammer
067b889762
Correct isThirdParty check
...
Previously, isThirdParty check was over-selecting for third-party-ness,
the only non-third-party paths were those explicitly excluded from
typically third party directories, results in ~all code being considered
third party.
Updated test to ensure bionic is not considered third party, which fails
without this change.
Test: go soong tests
Change-Id: Id371aaad2ceef2b3163384fa84712397877cbe90
2021-08-02 11:50:34 -07:00
Yuntao Xu
3c6546816c
Merge "remove target from every intermediate depFile" am: 1b05df5fd4
am: eb5bcf21ec
am: ac11e71333
am: 5ce60c3dc4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1782649
Change-Id: I25d858db108660625ea36690308c16eca051189e
2021-08-02 17:26:14 +00:00
Yuntao Xu
ac11e71333
Merge "remove target from every intermediate depFile" am: 1b05df5fd4
am: eb5bcf21ec
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1782649
Change-Id: I31f83639c6278e82f926e6fabf151966e43ba49a
2021-08-02 16:59:08 +00:00
Yuntao Xu
1b05df5fd4
Merge "remove target from every intermediate depFile"
2021-08-02 16:28:27 +00:00
Dan Willemsen
96b9d87922
Merge "Bump minimum MacOS version to 10.13" am: db45fb250d
am: d7cacef34a
am: 2cb2b2319b
am: 60a13ef585
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1780977
Change-Id: I2e4a9b96a74cbbde81ec9b2ff552ad31045acf80
2021-07-30 19:09:38 +00:00
Justin Yun
4a9b6c520f
Rewrite snapshot dependencies for vndk-ext am: 27b9572433
am: 1a45180fe7
am: df032badd8
am: 2a44084b2b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779758
Change-Id: I3ecd903de6acd2b7f7527fa417c508cd7aebc33d
2021-07-30 19:09:29 +00:00
Yi-Yo Chiang
5c835396ac
Merge changes from topic "variational-required" am: d7b95f94a1
am: e3c9611b24
am: e2027b2526
am: 504826fbf7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1739833
Change-Id: Id4b8072fb197e2475791d51dfac71f5730d0243f
2021-07-30 19:08:55 +00:00
Dan Willemsen
2cb2b2319b
Merge "Bump minimum MacOS version to 10.13" am: db45fb250d
am: d7cacef34a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1780977
Change-Id: Ida12392b4751b64261ecdacd2edf1102e16672df
2021-07-30 18:35:48 +00:00
Justin Yun
df032badd8
Rewrite snapshot dependencies for vndk-ext am: 27b9572433
am: 1a45180fe7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1779758
Change-Id: I6413423b86eccb8d28cbfa1213806eb8c7147f7d
2021-07-30 18:35:34 +00:00