Pirama Arumuga Nainar
8a71786b52
Switch to clang r416183b 12.0.5.
...
Bug: http://b/182416735
Test: Treehugger
Change-Id: Ibc26561baaec925c2c05ae710de24aaaab18bef5
2021-04-15 20:22:01 +00:00
Treehugger Robot
3c58641466
Merge changes from topic "userdebug_plat_sepolicy.cil_Android.bp" am: 638830a5a0
am: d8a1386fba
am: 7d5dc83e3b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1674328
Change-Id: Ic6146823d24ddbfcc7706d33ee2d17bad9471325
2021-04-15 07:20:23 +00:00
Jiyong Park
4eab21d5a2
ApexInfo doesn't pass MinSdkVersion as string, but as ApiLevel
...
ApexInfo is not part of the properties struct. It can handle structs
having private fields.
Bug: 1663140
Test: m
Change-Id: Ib07d4410f0ce187c9de347da34b84b814b2eb537
2021-04-15 15:17:54 +09:00
Treehugger Robot
507c35d88f
Merge "Fix evaluation order of (Cfi|Memtag) exclude paths." am: d820c37425
am: 6ff0d4084e
am: 4182f482f4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1672705
Change-Id: I4c10f9ccf8cbaae2dc0e3b953e7c4db0368f073a
2021-04-15 05:50:56 +00:00
Treehugger Robot
638830a5a0
Merge changes from topic "userdebug_plat_sepolicy.cil_Android.bp"
...
* changes:
Add debug ramdisk variant
Add path tests for ramdisk
2021-04-15 05:22:35 +00:00
Jiyong Park
ee9b117038
Remove nativeApiLevelFromUserWithDefault
...
... in favor of proptools.StringDefault
Bug: 1663140
Test: m
Change-Id: I0b3062921b25179cd1bf53856973fb67fe5cfc05
2021-04-15 14:00:00 +09:00
Treehugger Robot
d820c37425
Merge "Fix evaluation order of (Cfi|Memtag) exclude paths."
2021-04-15 03:49:38 +00:00
Inseob Kim
f84e9c05e2
Add debug ramdisk variant
...
A module will be installed to debug_ramdisk (or
debug_ramdisk/first_stage_ramdisk if recovery as boot is true) if
debug_ramdisk is set to true.
Bug: 184004542
Test: soong test
Change-Id: Ic5a4d27407e506fffa462de2149e0785f11b2ac7
2021-04-15 00:56:30 +00:00
Ivan Lozano
a522909a17
Merge changes from topic "rust_vendor_support" am: d466b4a1f5
am: f910744984
am: 7248ef0378
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1666565
Change-Id: Ieecd4422963df3e0350a12ec5603b6e8d637661d
2021-04-14 20:39:59 +00:00
Ivan Lozano
66d93ea7a0
Merge "cc: Create a common image mutator interface" am: e8dfbdfb59
am: fddd9f9214
am: b248e45583
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1666563
Change-Id: I63bd64f572497ac7076b266dfed43fbd6ebf000d
2021-04-14 20:39:29 +00:00
Ivan Lozano
d466b4a1f5
Merge changes from topic "rust_vendor_support"
...
* changes:
Add more Rust vendor image support.
rust: Use new common image mutator interface.
2021-04-14 19:02:49 +00:00
Ivan Lozano
e8dfbdfb59
Merge "cc: Create a common image mutator interface"
2021-04-14 18:53:18 +00:00
Inseob Kim
2fb95e0dc6
Merge changes from topic "reexport_vndk_from_vendor_snapshot" am: ff5cc064c2
am: 52be5348c7
am: 9295f870c5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1671539
Change-Id: I6aeedfc71cf76e16b0c6bf0b8a8a7f85a4c9c780
2021-04-14 02:37:03 +00:00
Inseob Kim
5f06f3b36e
Add flag test for cfi snapshot am: f7aadf70d8
am: 15f5c18550
am: ba6af75d83
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1674225
Change-Id: I25ea400d3c331f60da288a01711da0445ae84eea
2021-04-14 02:36:59 +00:00
Inseob Kim
15f5c18550
Add flag test for cfi snapshot am: f7aadf70d8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1674225
Change-Id: I10650f69e17beb616eadc45c7ae7f5de02b4ff85
2021-04-14 00:31:34 +00:00
Inseob Kim
ff5cc064c2
Merge changes from topic "reexport_vndk_from_vendor_snapshot"
...
* changes:
Support reexporting vndk from vendor snapshot
Add flag test for cfi snapshot
2021-04-13 23:46:13 +00:00
Dan Albert
d05ba00415
Remove draft API support.
...
This is unused and doesn't work with our current API review process
anyway (un-drafting an API won't be flagged for API council review).
Test: treehugger
Bug: None
Change-Id: I6d8fcc9885b82dac5ada7772d9e3fb9101524ece
2021-04-13 15:55:47 -07:00
Treehugger Robot
44a782d019
Merge "Add tests for request_type ParseResult functions." am: 6bd0a19b9d
am: e41f177874
am: e236eb6394
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1672428
Change-Id: I519f147c9db2e60582a7e3537b724d2f39131900
2021-04-13 21:12:59 +00:00
Liz Kammer
3c05ed947b
Merge "Consolidate cc-specific cqueries." am: 41cca851d9
am: b50de53589
am: 3b3c5a1a12
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1672347
Change-Id: Ice69a3d4523b9cdc0cbc17cb59e6c27791d51dd1
2021-04-13 19:12:15 +00:00
Treehugger Robot
6bd0a19b9d
Merge "Add tests for request_type ParseResult functions."
2021-04-13 19:08:11 +00:00
Evgenii Stepanov
779b64ec5d
Fix evaluation order of (Cfi|Memtag) exclude paths.
...
Before this change, exclude paths disabled sanitization of targets that
would otherwise be enabled by SanitizeDevice product variable (aka
SANITIZE_TARGET).
With this change, in addition to the above logic, exclude path disables
sanitization of targets that would otherwise be enabled by the
corresponding include path.
Effectively, this change disables sanitization of targets that are
covered by *both* include and exclude paths.
Test: build/soong/cc/cc_test.go
Bug: b/184976817
Change-Id: I96f1e2a808d88b352b92b7490fa1df5c010314c3
2021-04-13 10:29:15 -07:00
Ivan Lozano
c08897c1e4
Add more Rust vendor image support.
...
This adds Rust vendor image support for all module types except
Rust prebuilts.
Bug: 184042776
Test: New Soong tests.
Test: Example cc_library vendor module can depend on rust_ffi_shared.
Test: Example rust_library vendor-only module compiles.
Change-Id: Iaa30ad51fdaedcbf14687da5472581f6af62ff59
2021-04-13 13:17:12 -04:00
Liz Kammer
41cca851d9
Merge "Consolidate cc-specific cqueries."
2021-04-13 17:11:34 +00:00
Ivan Lozano
3a7d000d12
cc: Create a common image mutator interface
...
As part of adding Vendor support to Rust, refactor the image mutator in
CC to a new common image mutator interface so this logic can be reused
across both CC and Rust.
Bug: 184042776
Test: m nothing
Change-Id: Ia55d5ad840db7cf1a64d6c65ed86487230cb8742
2021-04-13 11:04:44 -04:00
Inseob Kim
dd0295d774
Support reexporting vndk from vendor snapshot
...
Bug: 184795475
Test: soong test
Change-Id: I0146de55e2ef54c1c8abd42f0f4d8b4db7444350
2021-04-13 10:16:49 +09:00
Inseob Kim
f7aadf70d8
Add flag test for cfi snapshot
...
Test: soong test
Change-Id: I651120b11f5b80c4b5f04172170afc533f24c54d
2021-04-13 10:15:31 +09:00
Treehugger Robot
f6a7a92384
Merge "Add a test to check the intall partitions" am: 4a39669a27
am: 68336c71aa
am: 274e65dd7a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1671530
Change-Id: I17f8dade5ffe4bffeb5b2a6e97b576f18b3d1753
2021-04-13 00:54:39 +00:00
Treehugger Robot
b1b535cfce
Merge "Install device_specific cc_prebuilt to ODM" am: dff81fa7d8
am: 7f0ceb9440
am: 0e0bd37556
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1672246
Change-Id: I6ab9896ecc259c87bb8b002042f5c3d768867060
2021-04-13 00:54:33 +00:00
Treehugger Robot
b15d86a8bf
Merge "cpp output of an AIDL file is together with the headers" am: 3bc51dfc72
am: 8ac5437359
am: eacc8eaf1d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1666828
Change-Id: I2892cce913870b9e10fbd4fa32937ecc6d1b70db
2021-04-13 00:54:25 +00:00
Treehugger Robot
4a39669a27
Merge "Add a test to check the intall partitions"
2021-04-13 00:15:38 +00:00
Treehugger Robot
dff81fa7d8
Merge "Install device_specific cc_prebuilt to ODM"
2021-04-13 00:14:40 +00:00
Treehugger Robot
3bc51dfc72
Merge "cpp output of an AIDL file is together with the headers"
2021-04-12 23:42:29 +00:00
Treehugger Robot
05067de372
Merge "Add test for building cc_object with Bazel." am: c8c4bf4c98
am: 9b8e4d6b26
am: 432139a416
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1670172
Change-Id: Id0561e0a5a18a80aac4a8770411a6c4169550c8c
2021-04-12 20:59:57 +00:00
Liz Kammer
fe23bf3eb0
Add tests for request_type ParseResult functions.
...
Test: go test request_type_test
Test: bp2build generate & sync; mixed build libc
Change-Id: Id0b813e9de4d02d8625e42549999659ccb005c6d
2021-04-12 16:23:53 -04:00
Liz Kammer
b71794d8e6
Consolidate cc-specific cqueries.
...
There is little overlap at this point, but we expect these to converge
more over time, to handle exported includes, libs, etc., this will allow
those changes to be handled in one place and allow more consolidation of
code.
Test: bp2build generate & sync; mixed build libc
Change-Id: I51685dad9f4fc11a634965a3c9e84f4a0e279ecb
2021-04-12 15:59:08 -04:00
Treehugger Robot
c8c4bf4c98
Merge "Add test for building cc_object with Bazel."
2021-04-12 19:40:47 +00:00
Treehugger Robot
be66aca8e1
Merge "bp2build: refactor compiler/linker prop function." am: 02e40d0589
am: 39c14f4112
am: e865be2ee1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1671525
Change-Id: I7021083f52dcfec26408a036028d079dab7e5bac
2021-04-12 10:38:46 +00:00
Treehugger Robot
02e40d0589
Merge "bp2build: refactor compiler/linker prop function."
2021-04-12 09:22:30 +00:00
Jingwen Chen
cbb95c8c3c
Merge "bp2build: cc_library converter for //bionic/libdl:libdl_android" am: a42c707572
am: 361061f817
am: b0441fb8ed
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1652408
Change-Id: I2ff24f1aa862cbd9e84e9d2b7a8f69681d032b94
2021-04-12 06:18:01 +00:00
Jingwen Chen
a42c707572
Merge "bp2build: cc_library converter for //bionic/libdl:libdl_android"
2021-04-12 04:30:27 +00:00
Justin Yun
7f99ec7c1f
Add a test to check the intall partitions
...
cc modules have complex image variant settings. To avoid setting
wrong partitions to modules, add a test to check the install
partition.
Bug: 184885453
Test: m nothing
Change-Id: I080661335f2da7281d6e6a0d2fedd1fcecb4b2cb
2021-04-12 13:19:28 +09:00
Robin Lee
33db5cbf6e
Install device_specific cc_prebuilt to ODM
...
In aosp/531337 support for installing prebuilts to vendor and odm
partitions was introduced.
Since aosp/1542687 allowed installing vendor variants to odm, we
started to see device_specific cc_prebuilts not installed to odm
at all.
The reason for this is the InVendor condition is true for the
device_specific module and VendorVariantToOdm is false in cases
outside the one it was designed for, so SocSpecific returns true and
the module gets installed to vendor instead of odm.
We need to check if we're specifically building a vendor variant
before triggering this VendorVariantToOdm logic.
Bug: 184885453
Change-Id: I05be06a61c5fc3f2f72599eb4746c9c0523b956e
2021-04-12 13:12:45 +09:00
Tri Vo
481890dbe2
Merge changes I46e851c8,I2c9eb248 am: eed4716def
am: 77bf9bd71a
am: ec0d17a613
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1662661
Change-Id: I20d8ee08433e88ec2b55fc59a170e9f48a54fd9c
2021-04-10 01:19:53 +00:00
Tri Vo
eed4716def
Merge changes I46e851c8,I2c9eb248
...
* changes:
rust: Add HWASan build support
Export CC HWASan sanitizer type
2021-04-09 22:31:09 +00:00
Liz Kammer
07bc5f9c4e
Add test for building cc_object with Bazel.
...
Test: go test cc tests
Change-Id: I45a341d09c92f57769d1c3b686f8abac113b3548
2021-04-09 11:50:38 -04:00
Treehugger Robot
2a35da912e
Merge "Handle simple prebuilt static libraries from bazel" am: 76579e0e9a
am: 70a88424ba
am: 8d77e0b2fd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1664542
Change-Id: Ib330bfb45d699a0541c12362939ad780f4057a01
2021-04-09 15:23:32 +00:00
David Srbecky
2211320bf8
Merge "Revert^2 "[strip.sh] Move remaining GNU binutils usage to llvm binutils"" am: 2af7a1b5ff
am: dadf9c4fc7
am: c842453fa5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1670068
Change-Id: I254f26a009ee3f54445b2ecaa9e9229d0f47ade3
2021-04-09 13:55:18 +00:00
Treehugger Robot
76579e0e9a
Merge "Handle simple prebuilt static libraries from bazel"
2021-04-09 13:38:59 +00:00
David Srbecky
2af7a1b5ff
Merge "Revert^2 "[strip.sh] Move remaining GNU binutils usage to llvm binutils""
2021-04-09 11:58:00 +00:00
Jingwen Chen
107c0de80e
bp2build: refactor compiler/linker prop function.
...
This changes the return value into a compiler/linker attr struct to
standardize callsites and make it easier to retrieve the parsed attrs.
Test: TH
Change-Id: I1e3956e7cb5d924ce8472ece940faea459beef37
2021-04-09 10:45:48 +00:00