1filegroup { 2 name: "services.net-sources", 3 srcs: ["java/**/*.java"], 4 path: "java", 5 visibility: ["//frameworks/base/services"], 6} 7 8java_library_static { 9 name: "services.net", 10 srcs: [ 11 ":net-module-utils-srcs", 12 ":services.net-sources", 13 ], 14 static_libs: [ 15 "netd_aidl_interfaces-platform-java", 16 "netlink-client", 17 "networkstack-client", 18 "net-utils-services-common", 19 ], 20} 21 22// Version of services.net for usage by the wifi mainline module. 23// Note: This is compiled against module_current. 24// TODO(b/145825329): This should be moved to networkstack-client, 25// with dependencies moved to frameworks/libs/net right. 26java_library { 27 name: "services.net-module-wifi", 28 srcs: [ 29 ":framework-services-net-module-wifi-shared-srcs", 30 ":net-module-utils-srcs", 31 "java/android/net/ip/IpClientCallbacks.java", 32 "java/android/net/ip/IpClientManager.java", 33 "java/android/net/ip/IpClientUtil.java", 34 "java/android/net/util/KeepalivePacketDataUtil.java", 35 "java/android/net/util/NetworkConstants.java", 36 "java/android/net/IpMemoryStore.java", 37 "java/android/net/NetworkMonitorManager.java", 38 "java/android/net/TcpKeepalivePacketData.java", 39 ], 40 sdk_version: "module_current", 41 libs: [ 42 "unsupportedappusage", 43 "framework-wifi-util-lib", 44 ], 45 static_libs: [ 46 // All the classes in netd_aidl_interface must be jarjar so they do not conflict with the 47 // classes generated by netd_aidl_interfaces-platform-java above. 48 "netd_aidl_interface-V3-java", 49 "netlink-client", 50 "networkstack-client", 51 "net-utils-services-common", 52 ], 53 apex_available: [ 54 "com.android.wifi", 55 ], 56 visibility: [ 57 "//frameworks/opt/net/wifi/service", 58 "//frameworks/opt/net/wifi/tests/wifitests", 59 ], 60} 61 62filegroup { 63 name: "services-tethering-shared-srcs", 64 srcs: [ 65 ":framework-annotations", 66 "java/android/net/util/NetworkConstants.java", 67 ], 68 visibility: ["//frameworks/base/packages/Tethering"], 69} 70