summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2020-04-09 09:32:15 -0400
committerIvan Lozano <ivanlozano@google.com>2020-04-23 09:39:34 -0400
commit2f15bae3369f6abbe1a8112bb294b62a45709ee3 (patch)
tree120d59a570bf33aedcdac6db14ba2f57dc927ac2 /rust/rust_test.go
parent14f42d34af0024a8759ea1eb8d3f40e84492d4a6 (diff)
Clean up rust tests.
The list of required deps for testing is a lot shorter as we no longer include as many prebuilt libraries and our list of stdlibs is much shorter. Remove the libraries we no longer need, and add the non-prebuilt libstd and libtest to the deps generated for every test. Bug: 153463188 Test: Soong tests pass. Change-Id: I94f7b514797ab8d6aedb543ea6afdb07611b7293
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index 020581dfc..02b190f0f 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -215,25 +215,6 @@ func TestProcMacroDeviceDeps(t *testing.T) {
srcs: ["foo.rs"],
crate_name: "bar",
}
- // Make a dummy libstd to let resolution go through
- rust_library_dylib {
- name: "libstd",
- crate_name: "std",
- srcs: ["foo.rs"],
- no_stdlibs: true,
- }
- rust_library_dylib {
- name: "libterm",
- crate_name: "term",
- srcs: ["foo.rs"],
- no_stdlibs: true,
- }
- rust_library_dylib {
- name: "libtest",
- crate_name: "test",
- srcs: ["foo.rs"],
- no_stdlibs: true,
- }
rust_proc_macro {
name: "libpm",
rlibs: ["libbar"],