diff options
author | Ivan Lozano <ivanlozano@google.com> | 2020-12-04 15:05:43 -0500 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2020-12-09 11:30:44 -0500 |
commit | 3e9f9e47cfa326edc13e9cf136476c0bbc4abff5 (patch) | |
tree | 8518d3553c5d9e5cf0fd8d490d11b64a7b543786 /rust/testing.go | |
parent | 110d13bef3bd302a22facf16677a9ee893a0486c (diff) |
Add min_sdk_version to Rust modules.
Add the min_sdk_version property to Rust modules so they can declare
a minimum SDK version they support for use with APEX modules.
Test: New Soong test passes.
Bug: 174862583
Change-Id: I2829053a320f50c218783dee5adbeff9cef81e8e
Diffstat (limited to 'rust/testing.go')
-rw-r--r-- | rust/testing.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/testing.go b/rust/testing.go index a8496d983..8648dc39a 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -78,6 +78,7 @@ func GatherRequiredDepsForTest() string { nocrt: true, system_shared_libs: [], apex_available: ["//apex_available:platform", "//apex_available:anyapex"], + min_sdk_version: "29", } cc_library { name: "libprotobuf-cpp-full", @@ -95,6 +96,7 @@ func GatherRequiredDepsForTest() string { native_coverage: false, sysroot: true, apex_available: ["//apex_available:platform", "//apex_available:anyapex"], + min_sdk_version: "29", } rust_library { name: "libtest", @@ -105,6 +107,7 @@ func GatherRequiredDepsForTest() string { native_coverage: false, sysroot: true, apex_available: ["//apex_available:platform", "//apex_available:anyapex"], + min_sdk_version: "29", } rust_library { name: "libprotobuf", |