summaryrefslogtreecommitdiff
path: root/scripts/jsonmodify.py
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2024-05-15 20:50:11 +0900
committer Jiyong Park <jiyong@google.com> 2024-05-16 23:31:55 +0900
commitcf6846011459572954e8a11d461603578191afc8 (patch)
tree7836661a5fdcc6e92c3dc76df946cf3123a0e3c8 /scripts/jsonmodify.py
parent4384d294c349434399886db9fc1c53a1d2f32809 (diff)
Refactor how jni_libs dependencies are added
This CL brings three changes in how jni_libs are depended on. 1. SDK variants of the jni_libs are depended on only when they can be embedded. This is because SDK variants are not installable. Previously, app could depend on SDK variants without embedding them, but this didn't cause a problem because the installation of the jni libs was done in Make. However, as it's done in Soong, we need to depend on a correct variant. 2. Non-SDK variants of the jni_libs are now tagged with jniInstallTag. This automatically installs the libraries along with the app. The installation of the jni libs is no longer done in app. 3. checking of the sdk version of the jni libs is done only when they are embedded. Doing the check even when the libs are not embedded triggers a lot of false alarms. Note that with #1, many platform apps have started depending on non-SDK variants. Bug: 330276359 Test: m Change-Id: I1bc9ceb8f79b102caeb23476c3fb03989e184a91
Diffstat (limited to 'scripts/jsonmodify.py')
0 files changed, 0 insertions, 0 deletions