Jiyong Park | e86e89a | 2019-11-17 13:11:19 +0900 | [diff] [blame] | 1 | filegroup { |
| 2 | name: "services.net-sources", |
| 3 | srcs: ["java/**/*.java"], |
| 4 | path: "java", |
| 5 | visibility: ["//frameworks/base/services"], |
| 6 | } |
| 7 | |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 8 | java_library_static { |
| 9 | name: "services.net", |
markchien | 08cc030 | 2019-09-09 20:50:49 +0800 | [diff] [blame] | 10 | srcs: [ |
Remi NGUYEN VAN | 882d8b3 | 2019-08-09 15:52:06 +0900 | [diff] [blame] | 11 | ":net-module-utils-srcs", |
Jiyong Park | e86e89a | 2019-11-17 13:11:19 +0900 | [diff] [blame] | 12 | ":services.net-sources", |
markchien | 08cc030 | 2019-09-09 20:50:49 +0800 | [diff] [blame] | 13 | ], |
Remi NGUYEN VAN | dacee14 | 2019-02-13 18:28:35 +0900 | [diff] [blame] | 14 | static_libs: [ |
Lorenzo Colitti | fe0c38a | 2019-05-21 19:45:09 +0900 | [diff] [blame] | 15 | "dnsresolver_aidl_interface-V2-java", |
Jeongik Cha | cc0b57c | 2019-10-15 17:03:51 +0900 | [diff] [blame] | 16 | "netd_aidl_interface-unstable-java", |
Remi NGUYEN VAN | 882d8b3 | 2019-08-09 15:52:06 +0900 | [diff] [blame] | 17 | "netlink-client", |
Remi NGUYEN VAN | ee27a94 | 2019-08-08 15:49:46 +0900 | [diff] [blame] | 18 | "networkstack-client", |
Lorenzo Colitti | a0d4391 | 2020-01-14 14:22:23 +0900 | [diff] [blame] | 19 | "net-utils-services-common", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame] | 20 | ], |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 21 | } |
| 22 | |
Roshan Pius | b6361f9 | 2020-02-21 07:37:30 -0800 | [diff] [blame] | 23 | // Version of services.net for usage by the wifi mainline module. |
| 24 | // Note: This is compiled against module_current. |
| 25 | // TODO(b/145825329): This should be moved to networkstack-client, |
| 26 | // with dependencies moved to frameworks/libs/net right. |
| 27 | java_library { |
| 28 | name: "services.net-module-wifi", |
| 29 | srcs: [ |
| 30 | ":framework-services-net-module-wifi-shared-srcs", |
| 31 | ":net-module-utils-srcs", |
| 32 | "java/android/net/ip/IpClientCallbacks.java", |
| 33 | "java/android/net/ip/IpClientManager.java", |
| 34 | "java/android/net/ip/IpClientUtil.java", |
| 35 | "java/android/net/util/KeepalivePacketDataUtil.java", |
| 36 | "java/android/net/util/NetworkConstants.java", |
| 37 | "java/android/net/IpMemoryStore.java", |
| 38 | "java/android/net/NetworkMonitorManager.java", |
| 39 | "java/android/net/TcpKeepalivePacketData.java", |
| 40 | ], |
| 41 | sdk_version: "module_current", |
| 42 | libs: [ |
| 43 | "unsupportedappusage", |
| 44 | ], |
| 45 | static_libs: [ |
| 46 | "dnsresolver_aidl_interface-V2-java", |
| 47 | "netd_aidl_interface-unstable-java", |
| 48 | "netlink-client", |
| 49 | "networkstack-client", |
| 50 | "net-utils-services-common", |
| 51 | ], |
| 52 | apex_available: [ |
| 53 | "com.android.wifi", |
| 54 | ], |
| 55 | visibility: [ |
| 56 | "//frameworks/opt/net/wifi/service", |
| 57 | "//frameworks/opt/net/wifi/tests/wifitests", |
| 58 | ], |
| 59 | } |
| 60 | |
Remi NGUYEN VAN | e67b0c3 | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 61 | filegroup { |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 62 | name: "services-tethering-shared-srcs", |
| 63 | srcs: [ |
| 64 | ":framework-annotations", |
markchien | 08cc030 | 2019-09-09 20:50:49 +0800 | [diff] [blame] | 65 | "java/android/net/util/NetworkConstants.java", |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 66 | ], |
Jiyong Park | e86e89a | 2019-11-17 13:11:19 +0900 | [diff] [blame] | 67 | visibility: ["//frameworks/base/packages/Tethering"], |
markchien | a6ba54d | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 68 | } |