blob: 54ba9d49c013a4a053602e5b21ed2e5c58380064 [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",
15 ],
16 srcs: [
Yi Kong46c6e592022-01-20 22:55:00 +080017 "afdo.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070018 "androidmk.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010019 "benchmark.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070020 "binary.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040021 "bindgen.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070022 "builder.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020023 "clippy.go",
24 "compiler.go",
25 "coverage.go",
Dan Albert06feee92021-03-19 15:06:02 -070026 "doc.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050027 "fuzz.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050028 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070029 "library.go",
30 "prebuilt.go",
31 "proc_macro.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020032 "project_json.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000033 "protobuf.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070034 "rust.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050035 "sanitize.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040036 "source_provider.go",
Ivan Lozanod7586b62021-04-01 09:49:36 -040037 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070038 "test.go",
39 "testing.go",
Ivan Lozano45e0e5b2021-11-13 07:42:36 -050040 "toolchain_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070041 ],
42 testSrcs: [
Vinh Tran2e7b0fd2023-03-27 11:30:19 -040043 "afdo_test.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010044 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070045 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040046 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040047 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020048 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070049 "compiler_test.go",
50 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050051 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050052 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070053 "library_test.go",
Joel Galensonce7bbdc2021-09-23 08:26:53 -070054 "proc_macro_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020055 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000056 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070057 "rust_test.go",
Ivan Lozano62cd0382021-11-01 10:27:54 -040058 "sanitize_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040059 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070060 "test_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070061 ],
62 pluginFor: ["soong_build"],
Cole Faust16d227a2024-09-18 16:42:01 -070063 visibility: ["//visibility:public"],
Jaewoong Jung4b79e982020-06-01 10:45:49 -070064}