Merge "Platform shouldn't directly link to jars in APEXes"

This commit is contained in:
Jiyong Park
2020-01-13 01:16:16 +00:00
committed by Gerrit Code Review
2 changed files with 11 additions and 0 deletions

View File

@@ -122,4 +122,5 @@ android_app {
use_embedded_native_libs: true,
// The permission configuration *must* be included to ensure security of the device
required: ["NetworkPermissionConfig"],
apex_available: ["com.android.tethering"],
}

View File

@@ -47,6 +47,16 @@ java_library {
libs: [
"android_system_stubs_current",
],
hostdex: true, // for hiddenapi check
visibility: [
"//frameworks/base/packages/Tethering:__subpackages__",
//TODO(b/147200698) remove below lines when the platform is built with stubs
"//frameworks/base",
"//frameworks/base/services",
"//frameworks/base/services/core",
],
apex_available: ["com.android.tethering"],
}
filegroup {