Loading packages/Tethering/Android.bp +4 −18 Original line number Diff line number Diff line Loading @@ -16,9 +16,7 @@ java_defaults { name: "TetheringAndroidLibraryDefaults", // TODO (b/146757305): change to module API once available // TODO (b/148190005): change to module-libs-api-stubs-current once it is ready. sdk_version: "core_platform", sdk_version: "module_current", srcs: [ "src/**/*.java", ":framework-tethering-shared-srcs", Loading @@ -35,15 +33,10 @@ java_defaults { "net-utils-framework-common", ], libs: [ // Order matters: framework-tethering needs to be before the system stubs, otherwise // hidden fields in the framework-tethering classes (which are also used to generate stubs) // will not be found. "framework-tethering", "android_system_stubs_current", "framework-res", "framework-telephony-stubs", "framework-wifi-stubs-systemapi", "unsupportedappusage", "android_system_stubs_current", "framework-res", ], plugins: ["java_api_finder"], manifest: "AndroidManifestBase.xml", Loading Loading @@ -91,9 +84,7 @@ cc_library { // Common defaults for compiling the actual APK. java_defaults { name: "TetheringAppDefaults", // TODO (b/146757305): change to module API once available // TODO (b/148190005): change to module-libs-api-stubs-current once it is ready. sdk_version: "core_platform", sdk_version: "module_current", privileged: true, jni_libs: [ "libtetherutilsjni", Loading @@ -102,12 +93,7 @@ java_defaults { "res", ], libs: [ // Order matters: framework-tethering needs to be before the system stubs, otherwise // hidden fields in the framework-tethering classes (which are also used to generate stubs) // will not be found. "framework-tethering", "android_system_stubs_current", "framework-res", ], jarjar_rules: "jarjar-rules.txt", optimize: { Loading Loading
packages/Tethering/Android.bp +4 −18 Original line number Diff line number Diff line Loading @@ -16,9 +16,7 @@ java_defaults { name: "TetheringAndroidLibraryDefaults", // TODO (b/146757305): change to module API once available // TODO (b/148190005): change to module-libs-api-stubs-current once it is ready. sdk_version: "core_platform", sdk_version: "module_current", srcs: [ "src/**/*.java", ":framework-tethering-shared-srcs", Loading @@ -35,15 +33,10 @@ java_defaults { "net-utils-framework-common", ], libs: [ // Order matters: framework-tethering needs to be before the system stubs, otherwise // hidden fields in the framework-tethering classes (which are also used to generate stubs) // will not be found. "framework-tethering", "android_system_stubs_current", "framework-res", "framework-telephony-stubs", "framework-wifi-stubs-systemapi", "unsupportedappusage", "android_system_stubs_current", "framework-res", ], plugins: ["java_api_finder"], manifest: "AndroidManifestBase.xml", Loading Loading @@ -91,9 +84,7 @@ cc_library { // Common defaults for compiling the actual APK. java_defaults { name: "TetheringAppDefaults", // TODO (b/146757305): change to module API once available // TODO (b/148190005): change to module-libs-api-stubs-current once it is ready. sdk_version: "core_platform", sdk_version: "module_current", privileged: true, jni_libs: [ "libtetherutilsjni", Loading @@ -102,12 +93,7 @@ java_defaults { "res", ], libs: [ // Order matters: framework-tethering needs to be before the system stubs, otherwise // hidden fields in the framework-tethering classes (which are also used to generate stubs) // will not be found. "framework-tethering", "android_system_stubs_current", "framework-res", ], jarjar_rules: "jarjar-rules.txt", optimize: { Loading