blob: f45404ff227147fcd74c7f1e93b779adac6a0081 [file] [log] [blame]
Bob Badour02040de2021-02-03 18:08:28 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Jaewoong Jung4b79e982020-06-01 10:45:49 -07005bootstrap_go_package {
6 name: "soong-rust",
7 pkgPath: "android/soong/rust",
8 deps: [
9 "soong",
10 "soong-android",
Thiébaud Weksteendf229cb2021-02-10 14:07:57 +010011 "soong-bloaty",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070012 "soong-cc",
13 "soong-rust-config",
14 ],
15 srcs: [
16 "androidmk.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010017 "benchmark.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070018 "binary.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040019 "bindgen.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070020 "builder.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020021 "clippy.go",
22 "compiler.go",
23 "coverage.go",
Dan Albert06feee92021-03-19 15:06:02 -070024 "doc.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050025 "fuzz.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050026 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070027 "library.go",
28 "prebuilt.go",
29 "proc_macro.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020030 "project_json.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000031 "protobuf.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070032 "rust.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050033 "sanitize.go",
Thiébaud Weksteenfabaff62020-08-27 13:48:36 +020034 "strip.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040035 "source_provider.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070036 "test.go",
37 "testing.go",
38 ],
39 testSrcs: [
Jakub Kotur1d640d02021-01-06 12:40:43 +010040 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070041 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040042 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040043 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020044 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070045 "compiler_test.go",
46 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050047 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050048 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070049 "library_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020050 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000051 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070052 "rust_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040053 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070054 "test_test.go",
55 ],
56 pluginFor: ["soong_build"],
57}