platform_build_soong/rust
Ivan Lozano 0f9963e9e4 Copy Rust fuzzer dependencies to /data.
Fix an issue where rust_fuzz modules were
not correctly packaging and copying their
dependencies.

This is done by extending the CC fuzz packager
to simply handle both Rust and CC modules,
ensuring this doesn't get out of sync again.
Fuzzer related functions are added to the
Linkable interface to facilitate this.

There was a bug where the Make definitions for
Rust fuzzers were not being created as well,
and that is addressed here.

Bug: 249551848
Test: m android_log_fuzzer #check $OUT/data/fuzz/arm64/libs
Change-Id: I9b41153e0cf08ab510476b75003c3a3baccc3858
2023-02-06 13:48:23 -05:00
..
config rustc-1.65.0.p1 Build 9523344 2023-01-26 14:54:42 -08:00
afdo.go AFDO for Rust 2022-01-21 18:13:18 +08:00
Android.bp AFDO for Rust 2022-01-21 18:13:18 +08:00
androidmk.go Copy Rust fuzzer dependencies to /data. 2023-02-06 13:48:23 -05:00
benchmark.go Allow adding extra tradefed options in the Android.bp file 2023-01-03 12:47:11 -08:00
benchmark_test.go Add rust_benchmark module to soong. 2021-04-06 12:40:32 +02:00
binary.go Drop rust dependency on musl_linker_script 2022-09-30 15:12:25 -07:00
binary_test.go rust: Refactor stripped output file path 2021-11-09 21:43:58 -05:00
bindgen.go Delete __ANDROID_APEX_MIN_SDK_VERSION__ from Soong 2023-01-20 00:14:48 -05:00
bindgen_test.go rust: Add header library support to rust_bindgen. 2020-11-17 13:40:50 -05:00
builder.go Add cross-referencing support for Rust 2022-04-20 20:02:28 -07:00
builder_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
clippy.go rust: modify linting properties 2020-08-13 15:58:09 +02:00
clippy_test.go Convert remaining rust tests to use test fixtures 2021-03-30 22:45:21 +01:00
compiler.go Use the same rpaths for tests and binaries and cc and rust 2023-01-11 16:04:19 -08:00
compiler_test.go Flag an error on empty rust module srcs 2021-10-14 15:25:07 +00:00
coverage.go [rust/coverage] Use new flag for coverage instrumentation 2022-06-07 11:15:59 -07:00
coverage_test.go [rust/coverage] Use new flag for coverage instrumentation 2022-06-07 11:15:59 -07:00
doc.go rust: doc: Zip up docs when done 2021-08-20 13:08:16 -07:00
fuzz.go Copy Rust fuzzer dependencies to /data. 2023-02-06 13:48:23 -05:00
fuzz_test.go Update RustDefaultVersion to 1.59.0 2022-03-02 19:54:47 +00:00
image.go rust: Enable Rust modules in Product 2023-01-24 16:39:52 -08:00
image_test.go rust: Enable Rust modules in Product 2023-01-24 16:39:52 -08:00
library.go rust: expand docstrings for Rust module types 2022-11-18 12:11:03 +01:00
library_test.go Merge "rust: Test with full Rust “crate_type”" 2022-11-21 10:29:42 +00:00
OWNERS rust: Rust is now GA for platform usage 2022-07-28 06:57:26 -07:00
prebuilt.go Add cross-referencing support for Rust 2022-04-20 20:02:28 -07:00
proc_macro.go Add cross-referencing support for Rust 2022-04-20 20:02:28 -07:00
proc_macro_test.go Pass "--extern proc_macro" to rust_proc_macros. 2021-09-23 10:34:24 -07:00
project_json.go Support rust_toolchain_library for rust-project 2021-12-08 17:54:19 +11:00
project_json_test.go Include proc macro crates in rust-project.json 2021-10-06 19:39:06 +00:00
protobuf.go Revert^4 "rust: Only allow bindgen to produce rlibs." 2022-08-10 20:25:50 +00:00
protobuf_test.go Support test fixtures in rust package 2021-03-23 18:47:15 +00:00
rust.go Copy Rust fuzzer dependencies to /data. 2023-02-06 13:48:23 -05:00
rust_test.go rust: Enable Rust modules in Product 2023-01-24 16:39:52 -08:00
sanitize.go Driveby: remove duplicate condition 2022-10-12 19:30:15 +00:00
sanitize_test.go rust: Support MTE memtag_heap sanitizer 2021-11-04 10:51:54 -04:00
snapshot_prebuilt.go Add cross-referencing support for Rust 2022-04-20 20:02:28 -07:00
snapshot_utils.go Include static lib information for the snapshot modules 2021-07-01 11:42:28 +00:00
source_provider.go Revert^4 "rust: Only allow bindgen to produce rlibs." 2022-08-10 20:25:50 +00:00
source_provider_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
strip.go Add comments to {cc,rust}/strip.go 2020-11-19 20:02:34 +01:00
test.go Use the same rpaths for tests and binaries and cc and rust 2023-01-11 16:04:19 -08:00
test_test.go Put rust_test.data_libs under lib[64] 2022-04-28 23:55:43 +00:00
testing.go rust: Enable Rust modules in Product 2023-01-24 16:39:52 -08:00
toolchain_library.go rust: Add rust_toolchain_library module. 2021-11-16 08:51:48 -05:00
vendor_snapshot_test.go Use single module for clang runtime libraries 2022-03-07 14:56:32 -08:00