1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5bootstrap_go_package {
6    name: "soong-rust",
7    pkgPath: "android/soong/rust",
8    deps: [
9        "soong",
10        "soong-aconfig",
11        "soong-android",
12        "soong-bloaty",
13        "soong-cc",
14        "soong-rust-config",
15        "soong-testing",
16    ],
17    srcs: [
18        "afdo.go",
19        "androidmk.go",
20        "benchmark.go",
21        "binary.go",
22        "bindgen.go",
23        "builder.go",
24        "clippy.go",
25        "compiler.go",
26        "coverage.go",
27        "doc.go",
28        "fuzz.go",
29        "image.go",
30        "library.go",
31        "prebuilt.go",
32        "proc_macro.go",
33        "project_json.go",
34        "protobuf.go",
35        "rust.go",
36        "sanitize.go",
37        "source_provider.go",
38        "strip.go",
39        "test.go",
40        "testing.go",
41        "toolchain_library.go",
42    ],
43    testSrcs: [
44        "afdo_test.go",
45        "benchmark_test.go",
46        "binary_test.go",
47        "bindgen_test.go",
48        "builder_test.go",
49        "clippy_test.go",
50        "compiler_test.go",
51        "coverage_test.go",
52        "fuzz_test.go",
53        "image_test.go",
54        "library_test.go",
55        "proc_macro_test.go",
56        "project_json_test.go",
57        "protobuf_test.go",
58        "rust_test.go",
59        "sanitize_test.go",
60        "source_provider_test.go",
61        "test_test.go",
62    ],
63    pluginFor: ["soong_build"],
64}
65