blob: a6c4e07877ae99d7cbf005312270a7e32461d061 [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",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050024 "fuzz.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050025 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070026 "library.go",
27 "prebuilt.go",
28 "proc_macro.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020029 "project_json.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000030 "protobuf.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070031 "rust.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050032 "sanitize.go",
Thiébaud Weksteenfabaff62020-08-27 13:48:36 +020033 "strip.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040034 "source_provider.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070035 "test.go",
36 "testing.go",
37 ],
38 testSrcs: [
Jakub Kotur1d640d02021-01-06 12:40:43 +010039 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070040 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040041 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040042 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020043 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070044 "compiler_test.go",
45 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050046 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050047 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070048 "library_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020049 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000050 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070051 "rust_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040052 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070053 "test_test.go",
54 ],
55 pluginFor: ["soong_build"],
56}