tethering: transitive deps from jni_libs
The build system collects transtive deps from jni_libs for APKs.
No need to list them explicitly in android_app definition.
Bug: 146992436
Test: m com.android.tethering
deapexer extract com.android.tethering.apex apex
unzip apex/priv-app/Tethering/Tethering.apk -u apk
ls apk/lib/arm64-v8a
Merged-In: Icba6ea3611c443cbf22ad6363d0239377d16ac9e
Change-Id: Icba6ea3611c443cbf22ad6363d0239377d16ac9e
(cherry picked from commit 9618b66f28)
This commit is contained in:
@@ -95,11 +95,7 @@ java_defaults {
|
||||
// TODO (b/148190005): change to module-libs-api-stubs-current once it is ready.
|
||||
sdk_version: "core_platform",
|
||||
privileged: true,
|
||||
// Build system doesn't track transitive dependeicies for jni_libs, list all the dependencies
|
||||
// explicitly.
|
||||
jni_libs: [
|
||||
"liblog",
|
||||
"libnativehelper_compat_libc++",
|
||||
"libtetherutilsjni",
|
||||
],
|
||||
resource_dirs: [
|
||||
|
||||
Reference in New Issue
Block a user