diff options
| author | 2021-02-06 04:47:03 +0000 | |
|---|---|---|
| committer | 2021-02-06 04:47:03 +0000 | |
| commit | a7070926367c56c820afc014d0614a987b9eae05 (patch) | |
| tree | b3cffb0d11551728e9067e30c61e8f25b37603b9 /rust/rust_test.go | |
| parent | b02128ad0b43898a9add01c62a5758d7ca18de66 (diff) | |
| parent | fb6f36f3e40adcd3210fad714a2ffb4739a7158d (diff) | |
Merge "rust: Only pass "-lstatic" for rlibs."
Diffstat (limited to 'rust/rust_test.go')
| -rw-r--r-- | rust/rust_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go index a32c6a7f8..88d964300 100644 --- a/rust/rust_test.go +++ b/rust/rust_test.go @@ -213,6 +213,7 @@ func TestDepsTracking(t *testing.T) { name: "librlib", srcs: ["foo.rs"], crate_name: "rlib", + static_libs: ["libstatic"], } rust_proc_macro { name: "libpm", @@ -230,7 +231,7 @@ func TestDepsTracking(t *testing.T) { } `) module := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Module().(*Module) - rustc := ctx.ModuleForTests("fizz-buzz", "linux_glibc_x86_64").Rule("rustc") + rustc := ctx.ModuleForTests("librlib", "linux_glibc_x86_64_rlib_rlib-std").Rule("rustc") // Since dependencies are added to AndroidMk* properties, we can check these to see if they've been picked up. if !android.InList("libdylib", module.Properties.AndroidMkDylibs) { |