2021-02-04 03:08:28 +01:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2020-06-01 19:45:49 +02:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-rust",
|
|
|
|
pkgPath: "android/soong/rust",
|
|
|
|
deps: [
|
|
|
|
"soong",
|
|
|
|
"soong-android",
|
2021-02-10 14:07:57 +01:00
|
|
|
"soong-bloaty",
|
2020-06-01 19:45:49 +02:00
|
|
|
"soong-cc",
|
|
|
|
"soong-rust-config",
|
2021-07-07 05:42:39 +02:00
|
|
|
"soong-snapshot",
|
2020-06-01 19:45:49 +02:00
|
|
|
],
|
|
|
|
srcs: [
|
|
|
|
"androidmk.go",
|
2021-01-06 12:40:43 +01:00
|
|
|
"benchmark.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"binary.go",
|
2020-07-08 14:39:44 +02:00
|
|
|
"bindgen.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"builder.go",
|
2020-06-22 13:28:02 +02:00
|
|
|
"clippy.go",
|
|
|
|
"compiler.go",
|
|
|
|
"coverage.go",
|
2021-03-19 23:06:02 +01:00
|
|
|
"doc.go",
|
2020-02-11 14:24:25 +01:00
|
|
|
"fuzz.go",
|
2020-12-02 15:15:16 +01:00
|
|
|
"image.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"library.go",
|
|
|
|
"prebuilt.go",
|
|
|
|
"proc_macro.go",
|
2020-06-22 13:28:02 +02:00
|
|
|
"project_json.go",
|
2020-08-21 12:01:58 +02:00
|
|
|
"protobuf.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"rust.go",
|
2020-02-11 14:24:25 +01:00
|
|
|
"sanitize.go",
|
2020-07-08 14:39:44 +02:00
|
|
|
"source_provider.go",
|
2021-06-01 21:09:53 +02:00
|
|
|
"snapshot_prebuilt.go",
|
2021-04-01 15:49:36 +02:00
|
|
|
"snapshot_utils.go",
|
|
|
|
"strip.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"test.go",
|
|
|
|
"testing.go",
|
|
|
|
],
|
|
|
|
testSrcs: [
|
2021-01-06 12:40:43 +01:00
|
|
|
"benchmark_test.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"binary_test.go",
|
2020-07-08 14:39:44 +02:00
|
|
|
"bindgen_test.go",
|
2020-07-22 15:14:47 +02:00
|
|
|
"builder_test.go",
|
2020-06-22 13:28:02 +02:00
|
|
|
"clippy_test.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"compiler_test.go",
|
|
|
|
"coverage_test.go",
|
2020-02-11 14:24:25 +01:00
|
|
|
"fuzz_test.go",
|
2020-12-02 15:15:16 +01:00
|
|
|
"image_test.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"library_test.go",
|
2021-09-23 17:26:53 +02:00
|
|
|
"proc_macro_test.go",
|
2020-06-22 13:28:02 +02:00
|
|
|
"project_json_test.go",
|
2020-08-21 12:01:58 +02:00
|
|
|
"protobuf_test.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"rust_test.go",
|
2021-11-01 15:27:54 +01:00
|
|
|
"sanitize_test.go",
|
2020-08-05 19:28:32 +02:00
|
|
|
"source_provider_test.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
"test_test.go",
|
2021-05-20 19:39:16 +02:00
|
|
|
"vendor_snapshot_test.go",
|
2020-06-01 19:45:49 +02:00
|
|
|
],
|
|
|
|
pluginFor: ["soong_build"],
|
|
|
|
}
|