Commit graph

48267 commits

Author SHA1 Message Date
Pirama Arumuga Nainar
5f83a7f3bc Merge "Switch to clang-r445002" am: 111817435a am: db6af1e8d3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1961820

Change-Id: I0e236fe10abc36e0f27c468ce8b6a8ab631df64e
2022-02-09 19:27:26 +00:00
Pirama Arumuga Nainar
db6af1e8d3 Merge "Switch to clang-r445002" am: 111817435a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1961820

Change-Id: Ieef0252d56d9c4960a40ac91a6f2e349983394ac
2022-02-09 19:10:31 +00:00
Pirama Arumuga Nainar
111817435a Merge "Switch to clang-r445002" 2022-02-09 18:55:08 +00:00
Treehugger Robot
d221668347 Merge "enable auto_service_plugin bazel build" am: 948c340160 am: b5c766109c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971200

Change-Id: If3074b520448ce458e7770e7000ef728e503a924
2022-02-09 18:04:28 +00:00
Steven Moreland
2b3babe99e Merge "bpf: support installing to vendor" am: 0a8dd14614 am: 584505e8d1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1188644

Change-Id: I0f768c945b150fc74b44bd7a5c89a990497d0b74
2022-02-09 18:04:05 +00:00
Treehugger Robot
b5c766109c Merge "enable auto_service_plugin bazel build" am: 948c340160
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971200

Change-Id: Ic580c5a5e53e3778bc084a18bfcdf6197a8b9152
2022-02-09 18:03:55 +00:00
Treehugger Robot
948c340160 Merge "enable auto_service_plugin bazel build" 2022-02-09 17:48:49 +00:00
Steven Moreland
584505e8d1 Merge "bpf: support installing to vendor" am: 0a8dd14614
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1188644

Change-Id: I1320a9c28b61f2f86e02977edebd103816e80be0
2022-02-09 17:45:41 +00:00
Steven Moreland
0a8dd14614 Merge "bpf: support installing to vendor" 2022-02-09 17:28:16 +00:00
Treehugger Robot
39c446e760 Merge "Add package for printing starlark formatted data" am: 5974423b06 am: f768e9d92a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971139

Change-Id: I34fb91afe6cecd32c054bca632b12534a895ca70
2022-02-09 05:19:56 +00:00
Treehugger Robot
f768e9d92a Merge "Add package for printing starlark formatted data" am: 5974423b06
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971139

Change-Id: Icc65bc273c02d0994340de60791d7e5393eafbf6
2022-02-09 05:02:56 +00:00
Treehugger Robot
5974423b06 Merge "Add package for printing starlark formatted data" 2022-02-09 04:48:33 +00:00
Steven Moreland
606c5e9e99 bpf: support installing to vendor
Bug: 140330870
Test: use bpf{} to install bpf program to vendor and have it
  successfully loaded and installed by Android's bpfloader.

Change-Id: If0aac3098e39498f0238516ec839b6ac910cc61e
2022-02-09 00:45:02 +00:00
Chih-hung Hsieh
31989351ac Merge "Use only single dash for tidy flags" am: def9bf2c1c am: df8fe32206
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972547

Change-Id: I12f4c1acbfc61dd1d0f70cf4c9871a028182f3a2
2022-02-08 22:47:59 +00:00
Liz Kammer
72beb34609 Add package for printing starlark formatted data
Bug: 216168792
Test: build/bazel/ci/bp2build.sh
Change-Id: I3a06b19396f7ffe1c638042cda7e731dd840f1d6
2022-02-08 17:32:28 -05:00
Chih-hung Hsieh
df8fe32206 Merge "Use only single dash for tidy flags" am: def9bf2c1c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972547

Change-Id: Id1a690f952642b05a60b110bd6ab7908f90205ed
2022-02-08 22:29:36 +00:00
Chih-hung Hsieh
def9bf2c1c Merge "Use only single dash for tidy flags" 2022-02-08 22:13:47 +00:00
Treehugger Robot
0959ae13e7 Merge "Use -fno-sanitize-link-runtime for bionic sanitizers" am: 3e7f5c411d am: 8793c78b35
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975927

Change-Id: I403bd7772ddf309e3c1e0d963ecbdb2a8f2149d9
2022-02-08 21:01:00 +00:00
Treehugger Robot
8793c78b35 Merge "Use -fno-sanitize-link-runtime for bionic sanitizers" am: 3e7f5c411d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975927

Change-Id: Ib3a130bfc330fdb93036a93c1cab08b7f136bb11
2022-02-08 20:45:03 +00:00
Treehugger Robot
3e7f5c411d Merge "Use -fno-sanitize-link-runtime for bionic sanitizers" 2022-02-08 20:33:43 +00:00
Treehugger Robot
3a47638b76 Merge "Link to documentation about variables in include statements" am: cb1703d8b1 am: ccb3db98c7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975486

Change-Id: I8fc159bad8b3cfc4fe9b5ebad334c273ed0c6dfb
2022-02-08 20:28:14 +00:00
Aditya Belsare
fe3c1bb5fc Merge "Add cert_validator to allowed rust paths" am: 43832f6136 am: 7c74466aa7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975528

Change-Id: I96cf1711581aa1d8097e815f5e2a58d1c00faf79
2022-02-08 20:27:28 +00:00
Treehugger Robot
ccb3db98c7 Merge "Link to documentation about variables in include statements" am: cb1703d8b1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975486

Change-Id: I0d554ecb3dc213a43f70bdbd7c07531657eb12a0
2022-02-08 20:14:36 +00:00
Aditya Belsare
7c74466aa7 Merge "Add cert_validator to allowed rust paths" am: 43832f6136
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1975528

Change-Id: I409f7ca02999a91cc611a678cd95c5ecae26bca2
2022-02-08 20:13:29 +00:00
Treehugger Robot
cb1703d8b1 Merge "Link to documentation about variables in include statements" 2022-02-08 20:04:57 +00:00
Aditya Belsare
43832f6136 Merge "Add cert_validator to allowed rust paths" 2022-02-08 19:40:13 +00:00
Cole Faust
cb5e6fb13b Merge "Remove --root, require the cwd to be the root" am: 076b9c26e9 am: 68f638fd5b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971500

Change-Id: I583f0c06dc5bcfeac7796b2e2e77112436f8fe9b
2022-02-08 19:04:47 +00:00
Yu Liu
5daae6f2b6 Merge "Support bssl hash injection for libcrypto." am: febce2dfa7 am: 126db90364
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1966148

Change-Id: I7b1b1e9c2933b47eba3c7e2bba1c07de727e551f
2022-02-08 19:04:35 +00:00
Cole Faust
68f638fd5b Merge "Remove --root, require the cwd to be the root" am: 076b9c26e9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971500

Change-Id: I0c293d1bceeb4d131614199e1318336c63725e73
2022-02-08 18:48:37 +00:00
Yu Liu
126db90364 Merge "Support bssl hash injection for libcrypto." am: febce2dfa7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1966148

Change-Id: Ia89d6d05ed9b2c3b436c7a86a7e02fc1f02e7298
2022-02-08 18:40:45 +00:00
Cole Faust
076b9c26e9 Merge "Remove --root, require the cwd to be the root" 2022-02-08 18:34:27 +00:00
Yu Liu
febce2dfa7 Merge "Support bssl hash injection for libcrypto." 2022-02-08 16:59:34 +00:00
Jingwen Chen
20d9caa528 Merge "Omit musl related cc_genrules from bp2build." am: db07f002b8 am: 0f3068995d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1976207

Change-Id: I446c33265f33c09549af36726e9d6debb050b497
2022-02-08 08:29:24 +00:00
Jingwen Chen
0f3068995d Merge "Omit musl related cc_genrules from bp2build." am: db07f002b8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1976207

Change-Id: I0a258dec6c572290891c922de514d4f09443d9cc
2022-02-08 08:11:55 +00:00
Jingwen Chen
db07f002b8 Merge "Omit musl related cc_genrules from bp2build." 2022-02-08 07:43:51 +00:00
Aditya Belsare
c0bd27b3b0 Add cert_validator to allowed rust paths
Test: m libcert_request_validator works

Change-Id: I40b8027e98a775dc1b9d3a8ab4431c12d6088c12
2022-02-08 07:32:31 +00:00
Treehugger Robot
30d3d4babc Merge "Export htmlnotice, xmlnotice, and textnotice." am: c7bf27ba7a am: 54da56d074
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1976067

Change-Id: I108a017e6449896c4ed67d387432b7bc5b0493df
2022-02-08 06:18:28 +00:00
Treehugger Robot
54da56d074 Merge "Export htmlnotice, xmlnotice, and textnotice." am: c7bf27ba7a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1976067

Change-Id: I8af530424f85017d37272c65e95e096242748973
2022-02-08 06:05:57 +00:00
Treehugger Robot
c7bf27ba7a Merge "Export htmlnotice, xmlnotice, and textnotice." 2022-02-08 05:52:14 +00:00
Jingwen Chen
f6b4cd4bcd Omit musl related cc_genrules from bp2build.
These trigger a few failure modes (duplicate genrule srcs, failure in
matching config conditions, depending on unconverted soong_zip host
tool).

Test: CI
Bug: 218405924
Change-Id: I15c119803a057e94ef6a941df3b58103d42eb4e4
2022-02-08 04:47:48 +00:00
Treehugger Robot
a16ecabf5f Merge "Disable tidy default DeprecatedOrUnsafeBufferHandling check" am: cf637f101c am: ccf8597e8a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1976066

Change-Id: Icbdb22c61ca357da5622bd72055f2c5ed660ec52
2022-02-08 04:06:32 +00:00
Treehugger Robot
ccf8597e8a Merge "Disable tidy default DeprecatedOrUnsafeBufferHandling check" am: cf637f101c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1976066

Change-Id: Icdde9e0d5820fc7f45d3e2165b151f40774af987
2022-02-08 03:48:48 +00:00
Treehugger Robot
cf637f101c Merge "Disable tidy default DeprecatedOrUnsafeBufferHandling check" 2022-02-08 03:30:31 +00:00
Jooyung Han
4749d6884d Merge changes I11693286,I8d79a434 am: 472be14f26 am: 601cb3422d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972300

Change-Id: I4eba5b2457cbbe863de08afd6fe482f742c55ec3
2022-02-08 01:39:40 +00:00
Colin Cross
234b01de96 Use -fno-sanitize-link-runtime for bionic sanitizers
Currently when using sanitizers and building for the device
the -fsanitize= argument is not passed to the linker so that the
linker won't add the runtimes, which have already been added
as explicit dependencies.  Pass -fno-sanitize-link-runtime instead
in case the linker has other behaviors when passed -fsanitize=
besides adding the runtimes.  Also check for bionic instead of host
so that linux bionic gets the same linker behavior as bionic for
the device.

Test: m USE_HOST_MUSL=true host-native
Test: m checkbuild
Change-Id: I0f2966e2fd4ae8adc5cb21eb116c349bcc0c668f
2022-02-08 01:35:23 +00:00
Jooyung Han
601cb3422d Merge changes I11693286,I8d79a434 am: 472be14f26
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972300

Change-Id: Ic6352169bdd3883d1f8646816dd51fc31e68f269
2022-02-08 01:21:16 +00:00
Treehugger Robot
26f4afa245 Merge "Close opened paths" am: 217a70e713 am: 4c8f8b8c00
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972548

Change-Id: I2d36dd67b02065c4bd58beb946f6d102b5bf5036
2022-02-08 01:08:52 +00:00
Jooyung Han
472be14f26 Merge changes I11693286,I8d79a434
* changes:
  VNDK libs use "unique" APEX variants
  use_vndk_as_stable APEX shouldn't include VNDK lib
2022-02-08 01:03:41 +00:00
Treehugger Robot
4c8f8b8c00 Merge "Close opened paths" am: 217a70e713
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972548

Change-Id: I9976b7ad0c2bbf00e3ed8c7d2e72ffd2c1eb636d
2022-02-08 00:56:53 +00:00
Chih-Hung Hsieh
9bcce2ef3a Disable tidy default DeprecatedOrUnsafeBufferHandling check
This will suppress warning like:
system/chre/chpp/app.c:637:3: warning: Call to function 'memset' is insecure
as it does not provide security checks introduced in the C11 standard.
Replace with analogous functions that support length arguments or provides
boundary checks such as 'memset_s' in case of C11
[clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]

Test: WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1 make tidy-system-chre-chpp_subset
Change-Id: I87a7bba31aa10260fc408317a8cd54bf80c03152
2022-02-07 16:44:13 -08:00