[rust] Remove _rustc suffix from test binaries
Test: built
Fixes TC-310
Change-Id: Ifb7c21a0893b5b67da2c9c2f29e8df30066aec28
diff --git a/rust/rustc_artifact.gni b/rust/rustc_artifact.gni
index e1e139c..bc7f4b7 100644
--- a/rust/rustc_artifact.gni
+++ b/rust/rustc_artifact.gni
@@ -130,7 +130,7 @@
}
output_file = "${first_party_crate_root}/$output_filename"
output_depfile = "${first_party_crate_root}/${prefix}${crate_name}.d"
- test_output_file = "${root_out_dir}/${crate_name}_${invoker.type}_test_rustc"
+ test_output_file = "${root_out_dir}/${crate_name}_${invoker.type}_test"
build_target_name = "${target_name}_build"
group_deps += [ ":${build_target_name}" ]
diff --git a/rust/rustc_binary.gni b/rust/rustc_binary.gni
index 5ed14bf..e41c20f 100644
--- a/rust/rustc_binary.gni
+++ b/rust/rustc_binary.gni
@@ -29,7 +29,7 @@
#
# with_unit_tests (optional)
# Builds unit tests associated with the binary. This will create a
-# `<name>_bin_test_rustc` test file in the output directory.
+# `<name>_bin_test` test file in the output directory.
#
# source_root (optional)
# Location of the crate root (e.g. `src/main.rs` or `src/lib.rs`).
diff --git a/rust/rustc_library.gni b/rust/rustc_library.gni
index 93b5896..b10311a 100644
--- a/rust/rustc_library.gni
+++ b/rust/rustc_library.gni
@@ -29,7 +29,7 @@
#
# with_unit_tests (optional)
# Builds unit tests associated with the binary. This will create a
-# `<name>-bin-unit-test` test file in the output directory.
+# `<name>_lib_test` test file in the output directory.
#
# source_root (optional)
# Location of the crate root (e.g. `src/main.rs` or `src/lib.rs`).