Commit graph

1291 commits

Author SHA1 Message Date
Edwin
655bf07640 Add android.hardware.drm-V1-ndk/_platform
Needed when `vendor=true` and `vndk: {enabled: true,}`.

Test: build

Bug: 200055138
Bug: 170964303
Change-Id: Ia064edf3ef6d871ef93ead8bb10a970c47d91f5a
2021-12-02 03:37:36 +00:00
Jack Yu
facd3ef423 Merge "Support for OMAPI Vendor stable interface" am: bc07b0c67e am: 87bf97ac19 am: 1eecb9e3aa am: 9438c79bb0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826613

Change-Id: I182b8dd5d8190442ca469d3f4adb934fbf69eeec
2021-11-23 06:00:30 +00:00
Jack Yu
bc07b0c67e Merge "Support for OMAPI Vendor stable interface" 2021-11-23 04:54:02 +00:00
Treehugger Robot
dfde3607d0 Merge "Revert "Revert "Switch to clang-r437112""" am: 3eb75a72a0 am: d9618f7e75 am: 52886846f7 am: d762ac2769
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1895919

Change-Id: Ie269502775f3a43c3e78602e5320e588c0d03890
2021-11-22 23:21:08 +00:00
Chih-hung Hsieh
933e7014da Revert "Revert "Switch to clang-r437112""
This reverts commit 1973f4d2cc.

Reason for revert: try to fix the failed test

Change-Id: I70b6e32d45db9e272432c85233cbf38e1e38a6ad
Bug: 201432564
2021-11-17 22:53:25 +00:00
Treehugger Robot
7fa2f52328 Merge "Revert "Switch to clang-r437112"" am: 88560585be am: f27ed4b546 am: 55db5f79fb am: 3d8a436898
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1895137

Change-Id: I497fbf2bcb47d09e35aaaec784b960f94f69a56f
2021-11-17 16:44:43 +00:00
Martin Stjernholm
1973f4d2cc Revert "Switch to clang-r437112"
This reverts commit 0d58894613.

Reason for revert: Suspected culprit for test failure b/206716119

Change-Id: Ibdd0aa783e07df5b41fd804efd175c12a7fe6592
2021-11-17 12:23:49 +00:00
Treehugger Robot
0be84e3b55 Merge "Switch to clang-r437112" am: 6515910b4f am: 24c800dd23 am: a2f81a3e5f am: a8dff4e750
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1885449

Change-Id: I393f2e9091258f0b1883f1eb2cff7bb043b3723e
2021-11-17 00:03:32 +00:00
Chih-Hung Hsieh
0d58894613 Switch to clang-r437112
* to test with build 7917927

Bug: 201432564
Test: make
Change-Id: Ic21f76f238abb2727e559ece41fd6cc76fb69f85
2021-11-16 18:18:08 +00:00
Dan Willemsen
b3262740ae Drop support for pre-macOS 11 SDKs am: 1332eda6e0 am: a9b765c072 am: 6f9cc50d7e am: e889f83925 am: 5088300162
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1877741

Change-Id: Idc0bbf5c252570e3feb59b60ca6e70199f252e6d
2021-11-02 08:34:40 +00:00
Dan Willemsen
d5584757da Add Darwin+Arm64 toolchain support am: 8528f4ec5e am: e44a424acc am: 648df28c38 am: 508f4b07f7 am: 6658910853
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1863969

Change-Id: I76ecbed4c1c8c698d5b5e778e0577f78588b8894
2021-11-02 06:40:29 +00:00
Dan Willemsen
1332eda6e0 Drop support for pre-macOS 11 SDKs
As they can't built arm64 binaries. All of our master-based builds are
now running on macOS 11 buildbots.

Bug: 203607969
Change-Id: I24c34a8365a399fbe43629ab5a22a1d53e3429b3
2021-11-01 16:04:43 -07:00
Dan Willemsen
8528f4ec5e Add Darwin+Arm64 toolchain support
This just sets up the toolchain and allows Darwin+Arm64 to be specified
as a HostCross target. These variants will not be exported to Make, or
be installed on a Soong-only build. A future CL will add support for
universal binaries using these variants.

This config is a bit stranger than the regular 64/32 multilib, as it's
two primary 64-bit configs. And on a Darwin/X86 machine, the Arm64
versions are HostCross (doesn't work on the current machines), while a
Darwin/Arm64 machine, either version works (if Rosetta is installed).

Bug: 203607969
Change-Id: Iacaed77d267773672da027cd74917e33fb1c1e94
2021-11-01 15:07:37 -07:00
Steven Moreland
53662c64f3 Merge "Add health to vndk vendor variant list" am: bc909df732 am: 62dc52bb85 am: 83bb70d062 am: 75b7cb8e3d am: 61c03cdc28
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1557255

Change-Id: I45a435e52124e47a7dc50ad1977df3772d432620
2021-10-26 23:58:24 +00:00
Steven Moreland
bc909df732 Merge "Add health to vndk vendor variant list" 2021-10-26 22:33:31 +00:00
Nick Desaulniers
c42ae48370 remove support for *.rc files am: 16bc50a128 am: 4e56d1ff60 am: 0e50b37e2b am: b2494f0506 am: 1e24d6a428
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1870522

Change-Id: Ia50e4a711c76cfee812371483a8e00db73ccb635
2021-10-26 22:26:08 +00:00
Arthur Ishiguro
6941b9dbc0 Add sensors AIDL interface
Bug: 195593357
Test: Presubmit
Change-Id: Ie3947594a35c829245535f04937b1ad7f3798cde
2021-10-26 20:24:07 +00:00
Nick Desaulniers
16bc50a128 remove support for *.rc files
We're now packaging llvm-windres (aosp/1870074) which can be used as a
substitute for GNU binutils' windres, but we've also removed the last
consumer of .rc files in aosp/1867048 (external/mdnsresponder/).

In the worst case, we can bring back support for .rc files but instead
process them with llvm-windres.

Bug: 203794880
Test: lunch aosp_cf_x86_64_phone-userdebug && m
Change-Id: I30a873537e004b46a87191a932d076a89463c873
2021-10-26 11:32:36 -07:00
Gabriel Biren
7c2c7ee00d Merge "Add android.hardware.wifi.supplicant-V1-ndk to VNDK list." am: cbab07b45f am: ae3cdab066 am: 01db2f61a7 am: d52ca4a62b am: 4f42f574a9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1859860

Change-Id: I2c666848b72c661a9ca492aedcdc1e8cfe0d46e2
2021-10-26 05:55:42 +00:00
Gabriel Biren
cbab07b45f Merge "Add android.hardware.wifi.supplicant-V1-ndk to VNDK list." 2021-10-26 04:43:57 +00:00
Yifan Hong
932920f403 Add health to vndk vendor variant list
Test: pass
Bug: 177269435

Change-Id: I40841daba4e52f65a27f5ed35b2731afb9a26a45
2021-10-25 20:22:11 -07:00
Gabriel Biren
f355d3c5ae Add android.hardware.wifi.supplicant-V1-ndk to VNDK list.
Bug: 196235436
Test: m
Change-Id: Ifc23ca36423de0a842e09120e783f6e8dfc807c3
2021-10-25 20:27:35 +00:00
Treehugger Robot
6dfb9451be Merge "Rewrite macOS SDK selection" am: 1c6de4bdac am: bbe2e6c750 am: 0e26bc9ee3 am: 7e535d28c0 am: 0e5b2274cd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1864059

Change-Id: Ic75879dc8492f5b613e990830a167c7304e78398
2021-10-20 23:49:03 +00:00
Dan Willemsen
7368d86a20 Rewrite macOS SDK selection
Modern Xcode versions only have a single macOS SDK installed anymore, so
we don't need to iterate through our supported versions, only check
whether the current version is supported.

This also makes it so that we can specify "11" (or soon, "12") to
specify all 11.x SDKs, instead of having to update our supported list
multiple times a year. This matches previous years that had multiple
patch releases on 10.14.y, 10.15.y, etc.

Bug: 203607969
Test: build on Mac, changing the supported SDK list
Change-Id: I42715f7e8dfec811de440a435927c14c742dede9
2021-10-19 21:43:41 -07:00
Christopher Parsons
0a74bdbec0 Merge "Add x86_host vars to config.bzl" am: a8b37dd7f1 am: 5d065e7627 am: 356bae90a2 am: fe5503dcd3 am: 07ea6f4a1c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1858395

Change-Id: I57a5c03e1f6fecf5a7775fbe98e216a45de381ec
2021-10-19 22:06:53 +00:00
Chris Parsons
3b1f83d076 Add x86_host vars to config.bzl
Test: USE_BAZEL_ANALYSIS=1 m adbd
Test: Manually verified config.bzl contains various x86_host flags after
bp2build.
Test: Unit tests

Change-Id: Ie9201ea2be4cd1c6659bea088a797cedbae37403
2021-10-19 12:18:13 -04:00
Treehugger Robot
0821b3bff7 Merge "Add android_sdk_repo_host to build platform-tools&build-tools" am: adf2b3e68f am: e89cd9f2b5 am: 57fbf57305 am: 4dc404e3bc am: de46f5cc11
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1828170

Change-Id: I36da12f89cd704d3f3174490ee7f74da2c6fd959
2021-10-15 03:39:17 +00:00
Treehugger Robot
adf2b3e68f Merge "Add android_sdk_repo_host to build platform-tools&build-tools" 2021-10-15 02:04:45 +00:00
Stephen Hines
004cbd0aa1 Merge "Switch to clang-r433403b (13.0.3)" am: f7bc97ce7a am: 7996129541 am: a13cb2b3b0 am: 32ff8710a6 am: 8493cd0d60
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1857593

Change-Id: I6471cc7387ef2dd74e3a000b6e33ab9c2e403afa
2021-10-14 19:56:59 +00:00
Stephen Hines
b7b0ae12be Switch to clang-r433403b (13.0.3)
Bug: http://b/202099787
Test: m
Change-Id: Id923948c56b0308842c94846edd6528fd26dbf72
2021-10-14 01:21:21 -07:00
Dan Willemsen
9fe1410213 Add android_sdk_repo_host to build platform-tools&build-tools
The Android SDK has been built with Make up until now, monolithically,
then split up into several sdk-repo zip files for different purposes.
The Mac and Windows SDKs really only need to contain the platform-tools
and build-tools pieces, but due to this monolithic sdk zip, we had to
build the whole SDK first.

This adds an `android_sdk_repo_host` module that can build these
platform-tools and build-tools zips.

Bug: 187222815
Change-Id: I55809e1d7447dd65e22461f921b2b8abb6d5f822
2021-10-13 01:25:02 -07:00
Yi Kong
0636a598c3 Merge "Re-enable unused-command-line-argument warning" am: a9e56f062d am: 0a7e9a5283 am: 904191ecea am: 23627d319a am: 62ecc57732
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1799592

Change-Id: I55a5eb146d2b70a7cfa7028aeff42a830b0a1725
2021-10-13 05:26:06 +00:00
Yi Kong
62e75f507d Re-enable unused-command-line-argument warning
Turn on the warning by default, unless USE_CCACHE is set.

Test: presubmit
Bug: 197177755
Change-Id: I01e2b0f1be3f4bd3a8d78bb4ab053b4db227596d
2021-10-13 04:11:56 +00:00
Rajesh Nyamagoud
3e4a48850b Support for OMAPI Vendor stable interface
Changes are made to include OMAPI VNDK libraries.

Bug: b/180639372
Test: m -j64
Change-Id: I6b2122c5f9c696e4676fdbd85eefb5bc194a7342
2021-10-08 22:38:37 +00:00
Sarah Chin
25d84c6e68 Merge "Add IRadio modules to VNDK" into stage-aosp-master am: ef3dd96890 am: d1cbc6eab0 am: bad9470ae7 am: c9ccb50257
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/15881182

Change-Id: Id673ab33f495a3ccb7631cf41a4c699aba0b5aa8
2021-09-23 03:57:07 +00:00
Sarah Chin
84fdadfe83 Add IRadio modules to VNDK
Test: build
Bug: 198331451
Change-Id: Ia468b563c6485464db56b3c9cdbae80de6b3f165
2021-09-21 23:34:20 -07:00
Serik Beketayev
af68148d19 [IRadioConfig] Add to VNDK variant list
Test: build
Bug: 198331805
Change-Id: Ibacc996f42c4bfa12b135247a2cebe1e28bbff09
Merged-In: Ibacc996f42c4bfa12b135247a2cebe1e28bbff09
2021-09-21 04:52:44 +00:00
Serik Beketayev
48e0e33916 [IRadioConfig] Add to VNDK variant list
Test: build
Bug: 198331805
Change-Id: Ibacc996f42c4bfa12b135247a2cebe1e28bbff09
2021-09-20 16:59:40 -07:00
Yi Kong
87fade8059 Merge "Remove unused-but-set-{variable,parameter} from ClangUnknownCflags" am: 861441fa36 am: 910cf32f49 am: d5b3d17fe1 am: f16f02a3a6 am: fc497c0913
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824620

Change-Id: Ic9db27be94061461d7789b5b1c1a0d94754ad730
2021-09-13 20:03:16 +00:00
Yi Kong
910cf32f49 Merge "Remove unused-but-set-{variable,parameter} from ClangUnknownCflags" am: 861441fa36
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824620

Change-Id: Ieec9bdef68bb233e125e49d633803b39f200c81d
2021-09-13 19:07:01 +00:00
Yi Kong
a1ebc2d072 Remove unused-but-set-{variable,parameter} from ClangUnknownCflags
These warnings are now implemented by Clang.

Change-Id: I78d04216da0ca3d1db616c7b658ca6075b20e7f6
Test: presubmit
Bug: 197230471
2021-09-13 06:25:41 +00:00
Treehugger Robot
8cdafe5044 Merge "Don't use bugprone-easily-swappable-parameters for global tidy builds either" am: 07e7294a75 am: 0e7f8e9919 am: f4e2c69c69 am: 817164c6bf am: 1ee8022268
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824475

Change-Id: I5051788c3e2352b42b89cf20b2bd9a81527d4713
2021-09-11 11:29:51 +00:00
Treehugger Robot
0e7f8e9919 Merge "Don't use bugprone-easily-swappable-parameters for global tidy builds either" am: 07e7294a75
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824475

Change-Id: I6f7e0578f6e934dbc89a5d06f532b7111d1c8d55
2021-09-11 10:36:47 +00:00
Stephen Hines
4b721450c8 Don't use bugprone-easily-swappable-parameters for global tidy builds either
We turned this off in local tidy flags, but didn't disable it on global
tidy builds. Let's remove this for now, since the upkeep cost is large
on it, and it also is currently crashing in some cases.

Bug: http://b/199534745
Bug: http://b/194865868
Test: WITH_TIDY=1 m
Change-Id: Ife39ab4949c5baf825efff66326b276c6a2a59f4
2021-09-11 01:14:36 -07:00
Yi Kong
8c5c1f5361 Merge "Switch to clang r433403" am: 6afa749d1d am: 7d927b62bf am: 562a90804a am: dd6c4afde0 am: aa10aac191
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1814448

Change-Id: I2ac75222eb3a1b75154e973cd724b9ce0bad427b
2021-09-10 05:56:13 +00:00
Yi Kong
7d927b62bf Merge "Switch to clang r433403" am: 6afa749d1d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1814448

Change-Id: I19285347bc70349ce02de3d8b2b6793a4d56fa75
2021-09-10 04:39:04 +00:00
Yi Kong
6afa749d1d Merge "Switch to clang r433403" 2021-09-10 04:21:54 +00:00
Yi Kong
e82732916a Switch to clang r433403
Bug: 197230471
Test: presubmit
Change-Id: I374a66deb785bae99953ea23c67f873f33c2081b
2021-09-10 04:20:49 +00:00
Sarah Chin
d2432e668d Merge "Add Radio AIDL to VNDK variant list" 2021-09-09 05:21:43 +00:00
Sarah Chin
40eb29e39b Merge "Add Radio AIDL to VNDK variant list" into stage-aosp-master 2021-09-09 04:25:24 +00:00
Chih-hung Hsieh
fa857ac706 Merge "Use tidyExternalVendor for external/googletest" am: 095aac0614 am: 5ee3f91dcd am: 9f0ac02b0d am: 4916f910b3 am: cd0fcf594e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1819240

Change-Id: Ifc6708c2df2e2b48d1b0af12b9c497e30181d562
2021-09-08 19:55:26 +00:00
Sarah Chin
2b9ad1c484 Add Radio AIDL to VNDK variant list
Test: build
Bug: 198331182
Change-Id: I922961b8311d024ebbf3f3339dfdb41c72ee9dd9
Merged-In: I922961b8311d024ebbf3f3339dfdb41c72ee9dd9
2021-09-08 19:08:44 +00:00
Chih-hung Hsieh
5ee3f91dcd Merge "Use tidyExternalVendor for external/googletest" am: 095aac0614
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1819240

Change-Id: I8b6abe23e57168ff4e01c6f78009edafd8e075ad
2021-09-08 18:50:44 +00:00
Chih-hung Hsieh
095aac0614 Merge "Use tidyExternalVendor for external/googletest" 2021-09-08 18:29:05 +00:00
Sarah Chin
b03e96874e Add Radio AIDL to VNDK variant list
Test: build
Bug: 198331182
Change-Id: I922961b8311d024ebbf3f3339dfdb41c72ee9dd9
Merged-In: I922961b8311d024ebbf3f3339dfdb41c72ee9dd9
2021-09-08 17:31:38 +00:00
Chih-hung Hsieh
8cfc751fe0 Merge "Add config/tidy.go to per-file owners." am: 63d1a0ab94 am: 1b0a86b751 am: aa1b4f7746 am: a1d53c0d76 am: ca99a72de9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1819238

Change-Id: I364fcdfeafd08bfac029386b2b211bac02cb51c3
2021-09-07 21:34:03 +00:00
Chih-hung Hsieh
1b0a86b751 Merge "Add config/tidy.go to per-file owners." am: 63d1a0ab94
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1819238

Change-Id: I1d05b0704a79e02df04a7706d77ccfde19609942
2021-09-07 20:38:42 +00:00
Chih-hung Hsieh
63d1a0ab94 Merge "Add config/tidy.go to per-file owners." 2021-09-07 20:18:05 +00:00
Linzhao Ye
e2f668abde Merge "Add android.hardware.wifi.hostapd-V1-ndk_platform to VNDK list." am: a0dc31d4a2 am: d11722bb82 am: e9aa51a012 am: 883b5fab18 am: 47d82ec5b0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1796168

Change-Id: I84fea5b1113f475081806f4587e63bd47129ed78
2021-09-07 18:50:54 +00:00
Linzhao Ye
d11722bb82 Merge "Add android.hardware.wifi.hostapd-V1-ndk_platform to VNDK list." am: a0dc31d4a2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1796168

Change-Id: I3676b21992a9c54e8286c970d639c1e31ce748eb
2021-09-07 17:35:53 +00:00
Chih-Hung Hsieh
f92c7154cd Use tidyExternalVendor for external/googletest
* Do not run expensive clang-analyzer-* checks with googletest/*,
  which should be checked upstream.

Test: make WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1
Bug: 198098397
Change-Id: Ic801ffa802b42d4d55ae89553073c926f9eaa351
2021-09-07 10:22:56 -07:00
Chih-Hung Hsieh
04a5dabf9a Add config/tidy.go to per-file owners.
Test: make
Change-Id: I01b7bcd2cb5a766baf7ea8015996b4a782395875
2021-09-07 10:20:49 -07:00
Linzhao Ye
a0dc31d4a2 Merge "Add android.hardware.wifi.hostapd-V1-ndk_platform to VNDK list." 2021-09-07 17:15:33 +00:00
Sarah Chin
c10d5da3d4 Add Radio AIDL to VNDK variant list
Test: build
Bug: 198331182
Change-Id: I922961b8311d024ebbf3f3339dfdb41c72ee9dd9
2021-09-02 22:33:36 -07:00
Chris Ye
50ef6e204a Add android.hardware.wifi.hostapd-V1-ndk_platform to VNDK list.
Bug: 194806512
Test: Boot up.
Change-Id: I50518b0291dd40dc051c340faa2641c4cf5952d4
2021-09-01 15:34:12 -07:00
Treehugger Robot
142bcb7961 Merge "No clang-analyzer-* checks by default for generated files" am: 09d1c71abd am: 2ae5bdd01c am: ba51fd456b am: 496f238d3a am: 78bef2b7e4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1814102

Change-Id: Ib710884e3218773ce42b2ba8548a298f5ab4ae7f
2021-08-31 00:55:04 +00:00
Treehugger Robot
2ae5bdd01c Merge "No clang-analyzer-* checks by default for generated files" am: 09d1c71abd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1814102

Change-Id: Ief60efc7a45ff1cf7ab67b92b6cd2ef61d87fea7
2021-08-31 00:03:43 +00:00
Treehugger Robot
09d1c71abd Merge "No clang-analyzer-* checks by default for generated files" 2021-08-30 23:50:36 +00:00
Chih-Hung Hsieh
062e934a9e No clang-analyzer-* checks by default for generated files
Test: make with WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1

Bug: 198098397
Change-Id: I386be0b4ee0fcc1785b2eeb8d1eb26ced68246d7
2021-08-30 15:08:24 -07:00
Treehugger Robot
3ee2e8a969 Merge changes from topic "ninja_static" am: c5e452b2c5 am: c07549c715 am: b43c2da3b9 am: d46f1b424b am: 2564643bac
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1801111

Change-Id: I4c198a31e8fb4261aec6f7c7aae79ab169e5e614
2021-08-25 03:43:00 +00:00
Treehugger Robot
c07549c715 Merge changes from topic "ninja_static" am: c5e452b2c5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1801111

Change-Id: Ia8cacb28044eb4496c1d713dcf5ffada6b68c907
2021-08-25 02:41:54 +00:00
Treehugger Robot
c5e452b2c5 Merge changes from topic "ninja_static"
* changes:
  Fix crtend for musl static binaries
  Support static_executable: true for musl builds
  Use SystemSharedLibs as StaticLibs for static executables
2021-08-25 02:28:07 +00:00
Colin Cross
f26b466cad Fix crtend for musl static binaries
Bug: 190084016
Test: aosp-build-tools linux_musl build
Change-Id: Ia78884cd24f5b7d8aa8207268539cfb453666699
2021-08-24 13:39:02 -07:00
Colin Cross
d595477c69 Merge "Set ANDROID_HOST_MUSL for musl builds" am: b3c68004af am: a07b7cde23 am: ef9db40143 am: e56c1171e5 am: 43499bd7a9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797128

Change-Id: I54f25ad24834cf2e0f6ce7bd876e8973b1f0550c
2021-08-23 20:17:59 +00:00
Colin Cross
a07b7cde23 Merge "Set ANDROID_HOST_MUSL for musl builds" am: b3c68004af
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1797128

Change-Id: I507b8c13036a6fcd639846641274bffb1f545446
2021-08-23 19:03:04 +00:00
Colin Cross
b3c68004af Merge "Set ANDROID_HOST_MUSL for musl builds" 2021-08-23 18:47:40 +00:00
Xin Li
8ded89b1bf Merge "Merge sc-dev-plus-aosp-without-vendor@7634622" into stage-aosp-master 2021-08-17 18:14:22 +00:00
Colin Cross
7e7b028b88 Set ANDROID_HOST_MUSL for musl builds
Unlike glibc, musl does not #define __MUSL__ on the assumption that
building against musl will be done using a configure script that should
be testing for individual features rather than assuming them based on
using musl.  We don't use configure-based builds, so add a local
ANDROID_HOST_MUSL macro that will be defined for all host musl builds.

Bug: 190084016
Test: m USE_HOST_MUSL=true adb
Change-Id: I44e3ffd1d727fd0ea8b69c3b074fef7e92e2be41
2021-08-16 14:42:53 -07:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
04163deb9f Merge "Expose Soong's default clang versions to Bazel" am: 37abc3c343 am: 645f09bea9 am: 089fd1f92b am: d823c34d32 am: d80c240c93
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1795147

Change-Id: I0d8928b4cb143b07dc380d0298baeadbc835b4fe
2021-08-16 19:42:34 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
089fd1f92b Merge "Expose Soong's default clang versions to Bazel" am: 37abc3c343 am: 645f09bea9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1795147

Change-Id: Id9bd825c768433eb43eae98073311bbf7b46fb22
2021-08-16 18:42:14 +00:00
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux
a38e518eb9 Expose Soong's default clang versions to Bazel
As `CLANG_DEFAULT_*VERSION` static strings

Bug: 192058388
Test: Existing tests pass
Change-Id: I047bc3ad9626bf67c12a0b0ac76943c79fb1b4b0
2021-08-13 17:44:07 +00:00
TreeHugger Robot
b5404960c9 Merge "Add uwb HAL to VndkMustUseVendorVariantList" 2021-08-12 00:30:30 +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
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
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
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
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