Expose Connectivity libraries to VCN and tests
This patch exposes Connectivity libraries to allow migrating VCN to its own non-updatable framework and service libraries. It also creates a utility library for VCN. Bug: 369703242 Test: atest FrameworksVcnTests && atest CtsVcnTestCases Flag: EXEMPT no functional change Change-Id: I1981f1cc824dcf426a76a0af8e4e3460fccb754e
This commit is contained in:
parent
908ca9e9d8
commit
587f996eb4
1 changed files with 37 additions and 0 deletions
|
|
@ -732,3 +732,27 @@ genrule {
|
|||
cmd: "$(location stats-log-api-gen) --java $(out) --module connectivity --javaPackage com.android.net.module.util --javaClass FrameworkConnectivityStatsLog",
|
||||
out: ["com/android/net/module/util/FrameworkConnectivityStatsLog.java"],
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "net-utils-service-vcn",
|
||||
sdk_version: "module_current",
|
||||
min_sdk_version: "30",
|
||||
srcs: [
|
||||
"device/com/android/net/module/util/HandlerUtils.java",
|
||||
],
|
||||
libs: [
|
||||
"framework-annotations-lib",
|
||||
],
|
||||
visibility: [
|
||||
// TODO: b/374174952 Remove it when VCN modularization is released
|
||||
"//frameworks/base/packages/Vcn/service-b",
|
||||
|
||||
"//packages/modules/Connectivity/service-b",
|
||||
],
|
||||
apex_available: [
|
||||
// TODO: b/374174952 Remove it when VCN modularization is released
|
||||
"//apex_available:platform",
|
||||
|
||||
"com.android.tethering",
|
||||
],
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue