summaryrefslogtreecommitdiff
path: root/scripts/construct_context.py
diff options
context:
space:
mode:
author Jim Tang <jimtang@google.com> 2024-12-17 22:06:12 +0800
committer Jim Tang <jimtang@google.com> 2024-12-20 15:48:05 +0800
commit6c4ecd0ac3458f1a6e241e1450046bc1c35c801b (patch)
tree4e5e5b1c38df1f7726fd3578fb14e5ceff512ef0 /scripts/construct_context.py
parent5d42cdf1a40e5478c72d976852ded5b793692ce1 (diff)
Introduce strip_unused_jni_arch property for stripping unused JNI libs
This commit introduces a new property, `strip_unused_jni_arch`, which allows developers to strip all embedded JNI libraries from unused architectures. By default, Soong does not strip any prebuilt JNI libraries, leading to huge APK size when only libraries for the device's abi are actually needed. The `strip_unused_jni_arch` property provides a way to override this default behavior and selectively include only libraries from compile_multilib, resulting in smaller APK sizes. Bug: 375955599 Test: m nothing Change-Id: I079783d8a1130820dab147904b821e0333795229
Diffstat (limited to 'scripts/construct_context.py')
0 files changed, 0 insertions, 0 deletions