Skip to content
Snippets Groups Projects
Commit 77bed145 authored by Yang Sun's avatar Yang Sun Committed by Automerger Merge Worker
Browse files

Merge "Include structs lib in service-connectivity-pre-jarjar" into main am: db67a804

parents b95be56b db67a804
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,6 @@ java_defaults {
],
impl_only_static_libs: [
"net-utils-device-common-bpf",
"net-utils-device-common-struct",
],
libs: [
"androidx.annotation_annotation",
......@@ -125,7 +124,6 @@ java_library {
// Even if the library is included in "impl_only_static_libs" of defaults. This is still
// needed because java_library which doesn't understand "impl_only_static_libs".
"net-utils-device-common-bpf",
"net-utils-device-common-struct",
],
libs: [
// This cannot be in the defaults clause above because if it were, it would be used
......
......@@ -199,6 +199,7 @@ java_library {
"PlatformProperties",
"service-connectivity-protos",
"service-connectivity-stats-protos",
"net-utils-multicast-forwarding-structs",
],
apex_available: [
"com.android.tethering",
......
......@@ -188,6 +188,33 @@ java_library {
},
}
// The net-utils-multicast-forwarding-structs library requires the callers to
// contain net-utils-device-common-bpf.
java_library {
name: "net-utils-multicast-forwarding-structs",
srcs: [
"device/com/android/net/module/util/structs/StructMf6cctl.java",
"device/com/android/net/module/util/structs/StructMif6ctl.java",
"device/com/android/net/module/util/structs/StructMrt6Msg.java",
],
sdk_version: "module_current",
min_sdk_version: "30",
visibility: [
"//packages/modules/Connectivity:__subpackages__",
],
libs: [
// Only Struct.java is needed from "net-utils-device-common-bpf"
"net-utils-device-common-bpf",
],
apex_available: [
"com.android.tethering",
],
lint: {
strict_updatability_linting: true,
error_checks: ["NewApi"],
},
}
// The net-utils-device-common-netlink library requires the callers to contain
// net-utils-device-common-struct.
java_library {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment