blob: b611672d4684bdefbb7ee99f8287bf809723b7b8 [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",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040034 "source_provider.go",
Ivan Lozanod7586b62021-04-01 09:49:36 -040035 "snapshot_utils.go",
36 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070037 "test.go",
38 "testing.go",
39 ],
40 testSrcs: [
Jakub Kotur1d640d02021-01-06 12:40:43 +010041 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070042 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040043 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040044 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020045 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070046 "compiler_test.go",
47 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050048 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050049 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070050 "library_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020051 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000052 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070053 "rust_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040054 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070055 "test_test.go",
56 ],
57 pluginFor: ["soong_build"],
58}