Matthew Maurer
14f26aaa4e
Allow BoringSSL's Rust bindings to build
...
Bug: 177080016
Test: mm in boringssl
Change-Id: I3cdf031ebf7c5bafce00c078107fd7fb3a26ba2d
2022-04-27 14:28:43 -07:00
Treehugger Robot
de0d46f5e0
Merge "Add libtrusty-rs to Rust allow list"
2022-04-05 20:54:18 +00:00
David LeGare
3eee5c4d14
Add libtrusty-rs to Rust allow list
...
Test: Local build
Bug: 226659377
Change-Id: I00798295b0fe1df4dd782361c368f08b991351ae
2022-03-31 16:59:15 +00:00
Andrew Walbran
838febf35e
Allow Rust for tombstoned client.
...
Bug: 226162295
Test: m libtombstoned_client_rust
Change-Id: I0a8e1f8e1c08f47e75e62f008160da746ee2e7f5
2022-03-30 14:23:04 +00:00
Pirama Arumuga Nainar
fac98b5c8e
[rust] Add path for coverage tests to allowed list
...
Bug: http://b/214396112
The goal is to run this smoke test in presubmit on all platform changes.
Test: build with aosp/
Change-Id: I4abb7f46905bd4160a2d628be2761874df6b1b34
2022-03-08 23:08:33 -08: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
Matthew Maurer
2f90708221
Allow UWB to use Rust in reference HAL
...
Bug: 216358770
Change-Id: If0be032a248f6258232e2e47c489983b5416c536
2022-01-25 22:40:12 +00:00
Richard Fung
3d11a5698a
Allow tools/vendor to build rust
...
This is necessary to move the mk_payload package from
packages/modules/Virtualization/microdroid to an ARC owned directory.
Bug: 196891323
Test: m -j
Change-Id: Ifa3e509fb4ffa7861e45f69dd4654e8fbe1677ff
2022-01-18 18:26:35 +00:00
Janis Danisevskis
73f2104588
Allow open-dice to build tests for generatied open-dice rust bindings.
...
Test: N/A
Bug: 205626417
Change-Id: Iafa79f07005b9863468252828c74ee199279c457
2021-11-12 20:33:49 +00:00
Janis Danisevskis
a9029d1f7e
Add hardware/interfaces/security to rust allow list.
...
Test: N/A
Bug: 205626417
Change-Id: I3a648063c8380074713ce58957e4ac062a331e40
2021-11-10 10:59:46 -08:00
Baligh Uddin
5dd07e514e
update allowlist to new path for bluetooth
...
BUG: 196026708
Test: TH
Merged-In: I53c4d72321c7c0aff589969989b5f1990aa0133c
Merged-In: Ia511786ea3f47f673d638bdde8581fe0a31a3cc1
Change-Id: I06e125dfa1f063903b5af9b8d37592b9446eb29e
2021-11-06 14:45:48 +00:00
Treehugger Robot
2a524318e4
Merge "Add path of uwb NativeManager to rust allowlist."
2021-10-27 21:03:22 +00:00
ziyiw
f3d0222262
Add path of uwb NativeManager to rust allowlist.
...
Test: mmm
Bug: 197341298
Change-Id: I70a40f493efced15702dcd0f9ab50733ea23df9f
2021-10-27 11:28:17 -07:00
Joel Galenson
d993155204
Allow writing Rust fuzzers for third-party crates.
...
These would ideally be upstreamed, but until then we can host them here.
Test: Run fuzzers.
Change-Id: Ie1bfd8ce6dffeaa211b85cd6340dfb435ab83c71
2021-10-21 14:28:00 -07:00
Zach Johnson
5145e9d917
Add NFC to the Rust allowlist
...
rustfmt & preupload checks are being checked in shortly
Bug: 197333653
Test: compile
Change-Id: I91f14dc9a58d04fda6ae77de2ea5d85f481d0563
2021-09-17 12:08:44 -07:00
Matthew Maurer
80f0eb1e01
rust: Add UWB to allowlist
...
Change-Id: Ic89e274412c97631f615e6e9ccd711e9300397d1
Test: None
2021-08-26 20:38:16 +00:00
Joel Galenson
a7614dd626
Add system/logging/liblog.
...
This is needed so it can run bindgen tests.
Test: Build
Change-Id: Iefcd1077e3b572c662474c4bb461b04dc66c6204
2021-08-23 14:02:49 -07:00
Joel Galenson
e4d6390558
Add libselinux to the Rust allowlist so we can run its test.
...
Test: Build and atest
Change-Id: Id828f286b35decfd16166e9cbb78cdf477014bf6
2021-08-10 11:54:14 -07:00
Joel Galenson
84be2fc380
Add librustutils to the Rust allowlist and remove libc.
...
Bug: 182498247
Test: Build
Change-Id: I0ea6c9b61cfdb667646e0067098f0ee5b9d9a2b3
2021-07-30 07:47:56 -07:00
Ivan Lozano
6d58321f94
Merge "rust: Add vendor/ to allowed list."
2021-07-27 18:30:43 +00:00
Ivan Lozano
dca00cb76b
rust: Add vendor/ to allowed list.
...
Bug: 191507775
Test: N/A
Change-Id: I077459f545d4a16de092a3cce27ce97afb76d514
2021-07-27 11:58:38 -04:00
Joel Galenson
0ba9cd4cc8
Add libc to Rust allowlist.
...
Bug: 182498247
Test: Build
Change-Id: I3049967e9736e1c0c802f7678f5cafeb6644d4aa
2021-07-21 10:34:51 -07:00
Ivan Lozano
03a94c48da
rust: Add missing Rust allow path modules.
...
Adds rust_benchmark and rust_fuzz to the list of Rust module types which
need to be in the allowed paths, and a comment about rust_bindgen and
rust_protobuf.
This also adds a downstream allow path list which helps prevent merge
conflicts if downstream wants to extend the list of allowed paths.
Bug: 191507775
Test: Paths are checked for the newly added module types.
Test: Paths in DownstreamRustAllowedPaths allow Rust modules.
Change-Id: Ida80c33a815d47ffdfb1f648125d71316a2a9d8a
2021-06-28 11:59:07 -04:00
Bram Bonné
2b9ee14ce0
Merge "Allow Rust code in system/logging/rust"
2021-04-08 07:47:45 +00:00
Joel Galenson
f4b139abcd
Add system/core/libstats to the Rust allowed list.
...
This is where the Rust statspull API will live.
Test: Build
Change-Id: Ia3cae85c576fa3caacd87395dc76069b26e134de
2021-03-30 13:40:43 -07:00
Bram Bonné
e45541d825
Allow Rust code in system/logging/rust
...
Bug: 162454083
Test: make logger
Change-Id: I1116b930af7e06be31c237867fecc6ccd609e4b3
2021-03-29 16:02:53 +02:00
Joel Galenson
77a684e8fb
Add stats directory to Rust allowed list.
...
Bug: 178390804
Test: Build Rust code in that directory.
Change-Id: I3b83fdab4158df8aaf7fed164e5a015cd73772e1
2021-02-17 11:22:38 -08:00
Yi Kong
2c9b3e0e25
Add system/extras/simpleperf to Rust allowed paths
...
This is to allow simpleperf to export rust bindings for use by
profcollect.
Test: build
Change-Id: I187139d6133c144e86cbdb05d20c2515c189718e
2021-01-27 15:48:31 +08:00
Treehugger Robot
4d24e65bbf
Merge "Put external/libchromeos-rs in the Rust allowlist"
2020-12-15 23:28:19 +00:00
Victor Hsieh
274597b951
Put external/libchromeos-rs in the Rust allowlist
...
Bug: 174797066
Test: m
Change-Id: Ieef7df3c17e6d6b1223769cfd07301dfe7d91363
2020-12-04 11:21:06 -08:00
Bernie Innocenti
3a710d6bbb
Allow rust code in packages/modules/DnsResolver
...
Test: m com.android.resolv.apex
Change-Id: I6cb5234f51ac6c31440e7cd5aeca4655629a35d6
2020-12-05 02:55:53 +09:00
A. Cody Schuffelen
4e5fc3b422
Allow rust code in device/google/cuttlefish
...
Test: TreeHugger
Change-Id: If7bce48e101bd49389d952556bfdf95d7899f01b
2020-11-25 18:29:39 -08:00
Qasim Javed
d271ada0c9
Add system/bt to Rust allowed paths.
...
Test: m nothing
Change-Id: Ie467a622dfdb8aea94a06f5fe20183dc9d149254
2020-10-29 11:18:08 -07:00
Alistair Delva
ea2974c8b3
Add external/vm_tools/p9 to rust allowed paths
...
Change-Id: Ifccb7b94a6655524b99d669168c54cf93eed5f89
2020-10-21 06:57:00 -07:00
Alistair Delva
e172eaf67b
Alpha sort rust allowed_list.go
...
Change-Id: If0e9938bb776f42037b57680505de19b9cd88771
2020-10-21 06:56:20 -07:00
Andrew Scull
5a58bca1f4
Update rustfmt preupload example reference
...
The arguments passed to rustfmt have changed from those used in the
previously referenced CL so update the comment to reference a CL using
the new arguments.
Bug: 164111102
Test: None
Change-Id: I962d56ed36422709a1fcd07ca95f1c015daa6339
2020-10-13 13:52:37 +01:00
Andrew Scull
af2015d7d6
Allow packages/modules/Virtualization to use rust
...
Rust will be used for a few virtualization related components so allow
it to be used in the directory in which those components will reside.
Test: built a rust binary in the directory
Change-Id: I805d6117201c2144f7ecf21ec38b577c7c21e9c5
2020-10-13 11:43:52 +01:00
Treehugger Robot
614b06c8ce
Merge "Add allow rust rule for android.system.keystore2 vts tests."
2020-10-06 21:03:42 +00:00
Janis Danisevskis
1edd039bff
Add allow rust rule for android.system.keystore2 vts tests.
...
Bug: 160623310
Test: N/A
Change-Id: Ie501a56c3ed6c1352fc57b5b956df6ac3f4af39f
2020-09-30 14:43:40 -07:00
Thiébaud Weksteen
425a542e2b
rust: document manual configuration for rustfmt
...
Currently, rustfmt requires to be enabled per repository. Add a comment
near the current project allowed_list as a reminder.
Test: None
Bug: 160223496
Change-Id: Iecf8d5b693620541a00d8ddc905549652025eed9
2020-09-30 08:37:42 +00:00
Treehugger Robot
2d815963ba
Merge "Add AIDL compiler to allowed Rust paths"
2020-08-18 22:00:42 +00:00
Matthew Maurer
61ca6a39cc
Merge "Add Rust Binder crate to allowed list"
2020-08-13 21:13:57 +00: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
Yi Kong
91c3e4ec1a
[rust] Add profcollectd to allowed list
...
Test: none
Change-Id: I9c9b4ce10d5349d9a0e0759aeb6d8941b0d9fa65
2020-08-08 01:30:17 +00:00
Andrei Homescu
834152c033
Add AIDL compiler to allowed Rust paths
...
Change-Id: I10864f72ff5099ccd522ff31636ee61981dcdc4b
2020-08-07 22:07:43 +00:00
Janis Danisevskis
8b7eb8d86a
Rust: allow system/security
...
Bug: 160623310
Test: None
Change-Id: I00ddb0fb26e7e67f832fb321186f7313209c2669
2020-08-03 21:27:41 +00:00
Matthew Maurer
2ae0513a8e
rust: Change default variants
...
rust_library now produces only rlib and dylib variants.
rust_library_foreign now produces static and shared variants.
This change was made because both are common cases, but all four
together essentially never happens. This allows us to have fewer repeat
module definitions.
Bug: 143217452
Test: cd external/rust; mma
Change-Id: Iaf69e8da38f7c12710331c51464699cf7cbbb656
2020-07-01 11:27:12 -07:00
Colin Cross
440e0d0542
Use inclusive language in build/soong
...
Test: m checkbuild
Change-Id: Id07890b7cbc2397291a658ca00e86b43c743aafc
2020-06-11 15:33:16 -07:00