Merge "Build service-connectivity with system_server API" am: c006592307
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1722748 Change-Id: Ib7b959b42034be815210250a3c36de5343faf3c8
This commit is contained in:
@@ -48,22 +48,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: [
|
||||||
"src/**/*.java",
|
"src/**/*.java",
|
||||||
":framework-connectivity-shared-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",
|
||||||
],
|
],
|
||||||
@@ -75,6 +86,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",
|
||||||
},
|
},
|
||||||
@@ -90,6 +102,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