blob: b01a94ad082ac43dfd292a8de90faa9beebc8db6 [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",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070015 ],
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 Lozano3149e6e2021-06-01 15:09:53 -040037 "snapshot_prebuilt.go",
Ivan Lozanod7586b62021-04-01 09:49:36 -040038 "snapshot_utils.go",
39 "strip.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070040 "test.go",
41 "testing.go",
Ivan Lozano45e0e5b2021-11-13 07:42:36 -050042 "toolchain_library.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070043 ],
44 testSrcs: [
Vinh Tran2e7b0fd2023-03-27 11:30:19 -040045 "afdo_test.go",
Jakub Kotur1d640d02021-01-06 12:40:43 +010046 "benchmark_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070047 "binary_test.go",
Ivan Lozano4fef93c2020-07-08 08:39:44 -040048 "bindgen_test.go",
Ivan Lozano10735d92020-07-22 09:14:47 -040049 "builder_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020050 "clippy_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070051 "compiler_test.go",
52 "coverage_test.go",
Ivan Lozano6cd99e62020-02-11 08:24:25 -050053 "fuzz_test.go",
Ivan Lozano6a884432020-12-02 09:15:16 -050054 "image_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070055 "library_test.go",
Joel Galensonce7bbdc2021-09-23 08:26:53 -070056 "proc_macro_test.go",
Thiébaud Weksteen92f703b2020-06-22 13:28:02 +020057 "project_json_test.go",
Treehugger Robot588aae72020-08-21 10:01:58 +000058 "protobuf_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070059 "rust_test.go",
Ivan Lozano62cd0382021-11-01 10:27:54 -040060 "sanitize_test.go",
Ivan Lozanoff3a5b32020-08-05 13:28:32 -040061 "source_provider_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070062 "test_test.go",
Ivan Lozano1921e802021-05-20 13:39:16 -040063 "vendor_snapshot_test.go",
Jaewoong Jung4b79e982020-06-01 10:45:49 -070064 ],
65 pluginFor: ["soong_build"],
66}