blob: a29c474b1eab8ccf07379039ae28c2872e7f4b49 [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",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070017 "binary.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040018 "bindgen.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070019 "builder.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020020 "clippy.go",
21 "compiler.go",
22 "coverage.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050023 "fuzz.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050024 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070025 "library.go",
26 "prebuilt.go",
27 "proc_macro.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020028 "project_json.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000029 "protobuf.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070030 "rust.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050031 "sanitize.go",
Thiébaud Weksteenfabaff62020-08-27 13:48:36 +020032 "strip.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040033 "source_provider.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070034 "test.go",
35 "testing.go",
36 ],
37 testSrcs: [
38 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040039 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040040 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020041 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070042 "compiler_test.go",
43 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050044 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050045 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070046 "library_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020047 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000048 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070049 "rust_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040050 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070051 "test_test.go",
52 ],
53 pluginFor: ["soong_build"],
54}