diff options
author | 2022-09-01 22:47:07 +0000 | |
---|---|---|
committer | 2022-10-04 03:26:05 +0000 | |
commit | f78a890183a9c376f6f9d71d2a40fa6343cbd214 (patch) | |
tree | 0a73c6286ba8b4c6a92793c99f7aa7d95a9f3481 /rust/rust.go | |
parent | 300e2493e77f5dc6203446da936d2b2303bc45b9 (diff) |
Specify jnilib partition in Android-<target>.mk
Context
- Android-<target>.mk currently does not contain information about partition for its dependent unembedded jni libraries, but only lists the name of the unembedded jni libraries.
- If an android_app module depends on an unembedded jni library that is located in a different partition, make cannot find the library.
Implementation
- Create a string field partition in jniLib struct.
- Add variable "LOCAL_SOONG_JNI_LIBS_PARTITION_<target>", an array of mappings of the name of the jni library to its partition.
Bug: 154162945
Test: m
Change-Id: I6b8e1272ff59dc70e3dd6ce8c6c8e4686dad76df
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go index 1517e6263..ffe54732c 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -1664,6 +1664,10 @@ func (k kytheExtractRustSingleton) GenerateBuildActions(ctx android.SingletonCon } } +func (c *Module) Partition() string { + return "" +} + var Bool = proptools.Bool var BoolDefault = proptools.BoolDefault var String = proptools.String |