blob: 781f325d19d9cf434cc63638603be3a7f26d8c76 [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",
LaMont Jones0c971852023-12-07 21:56:59 +000010 "soong-aconfig",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070011 "soong-android",
Thiébaud Weksteendf229cb2021-02-10 14:07:57 +010012 "soong-bloaty",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070013 "soong-cc",
14 "soong-rust-config",
Aditya Choudhary87b2ab22023-11-17 15:27:06 +000015 "soong-testing",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070016 ],
17 srcs: [
Yi Kong46c6e592022-01-20 22:55:00 +080018 "afdo.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070019 "androidmk.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010020 "benchmark.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070021 "binary.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040022 "bindgen.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070023 "builder.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020024 "clippy.go",
25 "compiler.go",
26 "coverage.go",
Dan Albert06feee92021-03-19 15:06:02 -070027 "doc.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050028 "fuzz.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050029 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070030 "library.go",
31 "prebuilt.go",
32 "proc_macro.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020033 "project_json.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000034 "protobuf.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070035 "rust.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050036 "sanitize.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040037 "source_provider.go",
Ivan Lozanod7586b62021-04-01 09:49:36 -040038 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070039 "test.go",
40 "testing.go",
Ivan Lozano45e0e5b2021-11-13 07:42:36 -050041 "toolchain_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070042 ],
43 testSrcs: [
Vinh Tran2e7b0fd2023-03-27 11:30:19 -040044 "afdo_test.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010045 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070046 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040047 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040048 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020049 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070050 "compiler_test.go",
51 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050052 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050053 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070054 "library_test.go",
Joel Galensonce7bbdc2021-09-23 08:26:53 -070055 "proc_macro_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020056 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000057 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070058 "rust_test.go",
Ivan Lozano62cd0382021-11-01 10:27:54 -040059 "sanitize_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040060 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070061 "test_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070062 ],
63 pluginFor: ["soong_build"],
Cole Faust16d227a2024-09-18 16:42:01 -070064 visibility: ["//visibility:public"],
Jaewoong Jung4b79e982020-06-01 10:45:49 -070065}