blob: c5b200019521bd2a4b785b4d67ea89d4774ae868 [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",
Kiyoung Kim48f37782021-07-07 12:42:39 +090014 "soong-snapshot",
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 Lozano3149e6e2021-06-01 15:09:53 -040038 "snapshot_prebuilt.go",
Ivan Lozanod7586b62021-04-01 09:49:36 -040039 "snapshot_utils.go",
40 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070041 "test.go",
42 "testing.go",
Ivan Lozano45e0e5b2021-11-13 07:42:36 -050043 "toolchain_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070044 ],
45 testSrcs: [
Vinh Tran2e7b0fd2023-03-27 11:30:19 -040046 "afdo_test.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010047 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070048 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040049 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040050 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020051 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070052 "compiler_test.go",
53 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050054 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050055 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070056 "library_test.go",
Joel Galensonce7bbdc2021-09-23 08:26:53 -070057 "proc_macro_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020058 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000059 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070060 "rust_test.go",
Ivan Lozano62cd0382021-11-01 10:27:54 -040061 "sanitize_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040062 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070063 "test_test.go",
Ivan Lozano1921e802021-05-20 13:39:16 -040064 "vendor_snapshot_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070065 ],
66 pluginFor: ["soong_build"],
67}