blob: 637042d455989d70601f66e33cb0b1410b9e4982 [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",
Kiyoung Kim48f37782021-07-07 12:42:39 +090015 "soong-snapshot",
Aditya Choudhary87b2ab22023-11-17 15:27:06 +000016 "soong-testing",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070017 ],
18 srcs: [
Yi Kong46c6e592022-01-20 22:55:00 +080019 "afdo.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070020 "androidmk.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010021 "benchmark.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070022 "binary.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040023 "bindgen.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070024 "builder.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020025 "clippy.go",
26 "compiler.go",
27 "coverage.go",
Dan Albert06feee92021-03-19 15:06:02 -070028 "doc.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050029 "fuzz.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050030 "image.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070031 "library.go",
32 "prebuilt.go",
33 "proc_macro.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020034 "project_json.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000035 "protobuf.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070036 "rust.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050037 "sanitize.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040038 "source_provider.go",
Ivan Lozano3149e6e2021-06-01 15:09:53 -040039 "snapshot_prebuilt.go",
Ivan Lozanod7586b62021-04-01 09:49:36 -040040 "snapshot_utils.go",
41 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070042 "test.go",
43 "testing.go",
Ivan Lozano45e0e5b2021-11-13 07:42:36 -050044 "toolchain_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070045 ],
46 testSrcs: [
Vinh Tran2e7b0fd2023-03-27 11:30:19 -040047 "afdo_test.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010048 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070049 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040050 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040051 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020052 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070053 "compiler_test.go",
54 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050055 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050056 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070057 "library_test.go",
Joel Galensonce7bbdc2021-09-23 08:26:53 -070058 "proc_macro_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020059 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000060 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070061 "rust_test.go",
Ivan Lozano62cd0382021-11-01 10:27:54 -040062 "sanitize_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040063 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070064 "test_test.go",
Ivan Lozano1921e802021-05-20 13:39:16 -040065 "vendor_snapshot_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070066 ],
67 pluginFor: ["soong_build"],
68}