platform_build_soong/rust/Android.bp
Kiyoung Kim 37693d0a27 Deprecate Snapshot build
Existing snapshot code will no longer work from VNDK deprecation, but it
can give confusion to users if we keep code for the snapshot - and it
adds complexity on existing code while it is not in use. This change
removes all snapshot definition except host snapshot and its usage.

Bug: 330100430
Bug: 332986564
Test: AOSP CF build succeeded
Change-Id: Ieb6fa43d5e38315c662ce997bc305b744b367c24
2024-04-05 01:56:56 +00:00

64 lines
1.4 KiB
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
bootstrap_go_package {
name: "soong-rust",
pkgPath: "android/soong/rust",
deps: [
"soong",
"soong-aconfig",
"soong-android",
"soong-bloaty",
"soong-cc",
"soong-rust-config",
"soong-testing",
],
srcs: [
"afdo.go",
"androidmk.go",
"benchmark.go",
"binary.go",
"bindgen.go",
"builder.go",
"clippy.go",
"compiler.go",
"coverage.go",
"doc.go",
"fuzz.go",
"image.go",
"library.go",
"prebuilt.go",
"proc_macro.go",
"project_json.go",
"protobuf.go",
"rust.go",
"sanitize.go",
"source_provider.go",
"strip.go",
"test.go",
"testing.go",
"toolchain_library.go",
],
testSrcs: [
"afdo_test.go",
"benchmark_test.go",
"binary_test.go",
"bindgen_test.go",
"builder_test.go",
"clippy_test.go",
"compiler_test.go",
"coverage_test.go",
"fuzz_test.go",
"image_test.go",
"library_test.go",
"proc_macro_test.go",
"project_json_test.go",
"protobuf_test.go",
"rust_test.go",
"sanitize_test.go",
"source_provider_test.go",
"test_test.go",
],
pluginFor: ["soong_build"],
}