Use already compiled library

No point compiling these sources once again, just use the existing
library.

Test: m com.android.wifi
Change-Id: I304bff8f34c3d4d9e00be31c9aa3c40c63cd0dd0
This commit is contained in:
Anton Hansson
2022-05-30 11:58:01 +00:00
parent e4fcdec29f
commit 93298d6e83

View File

@@ -34,30 +34,19 @@ java_library_static {
// with dependencies moved to frameworks/libs/net right.
java_library {
name: "services.net-module-wifi",
srcs: [
":net-utils-services-common-srcs",
],
sdk_version: "module_current",
min_sdk_version: "30",
libs: [
"framework-annotations-lib",
"unsupportedappusage",
"framework-wifi-util-lib",
"framework-connectivity",
"modules-utils-build_system",
],
static_libs: [
// All the classes in netd_aidl_interface must be jarjar so they do not conflict with the
// classes generated by netd_aidl_interfaces-platform-java above.
"netd_aidl_interface-V3-java",
"networkstack-client",
"net-utils-services-common",
],
apex_available: [
"com.android.wifi",
],
visibility: [
"//frameworks/opt/net/wifi/service",
"//frameworks/opt/net/wifi/tests/wifitests",
"//packages/modules/Wifi/service",
"//packages/modules/Wifi/service/tests/wifitests",
],