Add dependency on system API in connectivity

The system API are moved to the connectivity module: add dependency on
the stubs from framework-tethering.

This only allows tethering to depend on system API defined by the
connectivity classes, not on any private code, even if they are
eventually bundled in the same APEX.

Bug: 171540887
Test: m
Ignore-AOSP-First: Merge conflicts, will cherry-pick

Change-Id: Iebfb3e01c5d2480e84edcfc76cf489520bd60237
This commit is contained in:
Remi NGUYEN VAN
2021-01-15 20:26:28 +09:00
parent 2fc4905385
commit cfe676379a
2 changed files with 8 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ java_defaults {
"netd-client",
],
libs: [
"framework-connectivity",
"framework-statsd.stubs.module_lib",
"framework-tethering.impl",
"framework-wifi",

View File

@@ -26,6 +26,13 @@ java_sdk_library {
],
srcs: [":framework-tethering-srcs"],
libs: ["framework-connectivity"],
stub_only_libs: ["framework-connectivity"],
aidl: {
include_dirs: [
"frameworks/base/packages/Connectivity/framework/aidl-export",
],
},
jarjar_rules: "jarjar-rules.txt",
installable: true,