Build service-connectivity with system_server API
As all dependencies on hidden API have been removed, build service-connectivity against system_server_current. Bug: 171540887 Test: device boots, has connectivity Change-Id: I454e8a0a8d0e0f9e6d21a8e8faf5a9e299962ad4
This commit is contained in:
@@ -51,22 +51,33 @@ cc_library_shared {
|
|||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "service-connectivity-pre-jarjar",
|
name: "service-connectivity-pre-jarjar",
|
||||||
|
sdk_version: "system_server_current",
|
||||||
srcs: [
|
srcs: [
|
||||||
":framework-connectivity-shared-srcs",
|
|
||||||
":connectivity-service-srcs",
|
":connectivity-service-srcs",
|
||||||
|
":framework-connectivity-shared-srcs",
|
||||||
|
":services-connectivity-shared-srcs",
|
||||||
|
// TODO: move to net-utils-device-common, enable shrink optimization to avoid extra classes
|
||||||
|
":net-module-utils-srcs",
|
||||||
],
|
],
|
||||||
libs: [
|
libs: [
|
||||||
"android.net.ipsec.ike",
|
// TODO (b/183097033) remove once system_server_current includes core_current
|
||||||
"services.core",
|
"stable.core.platform.api.stubs",
|
||||||
"services.net",
|
"android_system_server_stubs_current",
|
||||||
|
"framework-annotations-lib",
|
||||||
|
"framework-connectivity.impl",
|
||||||
|
"framework-tethering.stubs.module_lib",
|
||||||
|
"framework-wifi.stubs.module_lib",
|
||||||
"unsupportedappusage",
|
"unsupportedappusage",
|
||||||
"ServiceConnectivityResources",
|
"ServiceConnectivityResources",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
|
"dnsresolver_aidl_interface-V7-java",
|
||||||
"modules-utils-os",
|
"modules-utils-os",
|
||||||
"net-utils-device-common",
|
"net-utils-device-common",
|
||||||
"net-utils-framework-common",
|
"net-utils-framework-common",
|
||||||
"netd-client",
|
"netd-client",
|
||||||
|
"netlink-client",
|
||||||
|
"networkstack-client",
|
||||||
"PlatformProperties",
|
"PlatformProperties",
|
||||||
"service-connectivity-protos",
|
"service-connectivity-protos",
|
||||||
],
|
],
|
||||||
@@ -78,6 +89,7 @@ java_library {
|
|||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "service-connectivity-protos",
|
name: "service-connectivity-protos",
|
||||||
|
sdk_version: "system_current",
|
||||||
proto: {
|
proto: {
|
||||||
type: "nano",
|
type: "nano",
|
||||||
},
|
},
|
||||||
@@ -93,6 +105,7 @@ java_library {
|
|||||||
|
|
||||||
java_library {
|
java_library {
|
||||||
name: "service-connectivity",
|
name: "service-connectivity",
|
||||||
|
sdk_version: "system_server_current",
|
||||||
installable: true,
|
installable: true,
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"service-connectivity-pre-jarjar",
|
"service-connectivity-pre-jarjar",
|
||||||
|
|||||||
Reference in New Issue
Block a user