summaryrefslogtreecommitdiff
path: root/rust/testing.go
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2021-02-05 10:57:43 -0500
committerIvan Lozano <ivanlozano@google.com>2021-02-08 09:36:26 -0500
commite6d3098c1b95b94a9a7c03e9ade9b2cbf3ac10e2 (patch)
tree0545db72af5e9b9aa215d144ad264ab849745caf /rust/testing.go
parentc64b96170847cc14d188222dbf50b94f11f4598b (diff)
rust: Add rust_ffi_static vendor ramdisk Support
Similar to our vendor support, this adds support for linking rust static libraries to vendor ramdisk cc modules. A bug fix is also included where a restriction against setting rust_ffi vendor-specific was not being enforced. Bug: 179397942 Test: Example modules link, Soong tests pass. Change-Id: I737cdf0c2f49ab349bcea2a0429e6298ebc1313e
Diffstat (limited to 'rust/testing.go')
-rw-r--r--rust/testing.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/testing.go b/rust/testing.go
index bb511b648..4c4df4a6d 100644
--- a/rust/testing.go
+++ b/rust/testing.go
@@ -101,6 +101,7 @@ func GatherRequiredDepsForTest() string {
no_stdlibs: true,
host_supported: true,
vendor_available: true,
+ vendor_ramdisk_available: true,
native_coverage: false,
sysroot: true,
apex_available: ["//apex_available:platform", "//apex_available:anyapex"],
@@ -113,6 +114,7 @@ func GatherRequiredDepsForTest() string {
no_stdlibs: true,
host_supported: true,
vendor_available: true,
+ vendor_ramdisk_available: true,
native_coverage: false,
sysroot: true,
apex_available: ["//apex_available:platform", "//apex_available:anyapex"],