summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2020-02-15 11:00:10 -0800
committerColin Cross <ccross@android.com>2020-02-19 18:59:15 -0800
commitf28329de73e00f5ccb3d71880dd56235362b08df (patch)
tree290cc21f9abb9d918e370b1df7db81cd343d7fc9 /rust/rust_test.go
parenteb9b9f23ec9bedd34541af0dce2c848dee59b6ee (diff)
Move NDK test modules into cc/testing.go
Move the NDK modules defined in app_test.go into cc/testing.go in preparation for using sdk_version: "current" in more tests. Test: all soong tests Change-Id: I80bc31225fb4562fce42781219cefbbd6affae06
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index afe530abf..020581dfc 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -22,6 +22,7 @@ import (
"testing"
"android/soong/android"
+ "android/soong/cc"
)
var (
@@ -61,6 +62,8 @@ func testConfig(bp string) android.Config {
"libz.so": nil,
}
+ cc.GatherRequiredFilesForTest(fs)
+
return android.TestArchConfig(buildDir, nil, bp, fs)
}