Merge changes from topic "framework-conn-stub-cp"
* changes: Reference framework-connectivity stubs explicitly Merge framework-connectivity impl and stub targets
This commit is contained in:
@@ -25,8 +25,8 @@ java_sdk_library {
|
||||
],
|
||||
|
||||
srcs: [":framework-tethering-srcs"],
|
||||
libs: ["framework-connectivity"],
|
||||
stub_only_libs: ["framework-connectivity"],
|
||||
libs: ["framework-connectivity.stubs.module_lib"],
|
||||
stub_only_libs: ["framework-connectivity.stubs.module_lib"],
|
||||
aidl: {
|
||||
include_dirs: [
|
||||
"packages/modules/Connectivity/framework/aidl-export",
|
||||
|
||||
@@ -78,11 +78,13 @@ filegroup {
|
||||
|
||||
java_sdk_library {
|
||||
name: "framework-connectivity",
|
||||
api_only: true,
|
||||
sdk_version: "module_current",
|
||||
min_sdk_version: "30",
|
||||
defaults: ["framework-module-defaults"],
|
||||
installable: true,
|
||||
srcs: [
|
||||
":framework-connectivity-sources",
|
||||
":net-utils-framework-common-srcs",
|
||||
],
|
||||
aidl: {
|
||||
include_dirs: [
|
||||
@@ -94,10 +96,34 @@ java_sdk_library {
|
||||
"frameworks/native/aidl/binder", // For PersistableBundle.aidl
|
||||
],
|
||||
},
|
||||
impl_only_libs: [
|
||||
// TODO (b/183097033) remove once module_current includes core_platform
|
||||
"stable.core.platform.api.stubs",
|
||||
"framework-tethering.stubs.module_lib",
|
||||
"framework-wifi.stubs.module_lib",
|
||||
"net-utils-device-common",
|
||||
],
|
||||
libs: [
|
||||
"unsupportedappusage",
|
||||
],
|
||||
static_libs: [
|
||||
"framework-connectivity-protos",
|
||||
],
|
||||
jarjar_rules: "jarjar-rules.txt",
|
||||
permitted_packages: ["android.net"],
|
||||
impl_library_visibility: [
|
||||
"//packages/modules/Connectivity/Tethering/apex",
|
||||
// In preparation for future move
|
||||
"//packages/modules/Connectivity/apex",
|
||||
"//packages/modules/Connectivity/service",
|
||||
"//frameworks/base/packages/Connectivity/service",
|
||||
"//frameworks/base",
|
||||
"//packages/modules/Connectivity/Tethering/tests/unit",
|
||||
],
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.tethering",
|
||||
],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
@@ -145,37 +171,6 @@ cc_library_shared {
|
||||
shared_libs: ["libandroid"],
|
||||
stl: "libc++_static",
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.tethering",
|
||||
],
|
||||
}
|
||||
|
||||
java_library {
|
||||
name: "framework-connectivity.impl",
|
||||
sdk_version: "module_current",
|
||||
min_sdk_version: "30",
|
||||
srcs: [
|
||||
":framework-connectivity-sources",
|
||||
],
|
||||
aidl: {
|
||||
include_dirs: [
|
||||
"frameworks/base/core/java", // For framework parcelables
|
||||
"frameworks/native/aidl/binder", // For PersistableBundle.aidl
|
||||
],
|
||||
},
|
||||
libs: [
|
||||
// TODO (b/183097033) remove once module_current includes core_current
|
||||
"stable.core.platform.api.stubs",
|
||||
"framework-tethering",
|
||||
"framework-wifi",
|
||||
"unsupportedappusage",
|
||||
],
|
||||
static_libs: [
|
||||
"framework-connectivity-protos",
|
||||
"net-utils-device-common",
|
||||
],
|
||||
jarjar_rules: "jarjar-rules.txt",
|
||||
apex_available: ["com.android.tethering"],
|
||||
installable: true,
|
||||
permitted_packages: ["android.net"],
|
||||
}
|
||||
|
||||
@@ -79,7 +79,6 @@ java_library {
|
||||
"service-connectivity-protos",
|
||||
],
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.tethering",
|
||||
],
|
||||
}
|
||||
@@ -96,7 +95,6 @@ java_library {
|
||||
],
|
||||
libs: ["libprotobuf-java-nano"],
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.tethering",
|
||||
],
|
||||
}
|
||||
@@ -111,7 +109,6 @@ java_library {
|
||||
],
|
||||
jarjar_rules: "jarjar-rules.txt",
|
||||
apex_available: [
|
||||
"//apex_available:platform",
|
||||
"com.android.tethering",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user