Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame^] | 1 | // AIDL interfaces between the core system and the networking mainline module. |
| 2 | aidl_interface { |
| 3 | name: "ipmemorystore-aidl-interfaces", |
| 4 | local_include_dir: "java", |
| 5 | srcs: [ |
| 6 | // TODO: Define and use a filegroup for these files, since they're also used in |
| 7 | // networkstack-aidl-interfaces. This does not appear to work at the moment. |
| 8 | "java/android/net/IIpMemoryStore.aidl", |
| 9 | "java/android/net/IIpMemoryStoreCallbacks.aidl", |
| 10 | "java/android/net/ipmemorystore/**/*.aidl", |
| 11 | ], |
| 12 | backend: { |
| 13 | ndk: { |
| 14 | enabled: false, |
| 15 | }, |
| 16 | cpp: { |
| 17 | enabled: false, |
| 18 | }, |
| 19 | }, |
| 20 | api_dir: "aidl/networkstack", |
| 21 | } |
| 22 | |
| 23 | aidl_interface { |
| 24 | name: "networkstack-aidl-interfaces", |
| 25 | local_include_dir: "java", |
| 26 | include_dirs: ["frameworks/base/core/java"], // For framework parcelables. |
| 27 | srcs: [ |
| 28 | "java/android/net/ApfCapabilitiesParcelable.aidl", |
| 29 | "java/android/net/DhcpResultsParcelable.aidl", |
| 30 | "java/android/net/IIpMemoryStore.aidl", |
| 31 | "java/android/net/IIpMemoryStoreCallbacks.aidl", |
| 32 | "java/android/net/INetworkMonitor.aidl", |
| 33 | "java/android/net/INetworkMonitorCallbacks.aidl", |
| 34 | "java/android/net/INetworkStackConnector.aidl", |
| 35 | "java/android/net/INetworkStackStatusCallback.aidl", |
| 36 | "java/android/net/InitialConfigurationParcelable.aidl", |
| 37 | "java/android/net/PrivateDnsConfigParcel.aidl", |
| 38 | "java/android/net/ProvisioningConfigurationParcelable.aidl", |
| 39 | "java/android/net/StaticIpConfigurationParcelable.aidl", |
| 40 | "java/android/net/TcpKeepalivePacketDataParcelable.aidl", |
| 41 | "java/android/net/dhcp/DhcpServingParamsParcel.aidl", |
| 42 | "java/android/net/dhcp/IDhcpServer.aidl", |
| 43 | "java/android/net/dhcp/IDhcpServerCallbacks.aidl", |
| 44 | "java/android/net/ip/IIpClient.aidl", |
| 45 | "java/android/net/ip/IIpClientCallbacks.aidl", |
| 46 | "java/android/net/ipmemorystore/**/*.aidl", |
| 47 | ], |
| 48 | backend: { |
| 49 | ndk: { |
| 50 | enabled: false, |
| 51 | }, |
| 52 | cpp: { |
| 53 | enabled: false, |
| 54 | }, |
| 55 | }, |
| 56 | api_dir: "aidl/networkstack", |
| 57 | } |
| 58 | |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 59 | java_library_static { |
| 60 | name: "services.net", |
| 61 | srcs: ["java/**/*.java"], |
Remi NGUYEN VAN | dacee14 | 2019-02-13 18:28:35 +0900 | [diff] [blame] | 62 | static_libs: [ |
| 63 | "netd_aidl_interface-java", |
Remi NGUYEN VAN | 1b57e8e | 2019-02-14 18:19:14 +0900 | [diff] [blame] | 64 | "networkstack-aidl-interfaces-java", |
Remi NGUYEN VAN | dacee14 | 2019-02-13 18:28:35 +0900 | [diff] [blame] | 65 | ] |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 66 | } |
Remi NGUYEN VAN | 0e3d0923 | 2018-12-04 12:13:09 +0900 | [diff] [blame] | 67 | |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 68 | java_library_static { |
| 69 | name: "ipmemorystore-client", |
| 70 | sdk_version: "system_current", |
| 71 | srcs: [ |
| 72 | ":framework-annotations", |
| 73 | "java/android/net/IpMemoryStoreClient.java", |
| 74 | "java/android/net/ipmemorystore/**.java", |
| 75 | ], |
| 76 | static_libs: [ |
| 77 | "ipmemorystore-aidl-interfaces-java", |
| 78 | ] |
| 79 | } |
| 80 | |
Remi NGUYEN VAN | e67b0c3a | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 81 | filegroup { |
| 82 | name: "services-networkstack-shared-srcs", |
Remi NGUYEN VAN | 0e3d0923 | 2018-12-04 12:13:09 +0900 | [diff] [blame] | 83 | srcs: [ |
Remi NGUYEN VAN | 3c600a1 | 2019-01-10 19:12:46 +0900 | [diff] [blame] | 84 | "java/android/net/ip/InterfaceController.java", // TODO: move to NetworkStack with tethering |
| 85 | "java/android/net/util/InterfaceParams.java", // TODO: move to NetworkStack with IpServer |
Remi NGUYEN VAN | e67b0c3a | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 86 | "java/android/net/shared/*.java", |
Remi NGUYEN VAN | 3c600a1 | 2019-01-10 19:12:46 +0900 | [diff] [blame] | 87 | "java/android/net/netlink/*.java", |
Remi NGUYEN VAN | 231b52b | 2019-01-29 15:38:52 +0900 | [diff] [blame] | 88 | ], |
Remi NGUYEN VAN | e67b0c3a | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 89 | } |