diff options
author | 2024-10-30 18:15:59 +0000 | |
---|---|---|
committer | 2025-01-10 21:47:09 +0000 | |
commit | a8a1fa1096240ee059c30cad9828ea0f9d0c161d (patch) | |
tree | b1b0c415516720e5df8cd87eaff6aa97801eee02 /rust/testing.go | |
parent | 9587f45b194ad3f1a4676a7f5d24acce03efc204 (diff) |
rust: Add stub support for rust_ffi modules
This adds stubs support for rust_ffi and rust_ffi_shared modules. Usage
should match current cc usage. The stubs generator leveraged is the cc
stubs generator.
Bug: 203478530
Test: m blueprint_tests
Change-Id: I043b9714a357cd5fe17c183ccdf86900f5172e0e
Diffstat (limited to 'rust/testing.go')
-rw-r--r-- | rust/testing.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rust/testing.go b/rust/testing.go index 0ce1b66f5..2082b524e 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -80,7 +80,6 @@ func GatherRequiredDepsForTest() string { no_libcrt: true, nocrt: true, system_shared_libs: [], - apex_available: ["//apex_available:platform", "//apex_available:anyapex"], min_sdk_version: "29", vendor_available: true, host_supported: true, @@ -88,6 +87,13 @@ func GatherRequiredDepsForTest() string { llndk: { symbol_file: "liblog.map.txt", }, + stubs: { + symbol_file: "liblog.map.txt", + versions: [ + "29", + "30", + ], + }, } cc_library { name: "libprotobuf-cpp-full", |