From 6e0c11049d859040c125f19cfab01d473b4bd398 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Mon, 25 Nov 2024 12:43:09 +0000 Subject: Skip packaging cross container cc deps of apk-in-apex With this change, apk-in-apex will skip packaging a cc library dependency if the dependency is part of the platform or part of a different apex. Bug: 375473764 Test: go test ./java ./apex Test: presubmits Change-Id: I91351973c2c941c7531e9f7d4879049eab766a12 --- rust/rust.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rust/rust.go') diff --git a/rust/rust.go b/rust/rust.go index 48f946e1c..eeb228ceb 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -722,6 +722,10 @@ func (mod *Module) IsNdk(config android.Config) bool { return false } +func (mod *Module) HasStubsVariants() bool { + return false +} + func (mod *Module) IsStubs() bool { return false } -- cgit v1.2.3-59-g8ed1b