android_build_soong/rust
Colin Cross a6182ab2fa Move checkbuild targets of Soong modules into Soong
Pass the name of Soong's checkbuild target for each module to
Make so that it can depend on it from the main checkbuild rule.
This will give better control over which files get built, allowing
checkbuild to skip the jar combining step when transitive classpath
jars are enabled.  The per-module checkbuild targets are passed to
make instead of added directly as a dependency of checkbuild in order
to maintain the existing behavior of only building modules exposed
to make in checkbuild.

Also tweak the existing calls to CheckbuildFile and add
InstallFileWithoutCheckbuild to match the files that are
in the Make-based checkbuild.

Bug: 308016794
Test: m checkbuild
Change-Id: Ic5140819381d58f4d00f23a7a12447950c4cf268
2024-09-03 14:52:19 -07:00
..
config rustc-1.80.1 Build 12274397 2024-08-25 17:03:32 -07:00
afdo.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
afdo_test.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
Android.bp Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
androidmk.go Remove duplicated CollectDependencyAconfigFiles() 2024-05-10 10:00:14 +09:00
benchmark.go Remove test_per_src 2024-06-28 10:31:05 -07:00
benchmark_test.go Add rust_benchmark module to soong. 2021-04-06 12:40:32 +02:00
binary.go cc/rust: Alias ffi rlib variant for static_libs 2024-06-26 01:35:41 +00:00
binary_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
bindgen.go Make the WholeStatic/Static/Shared libs properties configurable 2024-08-19 14:39:19 -07:00
bindgen_test.go rust: Support for generated c files from bindgen 2024-05-03 14:01:09 -04:00
builder.go Pass the --cfg soong flag when building rustdoc 2024-07-11 11:33:11 -07:00
builder_test.go cc/rust: Alias ffi rlib variant for static_libs 2024-06-26 01:35:41 +00:00
clippy.go rust: modify linting properties 2020-08-13 15:58:09 +02:00
clippy_test.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
compiler.go Convert some properties to Configurable properties 2024-05-22 13:33:42 -07:00
compiler_test.go rust: Add an option to disable LTO for Rust 2024-05-17 10:11:57 -04:00
coverage.go Convert rust_libraries and rust_stdlinkage mutators to TransitionMutators 2024-07-17 15:50:36 -07:00
coverage_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
doc.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
fuzz.go fuzz packaging: implement system/vendor split 2023-12-28 03:04:20 +00:00
fuzz_test.go cc/rust: Alias ffi rlib variant for static_libs 2024-06-26 01:35:41 +00:00
image.go Move vendor and product variant generation logic from cc package to android package 2024-06-21 07:45:09 +00:00
image_test.go cc/rust: Alias ffi rlib variant for static_libs 2024-06-26 01:35:41 +00:00
library.go Add a property to rust_ffi targets to exclude them from APEXes. 2024-08-27 17:13:12 +00:00
library_test.go cc/rust: Alias ffi rlib variant for static_libs 2024-06-26 01:35:41 +00:00
OWNERS rust: Rust is now GA for platform usage 2022-07-28 06:57:26 -07:00
prebuilt.go rust: internalize srcPathFromModuleSrcs 2023-11-22 00:52:10 +00:00
proc_macro.go rust: made-to-order rust staticlibs 2024-05-16 13:00:43 -04:00
proc_macro_test.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
project_json.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
project_json_test.go Include proc macro crates in rust-project.json 2021-10-06 19:39:06 +00:00
protobuf.go Shard rust protobuf sources 2024-04-23 10:47:00 -07:00
protobuf_test.go Remove unused use_protobuf3 flag 2023-12-21 17:53:51 +00:00
rust.go Move checkbuild targets of Soong modules into Soong 2024-09-03 14:52:19 -07:00
rust_test.go Convert rust_libraries and rust_stdlinkage mutators to TransitionMutators 2024-07-17 15:50:36 -07:00
sanitize.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
sanitize_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
source_provider.go Remove unused field 'subAndroidMkOnce'. 2023-01-26 14:06:35 +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 Switch rust test install base to /data/local/tmp for consistency with cc 2024-07-16 13:29:31 +02:00
test_test.go Access output files thru providers in Soong tests. 2024-08-21 00:03:50 +00:00
testing.go Convert rust_libraries and rust_stdlinkage mutators to TransitionMutators 2024-07-17 15:50:36 -07:00
toolchain_library.go Revert^2 "rustSetToolchainSource to use linux-x86 srcs" 2023-09-27 20:45:48 +00:00