platform_build_soong/rust
Justin Yun 40182b6ff3 Remove duplicated CollectDependencyAconfigFiles()
android.ModuleBase already calls aconfigUpdateAndroidBuildActions()
that is the same with CollectDependencyAconfigFiles(). Remove the
CollectDependencyAconfigFiles() to avoid duplication with
aconfigUpdateAndroidBuildActions().

To make the aconfig information available in
GenerateAndroidBuildActions() of all modules, call
aconfigUpdateAndroidBuildActions() before calling
GenerateAndroidBuildActions() of each module.

Also, we don't need SetAconfigFileMkEntries(), which is a duplicate
of aconfigUpdateAndroidMkData()

Bug: 335363964
Test: diff `adb shell printflags` before and after the change.
Change-Id: I52808e442e9fed7db1eae7b7c5ed0b1c5ba74f5d
2024-05-10 10:00:14 +09:00
..
config rustc-1.77.1.p1 Build 11801116 2024-05-06 21:30:12 +00: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 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 Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08:00
binary_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
bindgen.go rust: Support for generated c files from bindgen 2024-05-03 14:01:09 -04:00
bindgen_test.go rust: Support for generated c files from bindgen 2024-05-03 14:01:09 -04:00
builder.go rust: Remove unnecessary escaping in grep call 2024-04-12 11:04:22 +02:00
builder_test.go Revert "Split Rust crate builds into compile and link phases." 2023-10-02 22:15:55 -07:00
clippy.go
clippy_test.go Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
compiler.go Add aliases property for renaming Rust dependencies. 2024-03-19 17:27:46 +00:00
compiler_test.go rust: internalize srcPathFromModuleSrcs 2023-11-22 00:52:10 +00:00
coverage.go Only link the profile extras lib for device variant for rust. 2024-04-18 19:35:34 +00: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 Revert "support sandboxed rust rules" 2023-09-22 22:05:54 +00:00
image.go Remove Device VNDK version usage from Soong 2024-04-05 01:57:32 +00:00
image_test.go Remove VNDK information from Rust, etc, and sysprop tests 2024-04-01 15:53:58 +09:00
library.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
library_test.go rust: Add export_include_dirs property to rust_ffi 2024-03-21 17:53:19 +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 Remove ConvertWithBp2build implementations 2023-12-08 13:51:05 -08: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 Remove duplicated CollectDependencyAconfigFiles() 2024-05-10 10:00:14 +09:00
rust_test.go Remove VNDK information from Rust, etc, and sysprop tests 2024-04-01 15:53:58 +09: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
strip.go
test.go Split usage of UseVndk 2024-01-09 11:37:14 +09:00
test_test.go Fix soong for go test ./... 2023-11-17 21:28:39 +00:00
testing.go Deprecate Snapshot build 2024-04-05 01:56:56 +00:00
toolchain_library.go Revert^2 "rustSetToolchainSource to use linux-x86 srcs" 2023-09-27 20:45:48 +00:00