Dan Albert
4c3b3c7c50
Merge "[arm64] Build NDK with PAuth and BTI" am: a175126009
am: bfe770d03f
am: bb4c44e0c2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1558552
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I44a54ab4900ae02bf0650cb86545a847f508cd5f
2021-02-17 23:18:46 +00:00
Dan Albert
a175126009
Merge "[arm64] Build NDK with PAuth and BTI"
2021-02-17 21:37:41 +00:00
Chih-hung Hsieh
fa762e7121
Merge "Change default DEFAULT_TIDY_HEADER_DIRS to empty" am: 6e304f5a88
am: 030f75fa56
am: 39e4767dcb
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1584224
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6eb28309d7655b7cc75f80335e52391df478f228
2021-02-17 19:48:45 +00:00
Chih-hung Hsieh
6e304f5a88
Merge "Change default DEFAULT_TIDY_HEADER_DIRS to empty"
2021-02-17 18:34:48 +00:00
Victor Chang
00c144f930
Non-installable module should not be installed into a fuzzer .zip package
...
libicu_* fuzzer depends on installable cc modules and non-installable
cc modules with the same name, because the non-installable modules are
stubs used in the compile-time, and shouldn't be used in runtime.
Bug: 175583039
Test: make haiku dist
Test: Run 2 arbitrary binaries from out/dist/fuzz-target-x86_64.zip on device
Test: Run 2 arbitrary binaries from out/dist/fuzz-host-x86_64.zip on host
Change-Id: I0ecf24bb83e3985da3b8f393adab8c87ab7400c6
2021-02-17 16:40:25 +00:00
Rupert Shuttleworth
a68296e063
Merge "Add cc_library_headers support to bp2build." am: a0516f76ab
am: 9632827e78
am: 90fc4c976c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1589371
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I511571b268dc12107f6eae8d06af0443f765227a
2021-02-17 10:50:50 +00:00
Rupert Shuttleworth
a0516f76ab
Merge "Add cc_library_headers support to bp2build."
2021-02-17 08:57:19 +00:00
Chih-hung Hsieh
3fd84d16cf
Merge "Switch to clang-r412851 (build 7141649)" am: 296b7b8440
am: 691531855f
am: 59ce34ec85
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1587546
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I76993c683386449fe64675a8490fbb70bd2d5041
2021-02-17 02:08:49 +00:00
Chih-hung Hsieh
296b7b8440
Merge "Switch to clang-r412851 (build 7141649)"
2021-02-17 00:17:14 +00:00
Elliott Hughes
0beaf98c71
Merge "Rename __ANDROID_UNGUARDED_AVAILABILITY__ -> __ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__." am: 9f53de289e
am: 9be8ed2681
am: 486450a014
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1584291
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I553ed1a322abb18ee8777c722530ff323b6742d9
2021-02-16 23:18:03 +00:00
Rupert Shuttleworth
54e7841b90
Add cc_library_headers support to bp2build.
...
Test: Added cc_conversion_test.go.
Change-Id: Id4459d2c2fa02687a374cd9fb25d687e9678218c
2021-02-16 23:07:01 +00:00
Chih-Hung Hsieh
6338deba1d
Switch to clang-r412851 (build 7141649)
...
Bug: 179065588
Test: presubmit
Change-Id: Ifb9399e9f4ec0968b174b90c1a1f4f78f903d39d
2021-02-12 13:53:10 -08:00
Chih-Hung Hsieh
9f94c362ea
Change default DEFAULT_TIDY_HEADER_DIRS to empty
...
* Default -header-filter will now contain only module directory.
* In a clean build of aosp_x86_64-eng, this change can reduce
the number of (duplicated) clang-tidy warnings by 77% or more.
* When compiled with WITH_TIDY=1, if DEFAULT_TIDY_HEADER_DIRS is
not set, warnings from a header file will be shown only if
the file is in a module's (sub)directory.
* Set DEFAULT_TIDY_HEADER_DIRS="bionic/|bootable/|build/|cts/|\
dalvik/|developers/|development/|frameworks/|\
libcore/|libnativehelper/|system/"
will get before this change's -header-filter.
* Fix a bug: Default header-filter was not added when
tidy_flags was defined in a module.
With this fix, some incorrectly hidden header file tidy warnings
will now show up.
Bug: 179530304
Test: make with WITH_TIDY=1 and various setting of DEFAULT_TIDY_HEADER_DIRS
Change-Id: Ia0c05349908a730862dae36be9a2dbe4f44fb6da
2021-02-12 13:50:38 -08:00
Elliott Hughes
5add0c61d6
Rename __ANDROID_UNGUARDED_AVAILABILITY__ -> __ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__.
...
Bug: http://b/179067538
Test: treehugger
Change-Id: I5945ca6e767212280a1981e6f78ec3c50acfb3f3
2021-02-11 14:21:59 -08:00
Treehugger Robot
fbc7b966a2
Merge "Add LOCAL_LICENSE_KINDS to build/soong" am: b68036f44b
am: 0a1087f291
am: 66a854d585
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1575543
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icb7ac70ed37be73b84da59f8e1ad88daea3bfa80
2021-02-10 09:28:19 +00:00
Treehugger Robot
b68036f44b
Merge "Add LOCAL_LICENSE_KINDS to build/soong"
2021-02-10 07:18:29 +00:00
Treehugger Robot
709a2ab213
Merge "Ensure that stubs.symbol_file has ".map.txt" suffix" am: 509ab03f12
am: 1950b77215
am: f2db4bc32c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1574808
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I08d432f551eb509cd847c6f9c27edc5067d9b73c
2021-02-10 01:47:07 +00:00
Jose "Pepe" Galmes
c7566be823
Merge "Implement directed recovery snapshot." am: ee4dcdc0ad
am: ab1e7cc897
am: 34c5caff4e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1581563
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If8c598d817ea88980bc734afe469acc72984470d
2021-02-10 01:45:57 +00:00
Treehugger Robot
1950b77215
Merge "Ensure that stubs.symbol_file has ".map.txt" suffix" am: 509ab03f12
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1574808
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic8a69aef4b1fc5a2518460224707e724519c1ec0
2021-02-10 01:21:41 +00:00
Treehugger Robot
509ab03f12
Merge "Ensure that stubs.symbol_file has ".map.txt" suffix"
2021-02-10 01:07:30 +00:00
Jose "Pepe" Galmes
ab1e7cc897
Merge "Implement directed recovery snapshot." am: ee4dcdc0ad
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1581563
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If399d2d14df5a163662e857430a449c8be02503b
2021-02-10 00:28:34 +00:00
Jose "Pepe" Galmes
ee4dcdc0ad
Merge "Implement directed recovery snapshot."
2021-02-10 00:02:34 +00:00
Benjamin Schwartz
aeda6e49f4
powerstats: PowerStats HAL has been renamed am: 71dfb344e4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1576505
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I755bd9fc0a79730c95ab1d7596e868f156d492fb
2021-02-09 22:21:30 +00:00
Benjamin Schwartz
725482b4ab
Create Power Stats AIDL interface am: 1057ccb75a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1576504
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I89b2061a22bfe2bd449917066354937277085846
2021-02-09 22:20:58 +00:00
Treehugger Robot
609b124e5e
Merge changes from topic "ps 2.0 cp"
...
* changes:
Update VndkMustUseVendorVariantList
powerstats: PowerStats HAL has been renamed
Create Power Stats AIDL interface
2021-02-09 19:20:10 +00:00
Jose Galmes
4c6895e5a3
Implement directed recovery snapshot.
...
Bug: 177451657
Test: m -j nothing
Change-Id: I0b84c34fb2e9e9340d9f9e7405428cd2cc4d43b5
2021-02-09 08:25:34 -08:00
Ivan Lozano
f5de1a6146
Merge "rust: Add rust_ffi_static vendor ramdisk Support" am: 4ccfcc2ee4
am: 86af4b576f
am: 325c8526b5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1578523
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I89309e092a56bd53a5ae7bbe999a91a7c5f0a8e8
2021-02-09 15:44:32 +00:00
Ivan Lozano
4ccfcc2ee4
Merge "rust: Add rust_ffi_static vendor ramdisk Support"
2021-02-09 13:49:28 +00:00
Ivan Lozano
e6d3098c1b
rust: Add rust_ffi_static vendor ramdisk Support
...
Similar to our vendor support, this adds support for linking rust static
libraries to vendor ramdisk cc modules.
A bug fix is also included where a restriction against setting rust_ffi
vendor-specific was not being enforced.
Bug: 179397942
Test: Example modules link, Soong tests pass.
Change-Id: I737cdf0c2f49ab349bcea2a0429e6298ebc1313e
2021-02-08 09:36:26 -05:00
Bob Badour
02040de891
Add LOCAL_LICENSE_KINDS to build/soong
...
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
android/Android.bp
android/soongconfig/Android.bp
androidmk/Android.bp
apex/Android.bp
bazel/Android.bp
bp2build/Android.bp
bpf/Android.bp
bpfix/Android.bp
cc/Android.bp
cc/config/Android.bp
cc/libbuildversion/Android.bp
cc/libbuildversion/tests/Android.bp
cc/ndk_api_coverage_parser/Android.bp
cc/ndkstubgen/Android.bp
cc/symbolfile/Android.bp
cmd/dep_fixer/Android.bp
cmd/diff_target_files/Android.bp
cmd/extract_apks/Android.bp
cmd/extract_jar_packages/Android.bp
cmd/extract_linker/Android.bp
cmd/fileslist/Android.bp
cmd/host_bionic_inject/Android.bp
cmd/javac_wrapper/Android.bp
cmd/merge_zips/Android.bp
cmd/multiproduct_kati/Android.bp
cmd/path_interposer/Android.bp
cmd/pom2bp/Android.bp
cmd/pom2mk/Android.bp
cmd/sbox/Android.bp
cmd/soong_build/Android.bp
cmd/soong_env/Android.bp
cmd/soong_ui/Android.bp
cmd/zip2zip/Android.bp
cmd/zipsync/Android.bp
cuj/Android.bp
dexpreopt/Android.bp
dexpreopt/dexpreopt_gen/Android.bp
env/Android.bp
etc/Android.bp
filesystem/Android.bp
finder/Android.bp
finder/cmd/Android.bp
genrule/Android.bp
jar/Android.bp
java/Android.bp
java/config/Android.bp
kernel/Android.bp
linkerconfig/Android.bp
linkerconfig/proto/Android.bp
makedeps/Android.bp
partner/Android.bp
phony/Android.bp
python/Android.bp
python/tests/Android.bp
remoteexec/Android.bp
rust/Android.bp
rust/config/Android.bp
scripts/Android.bp
sdk/Android.bp
sh/Android.bp
shared/Android.bp
symbol_inject/Android.bp
symbol_inject/cmd/Android.bp
sysprop/Android.bp
tradefed/Android.bp
ui/build/Android.bp
ui/logger/Android.bp
ui/metrics/Android.bp
ui/metrics/proc/Android.bp
ui/status/Android.bp
ui/terminal/Android.bp
ui/tracer/Android.bp
xml/Android.bp
zip/Android.bp
zip/cmd/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
finder/fs/Android.bp
third_party/zip/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ia47ca14f16b8c9f84f9d533a07e5b00e2c04e8d4
2021-02-06 04:23:21 +00:00
Jooyung Han
42fe5a7251
Merge "cc: fix version macro for stubs" am: 7701309889
am: 1a90279656
am: ec3a7c5db0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1574812
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I607d6dd16636e367c43f491eed4e3461e7c48004
2021-02-06 03:06:35 +00:00
Jooyung Han
7701309889
Merge "cc: fix version macro for stubs"
2021-02-06 01:41:31 +00:00
Jose "Pepe" Galmes
9e2ea6ab6d
Merge "Generate fake versions of modules excluded in directed vendor snapshot." am: c64b961708
am: 504904f063
am: a05d6919cf
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1572856
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I106e382c504c59c7028c2b7a3e32b11a93d01822
2021-02-05 19:28:43 +00:00
Jose "Pepe" Galmes
c64b961708
Merge "Generate fake versions of modules excluded in directed vendor snapshot."
2021-02-05 17:54:48 +00:00
Jose Galmes
0a942a0368
Generate fake versions of modules excluded in directed vendor snapshot.
...
When using the directed vendor snapshot, the build fails because soong
fails to find some variants of the modules that have been excluded
from VENDOR_SNAPSHOT_MODULES, even though those modules are not going
to be used by the build.
The solution implemented here is to generate fake versions of those
modules (empty files) and include them in the generated Android.bp,
so that soong finds the modules, even though trying to use them would
fail.
Bug: 171821997
Bug: 179275601
Test: source build/envsetup.sh
Test: m -j nothing
Change-Id: Ibd3e963ab3e5504c0ac817f7cabbd241bf47a5cb
2021-02-05 17:53:53 +00:00
Liz Kammer
73f2874a87
Merge "bp2build: convert paths/module refs to Bazel label" am: b7eab01167
am: 6d5454d0f9
am: 595abf120a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1564272
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I51fd926cdae810906a75ed132dc70fa2f2c74240
2021-02-05 15:40:11 +00:00
Liz Kammer
b7eab01167
Merge "bp2build: convert paths/module refs to Bazel label"
2021-02-05 13:39:08 +00:00
Treehugger Robot
3ddf0d105d
Merge changes I904b4374,I6b4ea062 am: 4f67b03e8b
am: 4cc87fe37b
am: c8165f662f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1571886
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7f8aab297d1ceb4dc5b7da89c35f550524c7855c
2021-02-05 04:36:27 +00:00
Jooyung Han
11b0fbdbf6
cc: fix version macro for stubs
...
When a cc module is built against a stub, compiler passes version macro
of the stub lib. Version macro should be numeric, so codenames or
"current" should be mapped to numbers just like how ndkstubgen maps to.
* "current" -> future (10000)
* codenames -> look up api_level.json
* otherwise -> cast to int
Bug: 179329813
Test: m / soong test / manually check the output build.ninja
Change-Id: Ic0e1dd904984e161694a0b77fad5559c06a4462f
2021-02-05 11:27:57 +09:00
Chih-hung Hsieh
adb8e2869a
Merge "Disable gnu-folding-constant warning." am: adeb44b112
am: 7bca661e9a
am: e2df322a97
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1573787
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6a340942ffda731970021c2f618f84c876a26127
2021-02-05 01:54:41 +00:00
Treehugger Robot
4f67b03e8b
Merge changes I904b4374,I6b4ea062
...
* changes:
Do not add '.product' suffix for product_specific module
Use target dependent module to update the name suffix
2021-02-05 01:52:04 +00:00
Benjamin Schwartz
6ff77eace0
Update VndkMustUseVendorVariantList
...
Bug: 150578172
Test: m
Change-Id: I68635557faff1bd8daa4964af7946a54a8dee60d
Merged-In: I3e82b2c01f1fca75ac97985053b4a5826d151340
2021-02-04 17:13:11 -08:00
Benjamin Schwartz
71dfb344e4
powerstats: PowerStats HAL has been renamed
...
Bug: 169864180
Test: m
Change-Id: I0db7d731c3aa81b2c9331570c93ec23038bd743c
(cherry picked from commit 399394b702
)
Merged-In: I0db7d731c3aa81b2c9331570c93ec23038bd743c
2021-02-04 16:10:44 -08:00
Benjamin Schwartz
1057ccb75a
Create Power Stats AIDL interface
...
Bug: 162472196
Test: m
Change-Id: I44ffdf07c181cb4a119ec5de73bcb9ffaf485504
(cherry picked from commit 5ec7024911
)
Merged-In: I44ffdf07c181cb4a119ec5de73bcb9ffaf485504
2021-02-04 16:09:20 -08:00
Chih-hung Hsieh
adeb44b112
Merge "Disable gnu-folding-constant warning."
2021-02-04 23:59:27 +00:00
Chih-Hung Hsieh
72e88767dc
Disable gnu-folding-constant warning.
...
New clang compiler issue too many such warnings.
Bug: 179065588
Bug: 179309338
Bug: 179278370
Test: make, presubmit
Change-Id: I9948a4b34ec75a01aa24c2fd753722b072ae5202
2021-02-04 11:46:40 -08:00
Liz Kammer
356f7d45c1
bp2build: convert paths/module refs to Bazel label
...
This currently expands all globs, still need to support converting glob
syntax.
Test: go build_conversion_test
Test: GENERATE_BAZEL_FILES=true m nothing
Test: m nothing
Bug: 165114590
Change-Id: If7b26e8e663d17566fad9614ca87a8da1f095284
2021-02-04 13:45:56 -05:00
Julien Desprez
8908b37a14
Switch cc_test host_supported: true to unit tests
...
Test: presubmit
Bug: 179092189
Change-Id: Ic5c3ca6de44732f6299ad9a35d1aaef622f3ff7f
2021-02-04 10:10:16 -08:00
Jiyong Park
a417557f80
Ensure that stubs.symbol_file has ".map.txt" suffix
...
The property refers to the symbol file that describes APIs across
updatable components like APEXes and system/vendor. Since it's important
to keep the APIs backwards incompatible, any change to the APIs should
be reviewed/gated by the NDK API council. The map.txt suffix is the key
for trigging the NDK API review by gerrit.
Bug: N/A
Test: m nothing
Change-Id: I01eae9c6a106d301863ec86e169111712af74d3f
2021-02-04 21:05:47 +09:00
Julien Desprez
4e153fe708
Merge "Test changing default of cc_test_host" am: 23c38fa9a7
am: 042adabd94
am: 9dfb08197a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1549529
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ice73eacf0e8061510116f58cbb31615b9846a1e1
2021-02-04 02:25:56 +00:00