Commit graph

21160 commits

Author SHA1 Message Date
Nicolas Geoffray
5c5058ffa7 Remove platform host-exports.
It is not defined anymore.

Test: scripts/build-mainline-modules.sh
Bug: 142935992
Change-Id: I43dad2e5fc52bc19996fe8cf5aaa5c7188110029
2020-07-30 16:22:17 +01:00
Andrei-Valentin Onea
06bd410548 Merge "Update language to comply with Android's inclusive language guidance" am: 01124262f0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374496

Change-Id: I43299692a74aa8d42ce39fdf8c6228e34c200f27
2020-07-30 12:30:24 +00:00
Andrei-Valentin Onea
01124262f0 Merge "Update language to comply with Android's inclusive language guidance" 2020-07-30 12:09:00 +00:00
Justin Yun
f2664c6b4a Skip llndk_library and llndk_headers for vendor snapshot
llndk_library and llndk_headers are backward compatible. We may use
the source code instead of snapshot for those modules.

Bug: 161565086
Test: build with vendor snapshot
Change-Id: If3da3f9b31f7180d8d0835f8dbd7ba938a60d967
2020-07-30 18:57:54 +09:00
Jooyung Han
feb217de25 Merge "apex: set ":vndk" as required for vendor apexes" am: b0c4d3b319
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1376856

Change-Id: Iedc06a90268abe75a837a4a491f4a630539a49d8
2020-07-30 00:20:23 +00:00
Jooyung Han
b0c4d3b319 Merge "apex: set ":vndk" as required for vendor apexes" 2020-07-30 00:00:44 +00:00
Yifan Hong
97365ee425 Introduce BOARD_KERNEL_BINARIES to soong
Bug: 161563386
Test: use it

Change-Id: I8ff429a329a9aa2a8ab6c8b4501356a84a7aead6
2020-07-29 14:52:11 -07:00
Yifan Hong
93a90db516 Prevent GKI APEXes to write to $OUT/apex.
Multiple GKI APEXes may write to the same path
under $OUT/apex. Prevent it.

Fixes: 162366062
Test: build GKI APEX

Change-Id: I1b19870b10d6da2a85c3f7b9d93408d3a0fe90bc
2020-07-29 13:39:57 -07:00
Colin Cross
6e511a9a9f Add libraryDependencyTag to track dependencies on static and shared libraries
dependencyTag uses a set of predefined tags to identify different types
of dependencies.  There are already multiple bits of metadata stored
in the dependency tag (Library, Shared, ReexportFlags), and supporting
them all requires a combinatorial explosion of predefined tags and
causes issues when using equality comparisons if a new bit of metadata
is added.

Add a new libraryDependencyTag type that will contain the metadata
bits, and replace the quality comparisons with checks on the metadata
bits.

There are 5 TODOs where modifying the checks identified problems with
the existing checks.  These were left in place to produce identical
build output and will be fixed separately.

Bug: 162437057
Test: no change to build.ninja or {Android,make_vars,late}-${TARGET_PRODUCT}.mk
Change-Id: I72d4207dcf381c07c92e00e5a03968ebb5ed8d30
2020-07-29 13:22:30 -07:00
Jasraj Bedi
bb4511df94 Added write only sanitizer for ASAN and HWASAN
Bug: 162024969
Test: Successfully builds targets for both host and device

"writeonly" flag in SANITIZE_(HOST|TARGET) enables it with "address"
and "hwaddress"

Change-Id: Ia89d43230deef15a67dee09ed015fea14f0717ff
2020-07-29 20:13:53 +00:00
Aleksei Kalinov
f0f5cdc1cc Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference.

Bug: 161896447
Test: ran `m`.
Change-Id: If5ec29482911c281bc1c4bf2cfc84b2f05c2240d
2020-07-29 15:49:05 +00:00
Treehugger Robot
b04b2e0ca4 Merge "Inclusive fix: Replace sanity with validation in cc.go." am: afb7c1b7e9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374703

Change-Id: I74b05535003739af05c7367d0861bbaab8f8652b
2020-07-29 13:45:43 +00:00
Treehugger Robot
afb7c1b7e9 Merge "Inclusive fix: Replace sanity with validation in cc.go." 2020-07-29 13:24:15 +00:00
Paul Duffin
89a55fdeab Merge "Avoid creating APEX variant for sdk member" am: f91079f120
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1371417

Change-Id: I1a83d12aadc057048afd96939c1c49d65c635849
2020-07-29 11:49:46 +00:00
Paul Duffin
f91079f120 Merge "Avoid creating APEX variant for sdk member" 2020-07-29 11:33:12 +00:00
Treehugger Robot
3c8b1a91ae Merge "Update language to comply with Android's inclusive language guidance" am: 0fbbc904b8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374756

Change-Id: I0ea9dedda3386777f1503e54980b7e6150f86288
2020-07-29 08:27:27 +00:00
Treehugger Robot
0fbbc904b8 Merge "Update language to comply with Android's inclusive language guidance" 2020-07-29 08:10:52 +00:00
Jooyung Han
6c4cc9ce23 apex: set ":vndk" as required for vendor apexes
When a vendor APEX sets use_vndk_as_stable: true, then the apex doesn't
bundle VNDK libraries but instead it uses them from the "vndk" namespace
at runtime.

":vndk" is a pseudo-name for VNDK libraries, which is processed by
linkerconfig so that the generated linker configuration allows the
namespace for the apex to access VNDK libs.

Bug: 159576928
Test: test with a test-only vendor apex
      it runs okay with VNDK libs. (lsof shows that it opens libs from
      VNDK APEX)
Change-Id: I924ce0fea696162575f59589b8f858deddf436b3
2020-07-29 16:00:54 +09:00
Treehugger Robot
f68c418450 Merge "Inclusive fix: renaming dumb terminal to simple terminal." am: 5fd4f5d470
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374757

Change-Id: I10d5cfb01b6aa452391f447bff4dc51a59eb570b
2020-07-29 05:20:57 +00:00
Treehugger Robot
5fd4f5d470 Merge "Inclusive fix: renaming dumb terminal to simple terminal." 2020-07-29 05:08:40 +00:00
Treehugger Robot
4b60484e5e Merge "Update language to comply with inclusive guidance" am: 0ebab772f5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374704

Change-Id: I11bdb32e95a5326a89cca5ebf28553b65c2be597
2020-07-29 03:59:32 +00:00
Treehugger Robot
0ebab772f5 Merge "Update language to comply with inclusive guidance" 2020-07-29 03:41:51 +00:00
Treehugger Robot
990a47f319 Merge "Inclusive fix: removed the word Sane in Soong build UI config" am: 70b41c2183
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374699

Change-Id: I7d5f542ba0b75fea07d3df28c99f2bf48cca1e7e
2020-07-29 02:59:06 +00:00
Treehugger Robot
70b41c2183 Merge "Inclusive fix: removed the word Sane in Soong build UI config" 2020-07-29 02:37:23 +00:00
Yifan Hong
f42782760d Merge "Add makefile_goal." am: 17d369709c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1373517

Change-Id: Ied043948cc3a66b9b4873b6688d78575d5076c24
2020-07-29 02:14:55 +00:00
Yifan Hong
17d369709c Merge "Add makefile_goal." 2020-07-29 01:58:36 +00:00
Treehugger Robot
23b4b611ce Merge "Add apex.use_vndk_as_stable property" am: 4514d96e18
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1369777

Change-Id: Ic7674202fb06dc86027ac01845963cc70607998e
2020-07-29 01:30:15 +00:00
Treehugger Robot
8c785bcb64 Merge "Update language to comply with Android's inclusive language guidance" am: c92a48ffa7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1373518

Change-Id: Ie9f104fc49d9a787a4e9f1034f68cf6f53bc95de
2020-07-29 01:30:09 +00:00
Treehugger Robot
4514d96e18 Merge "Add apex.use_vndk_as_stable property" 2020-07-29 01:27:46 +00:00
Treehugger Robot
c92a48ffa7 Merge "Update language to comply with Android's inclusive language guidance" 2020-07-29 01:12:36 +00:00
Ivan Lozano
6705bba748 Merge changes I4efdf333,I4abaf8e7 am: 3feff6c130
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1371808

Change-Id: I984b042d5b678103ce407bd696d41a17e5c45c47
2020-07-29 00:57:01 +00:00
Ivan Lozano
3feff6c130 Merge changes I4efdf333,I4abaf8e7
* changes:
  Ensure hermetic device rust_bindgen.
  Generate deps file for rust_bindgen modules.
2020-07-29 00:25:42 +00:00
Treehugger Robot
ffdfccd54c Merge "Inclusive fix: Replace sanity to validation in java/sdk.go" am: 3d8e506c3a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374701

Change-Id: I9ee262036e17e56343a16279d5f8c3da8769861a
2020-07-28 23:54:08 +00:00
Treehugger Robot
69400f71e3 Merge "Inclusive fix: change the word dummy to fake in zip_test.go" am: e119a5c554
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374700

Change-Id: I35350eb24d9a1dde0740b5d88b521aded7ea6194
2020-07-28 23:53:53 +00:00
Treehugger Robot
3d8e506c3a Merge "Inclusive fix: Replace sanity to validation in java/sdk.go" 2020-07-28 23:39:20 +00:00
Treehugger Robot
e119a5c554 Merge "Inclusive fix: change the word dummy to fake in zip_test.go" 2020-07-28 23:37:52 +00:00
Liz Kammer
cada807a92 Update language to comply with inclusive guidance
Update android_app_set to use word install rather than master for
android_app_sets, this better matches the phrasing used for apex_set.

See https://source.android.com/setup/contribute/respectful-code for
reference

Bug: 161896447
Test: m nothing
Change-Id: I429e7f8b16c42c10ad4d9543110f5ce814a893b1
2020-07-28 15:47:38 -07:00
Treehugger Robot
ebdbfbf539 Merge "Update language to comply with inclusive guidance" am: 9326ba770c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1374702

Change-Id: Iae011adb6146bbe9c43508cef86bc9d80d7621d7
2020-07-28 21:36:33 +00:00
Patrice Arruda
8da724a64a Update language to comply with inclusive guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

Bug: 161896447
Test: m nothing
Change-Id: Ib54185f2ef9666c7d82afc65fe7fc6bc7fdadfb5
2020-07-28 21:22:12 +00:00
Treehugger Robot
9326ba770c Merge "Update language to comply with inclusive guidance" 2020-07-28 21:21:31 +00:00
Liz Kammer
7941b30c67 Update language to comply with inclusive guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

Bug: 161896447
Test: m nothing
Change-Id: I13f42b680c6b819a2708c973e7718267c121f862
2020-07-28 13:27:34 -07:00
Patrice Arruda
f445ba1788 Inclusive fix: renaming dumb terminal to simple terminal.
Bug: b/161896447
Test: "lunch 1" and "m nothing"
Change-Id: Ifb228c0f0f634477932c9240e57170f7390201f7
2020-07-28 20:25:03 +00:00
Ivan Lozano
45901edb9a Ensure hermetic device rust_bindgen.
rust_bindgen was not hermetic previously as it would pull in host
headers for device targets. This fixes that by using the same flags we
use when compiling with Clang. This also makes sure our rust_bindgen
headers are built as similar as possible to their respective
cc_libraries.

This also pulls in the bionic dependencies as well, which provide the
headers required for device targets.

Bug: 162007475
Test: device rust_bindgen deps file does not reference host headers.

Change-Id: I4efdf333e011a6c6d73a0345e5485823f166d17a
2020-07-28 14:53:57 -04:00
Liz Kammer
20ebfb46fc Update language to comply with inclusive guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

Bug: 161896447
Test: m nothing
Change-Id: Ie1d0d63d27f1b1b48680922b7202aa6df04f4696
2020-07-28 11:37:31 -07:00
Patrice Arruda
807cfd2a99 Inclusive fix: Replace sanity with validation in cc.go.
Bug: b/161896447
Test: "lunch 1" and "m nothing"
Change-Id: Ibaba96149763a55a0ff20c338bb98b6f9a2a12b6
2020-07-28 18:35:53 +00:00
Patrice Arruda
b481b87104 Inclusive fix: Replace sanity to validation in java/sdk.go
Bug: b/161896447
Test: "lunch 1" and "m nothing"
Change-Id: I8cbdec02dccd961a8cac92c6e957aeebd1e263c1
2020-07-28 18:30:44 +00:00
Patrice Arruda
358d8fd56b Inclusive fix: change the word dummy to fake in zip_test.go
Bug: b/161896447
Test: "lunch 1" and "m nothing"
Change-Id: I1fbc6a1a95101836bff3acb3f5315854f7812fd5
2020-07-28 18:21:10 +00:00
Patrice Arruda
90109177f8 Inclusive fix: removed the word Sane in Soong build UI config
Bug: b/161896447
Test: "lunch 1" and "m nothing"
Change-Id: Icd57d339bcc9978c505428730fba33fe291c32d4
2020-07-28 18:10:26 +00:00
Pirama Arumuga Nainar
bb77ffc496 Merge "[cc/sanitize] Add Blocklist property" am: eda8499a3c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1373516

Change-Id: I30b45c4e164bbeab80f6369f8cfa07ee217ed287
2020-07-28 17:41:44 +00:00
Pirama Arumuga Nainar
eda8499a3c Merge "[cc/sanitize] Add Blocklist property" 2020-07-28 17:21:59 +00:00