Refactor staticlibs

This CL introduces net-utils-framework-connectivity, net-utils-tethering
and net-utils-service-connectivity as staticlibs.

- net-utils-framework-connectivity will be used by
  framework-connectivity-pre-jarjar.
- net-utils-service-connectivity and net-utils-tethering are the
  static liraries used by service-connectivity-pre-jarjar and Tethering
  respectively.

Bug: 350699020
Test: CI

Change-Id: I4dbb2b0de905a576cfcf24d2d5d1f1a261d2bd68
This commit is contained in:
Handa Wang 2024-07-02 13:17:43 +00:00
commit 9b0df36ea4

View file

@ -95,8 +95,7 @@ java_defaults {
"framework-connectivity-javastream-protos",
],
impl_only_static_libs: [
"net-utils-device-common-bpf",
"net-utils-device-common-struct-base",
"net-utils-framework-connectivity",
],
libs: [
"androidx.annotation_annotation",
@ -123,8 +122,7 @@ java_library {
// to generate the SDK stubs.
// 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-base",
"net-utils-framework-connectivity",
],
libs: [
// This cannot be in the defaults clause above because if it were, it would be used