From a8a1fa1096240ee059c30cad9828ea0f9d0c161d Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Wed, 30 Oct 2024 18:15:59 +0000 Subject: 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 --- rust/testing.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'rust/testing.go') 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", -- cgit v1.2.3-59-g8ed1b