platform_build_soong/rust
Colin Cross 31d89b4e0c Move fuzzer's CollectAllSharedDependencies into GenerateAndroidBuildActions
Make rust and cc fuzzers collect their shared libraries once in
GenerateAndroidBuildActions and store it for later use by the
packaging singleton.  Also use android.OutputFileForModule to get
the paths.  Together this will fix fuzzers that depend on architecture
specific prebuilt shared libraries that are missing a prebuilt for an
architecture when building with AllowMissingDependencies.

Bug: 250918230
Test: lunch aosp_riscv64-userdebug && m ALLOW_MISSING_DEPENDENCIES=true nothing
Change-Id: I154a6f3a767c883e9fe7067003615db73ee78e2d
2022-10-04 19:15:45 -07:00
..
config Fix panics when target arch is riscv64 2022-10-04 10:53:07 -07: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 Move common test_options properties into the android package 2022-08-17 01:19:15 +08:00
benchmark.go rust: Remove libtest from stdlibs list 2021-07-15 15:45:31 -04: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 Revert^4 "rust: Only allow bindgen to produce rlibs." 2022-08-10 20:25:50 +00: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 Don't use prebuilt rust stdlibs for linux bionic 2022-07-01 18:30:17 +00: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 Move fuzzer's CollectAllSharedDependencies into GenerateAndroidBuildActions 2022-10-04 19:15:45 -07:00
fuzz_test.go Update RustDefaultVersion to 1.59.0 2022-03-02 19:54:47 +00:00
image.go Fix for duplicate modules across vendor and ramdisk snapshots. 2022-03-07 14:48:12 -08:00
image_test.go Add more Rust vendor image support. 2021-04-13 13:17:12 -04:00
library.go Clean up some bp2build technical debt 2022-05-13 19:47:48 -04:00
library_test.go rust: Allow rustlibs to fallback to rlibs. 2022-04-12 11:30:40 -04: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 rust: Don't propagate apex across customBindgenTag 2022-09-29 16:46:25 -07:00
rust_test.go Merge "rust: Add Recovery Snapshot Soong tests for rust." 2021-11-16 13:47:18 +00:00
sanitize.go Add rust musl arm and arm64 toolchains 2022-06-28 15:16:15 -07: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 Move common test_options properties into the android package 2022-08-17 01:19:15 +08:00
test_test.go Put rust_test.data_libs under lib[64] 2022-04-28 23:55:43 +00:00
testing.go Add cross-referencing support for Rust 2022-04-20 20:02:28 -07: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