summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-12-03 01:33:09 +0000
committer Spandan Das <spandandas@google.com> 2024-12-03 02:30:04 +0000
commit10c4136b1f838de9c0f3832f642eb92e439dce1d (patch)
tree974baaf8ac30e3ca20aef977095532feddc8d978 /rust/rust.go
parent4e305cec97bd9bb6a9e4472a167efc4ac11a0836 (diff)
Reland "Skip packaging cross container cc deps of apk-in-apex"
This relands https://r.android.com/3375509, but uses `NotInPlatform` of the top-level app in `collectAppDeps`. The original implementation was reverted because it skipped packaging jni lib deps that crossed an api domain boundary. This is the intended behavior for apk-in-apex, but runs into issues for android_test. The linkerconfig for these has been setup to allow access to LLNDK (in system) and LLNDK_MOVED_TO_APEX_LIBRARIES. Other libraries like `libnativebridge` cannot be accessed by tests on device, so the tests need their own copy. Test: m ArtServiceTests Test: verified that the contents of the apk are same before and after Bug: 375473764 Change-Id: I3a3985e576959c3113fc1e11f43dbe669603ec22
Diffstat (limited to 'rust/rust.go')
-rw-r--r--rust/rust.go4
1 files changed, 4 insertions, 0 deletions
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
}