Commit Graph

21357 Commits

Author SHA1 Message Date
Dan Willemsen a6ba0d2a4c Merge "Remove M4 export to Make" 2020-08-12 14:48:08 +00:00
Patrice Arruda 9685036e6e Start collecting build configuration metrics.
This is an initial CL that collects the environment variables
USE_GOMA and USE_RBE. This is a needed metric to determine how
many users are currently using GOMA so we can help them migrate
to RBE.

Bug: b/163598127
Test: m nothing and checked soong_metrics
Change-Id: I39536eabad01aafbb3bd7182515d72230b36f658
2020-08-12 14:25:37 +00:00
Kousik Kumar deab08e664 Merge "Add remote execution support for clang-tidy actions" am: 20cccd2e95
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1343716

Change-Id: I38233bbeb4ddbbcd79eb480cadfafe29b3b03f32
2020-08-12 14:05:26 +00:00
Kousik Kumar 20cccd2e95 Merge "Add remote execution support for clang-tidy actions" 2020-08-12 13:46:10 +00:00
Ivan Lozano 1200e780fd Merge "Only return the source files of a Rust module with a SourceProvider if the internal compiler has been disabled" am: 4c698f3ff2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1393632

Change-Id: I06243ab4506fd46e760da0b45d97bdda79698196
2020-08-12 13:28:53 +00:00
Ivan Lozano 4c698f3ff2 Merge "Only return the source files of a Rust module with a SourceProvider if the internal compiler has been disabled" 2020-08-12 13:11:50 +00:00
Treehugger Robot a2e8000dce Merge "HostToolPath should return install path" am: 65c74d9f89
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1396128

Change-Id: I628ebb49b3315bed63c3c6d9174d9b96ccd38ba9
2020-08-12 03:03:28 +00:00
Treehugger Robot 65c74d9f89 Merge "HostToolPath should return install path" 2020-08-12 02:45:40 +00:00
Chih-Hung Hsieh a756270ec2 HostToolPath should return install path
Bug: 163154468
Test: make; find dependencies of 'Module:  sqlite3_bindgen_x86_64'
Change-Id: Id9fc4f1937983bdf7eb1732ed6a8afd5aa3eb24c
2020-08-11 16:38:52 -07:00
Dan Albert 92fe740677 Stop using prebuilt NDK CRT objects.
We don't need the prebuilt versions. The NDK CRT objects are (now)
built from the platform sources and the only difference is that the
NDK CRT objects also include an ELF note that identifies the NDK
version, which isn't helpful for anything built by the platform.

Add a `crt` property to cc_object that allows CRT objects to identify
themselves. CRT objects, unlike other modules, will have a variant
built per-API level they support, rather than just an SDK variant and
a platform variant. This is needed because new CRT objects will rely
on APIs not available in old libcs and old CRT objects will not
support all the features of a modern one.

Test: treehugger
Bug: http://b/159925977
Change-Id: I6595485fa1bfe0ad4945193d344b863f64eec654
2020-08-11 15:06:55 -07:00
Pirama Arumuga Nainar eb037766bb Merge "[cc/sanitize] Deprecate blacklist sub-property of sanitize" am: 84ce8d8d89
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1383562

Change-Id: I76d482938f8f7515a6a36a27f9f162852cfa12ec
2020-08-11 21:42:46 +00:00
Pirama Arumuga Nainar 84ce8d8d89 Merge "[cc/sanitize] Deprecate blacklist sub-property of sanitize" 2020-08-11 21:24:16 +00:00
Andrei Homescu 5db69cc896 Only return the source files of a Rust module with a SourceProvider if the internal compiler has been disabled
Test: mmma system/tools/aidl with assertOutput FIXMEs re-enabled
Change-Id: I84598ae2d1181656b7d68088f86ab016563e5d80
2020-08-11 13:25:25 -07:00
Anton Hansson 6e9ac52bdd Merge "Update neverallows path for sdkextensions" am: 3d02e1f3c5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1318995

Change-Id: I593988dac966a2b85c0916b0918680701427d23e
2020-08-11 12:09:04 +00:00
Anton Hansson 3d02e1f3c5 Merge "Update neverallows path for sdkextensions" 2020-08-11 11:55:39 +00:00
Dan Willemsen ee8cd06a2f Remove obsolete PDK build functionality am: 9f43597ff7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1319667

Change-Id: I44b7f0a54a3bf7016d948747e881c4c3b8db7fc9
2020-08-11 09:41:59 +00:00
Anton Hansson 4b8e64b1ce Update neverallows path for sdkextensions
The modules sources have been moved, update the sdk variant whitelist.

Bug: 156286599
Test: m
Exempt-From-Owner-Approval: cherry-pick from internal
Change-Id: Idbd02b17b1c741f1dc20a3742ff57e8469a846c0
Merged-In: Idbd02b17b1c741f1dc20a3742ff57e8469a846c0
2020-08-11 10:32:21 +01:00
Jeongik Cha 839fc6659c Update ApexAvailableBaseline
Remove ipmemorystore-aidl-interfaces-java in allowlist for
com.android.tethering

Bug: 146436251
Test: m nothing
Change-Id: I8b7f97d59c2fd191f467ad50a8fd66d9a5d37704
2020-08-11 13:07:18 +09:00
Dan Willemsen 9f43597ff7 Remove obsolete PDK build functionality
This hasn't worked for a couple years, and continues to bitrot. Just
remove it.

Adds a bpfix rule so that we can eventually remove the
product_variables.pdk definition, which is now always a no-op.

Test: treehugger
Change-Id: I830b54d419b59f6db1d4617b45e61a78234f57a7
Merged-In: I830b54d419b59f6db1d4617b45e61a78234f57a7
2020-08-11 01:11:44 +00:00
Martin Stjernholm 2829f6c09c Propagate settings for building in an unbundled tree.
Test: build/soong/scripts/build-aml-prebuilts.sh art-module-sdk
  on master-art
Change-Id: Iaff7f590d67fdd6f533f2831475deb7b92090ea2
2020-08-11 01:41:20 +01:00
Stephen Crane fb67ab5152 Add Rust Binder crate to allowed list
Test: m libbinder_rs
Change-Id: I5c6b6216376a8b68c4fc7a30490c035c4fae54ff
2020-08-10 19:41:24 +00:00
Andrei Onea 47841973b2 Rename hiddenapi csv artifact
Use a more inclusive terminology (go/hiddenapi-list-renaming).

Bug: 162844296
Test: m
Change-Id: I9feea8f9d8e88977d949dfe4dcbd7e72bf77a451
2020-08-10 17:23:52 +01:00
Ivan Lozano 5197acb50d Merge "Export Rust SourceProvider types and methods" am: a57e56a684
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1391156

Change-Id: Ia805d2355c4d66e5c7ddef793d614d2a0b8c0611
2020-08-10 12:27:00 +00:00
Ivan Lozano a57e56a684 Merge "Export Rust SourceProvider types and methods" 2020-08-10 12:11:16 +00:00
Thiébaud Weksteen b3c97e2a83 Merge "rust: fully disable all lints when no_lint is set" am: 95647739aa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1393998

Change-Id: Ibec9e18f34bf08b31cf08d2ed8a140e5336186ee
2020-08-10 08:11:00 +00:00
Thiébaud Weksteen 95647739aa Merge "rust: fully disable all lints when no_lint is set" 2020-08-10 07:56:19 +00:00
Jingwen Chen 46b6b40c7a Merge "Fix droiddoc disting when WITHOUT_CHECK_API is true." am: fc16b6684e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1371680

Change-Id: I3ef1e21268b413f9cafb9b64cbea2b376889c1b1
2020-08-10 05:43:01 +00:00
Jingwen Chen fc16b6684e Merge "Fix droiddoc disting when WITHOUT_CHECK_API is true." 2020-08-10 05:22:24 +00:00
Jeongik Cha 497158434d Merge "Introduce AlwaysUsePrebuiltSdks" am: 6df337255c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1356666

Change-Id: Ic57fb7784bd69a8f462d21e1bf01153334644f8a
2020-08-10 01:08:34 +00:00
Jeongik Cha 6df337255c Merge "Introduce AlwaysUsePrebuiltSdks" 2020-08-10 00:51:56 +00:00
Yi Kong 4cc775a9e7 [rust] Add profcollectd to allowed list am: 91c3e4ec1a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1388696

Change-Id: Ief50520072b4a4f65c0aa3ee0c57f2c5c6f852c4
2020-08-08 05:42:07 +00:00
Yi Kong 91c3e4ec1a [rust] Add profcollectd to allowed list
Test: none
Change-Id: I9c9b4ce10d5349d9a0e0759aeb6d8941b0d9fa65
2020-08-08 01:30:17 +00:00
Treehugger Robot 9a203fcd90 Merge "Merge libs/ directory of imported aars into classes.jar" am: 7189f5d1e2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1392878

Change-Id: I52af22aab65247e5428b5c5a31f5f61eec1dd19e
2020-08-08 01:04:54 +00:00
Treehugger Robot 7189f5d1e2 Merge "Merge libs/ directory of imported aars into classes.jar" 2020-08-08 00:51:38 +00:00
Treehugger Robot 7b9906a420 Merge changes Icec57d43,Ibb030cc4 am: 0dc67ceee9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1392891

Change-Id: I982717081df8564c510f088e90854b65f015a4ae
2020-08-08 00:35:23 +00:00
Treehugger Robot 0dc67ceee9 Merge changes Icec57d43,Ibb030cc4
* changes:
  Add alias variations to linkageMutator
  Use local variations for versionsMutator
2020-08-08 00:24:03 +00:00
Treehugger Robot 5cf075af62 Merge "Set the OS name in the metrics protobuf file" am: 94dd99c9ca
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1394156

Change-Id: I70cced9e60bf0c9c933c21460080c366851cc483
2020-08-07 22:41:25 +00:00
Treehugger Robot 94dd99c9ca Merge "Set the OS name in the metrics protobuf file" 2020-08-07 22:22:06 +00:00
Andrei Homescu 834152c033 Add AIDL compiler to allowed Rust paths
Change-Id: I10864f72ff5099ccd522ff31636ee61981dcdc4b
2020-08-07 22:07:43 +00:00
Colin Cross 205e91183e Merge libs/ directory of imported aars into classes.jar
AARs can provide extra classes in the libs/ directory that should
be treated the same as classes.jar, merge them into a single jar
when extracting the AAR.

Bug: 162892721
Test: m androidx.appsearch_appsearch
Change-Id: I92bf46f47ce5f3dce16c42197c15ed256304fda2
2020-08-07 14:07:23 -07:00
Dan Willemsen 678ae27cfa Remove M4 export to Make
This is now handled by a prebuilt_build_tool entry.

Test: treehugger
Change-Id: Ia746d5b274a897db0cd9e6ddac5f8923bca8e52c
2020-08-07 13:45:45 -07:00
Dan Willemsen 1b1a1e92c1 Merge "Reland "Add prebuilt_build_tool to allow genrules to use prebuilt tools"" am: a047f0120c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1392887

Change-Id: I4e8f1980d0bf131984f10aedd02e5b10c11fbaff
2020-08-07 20:45:15 +00:00
Dan Willemsen a047f0120c Merge "Reland "Add prebuilt_build_tool to allow genrules to use prebuilt tools"" 2020-08-07 20:27:40 +00:00
Treehugger Robot a7586115c7 Merge "Add BoardKernelModuleInterfaceVersions." am: f3ab72936b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1392499

Change-Id: Id7677cf74428661cf2ed6fec8c587b32aeff7bfa
2020-08-07 18:41:52 +00:00
Treehugger Robot f3ab72936b Merge "Add BoardKernelModuleInterfaceVersions." 2020-08-07 18:37:36 +00:00
Treehugger Robot 84beaa0135 Merge "Don't export link dirs from proc-macros." am: 2a73c2d060
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1393144

Change-Id: Ibbf8e3d230bac6d363093c211501230da382fbfc
2020-08-07 18:34:30 +00:00
Kelvin Zhang 74fa47f962 Merge "Fix zip64 reader when file size is < 4GB and 32 bit fields are -1" am: 49023a992f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1381161

Change-Id: Ib0d36e96c81c2604f7be03aadee9b6a5c53305b6
2020-08-07 18:34:20 +00:00
Treehugger Robot 2a73c2d060 Merge "Don't export link dirs from proc-macros." 2020-08-07 18:20:21 +00:00
Kelvin Zhang 49023a992f Merge "Fix zip64 reader when file size is < 4GB and 32 bit fields are -1" 2020-08-07 18:20:15 +00:00
Patrice Arruda add7ea9cc8 Set the OS name in the metrics protobuf file
There are cases where the developer is not building a product so
the metadata information is not being set. For now, set the OS
name so we can track which OS the user is using it.

Fixes: b/163118212
Test: m nothing and checked the blueprint
Change-Id: I9b521eee2d266b50625aa8e916ddaacb4e2feaea
2020-08-07 17:55:23 +00:00