summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2022-05-30 11:58:01 +0000
committer Anton Hansson <hansson@google.com> 2022-05-30 11:58:01 +0000
commit93298d6e832e35acdcca009f4674f7818ea060fe (patch)
tree56a56851a43c2ad2f78c41053226117d23aa6a45
parente4fcdec29f0a689ca0b289a3b24077cc439a7394 (diff)
Use already compiled library
No point compiling these sources once again, just use the existing library. Test: m com.android.wifi Change-Id: I304bff8f34c3d4d9e00be31c9aa3c40c63cd0dd0
-rw-r--r--services/net/Android.bp13
1 files changed, 1 insertions, 12 deletions
diff --git a/services/net/Android.bp b/services/net/Android.bp
index 1b64d3aaa561..886a397c87e6 100644
--- a/services/net/Android.bp
+++ b/services/net/Android.bp
@@ -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",
],