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: [ |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 6 | "java/android/net/IIpMemoryStore.aidl", |
| 7 | "java/android/net/IIpMemoryStoreCallbacks.aidl", |
| 8 | "java/android/net/ipmemorystore/**/*.aidl", |
| 9 | ], |
| 10 | backend: { |
| 11 | ndk: { |
| 12 | enabled: false, |
| 13 | }, |
| 14 | cpp: { |
| 15 | enabled: false, |
| 16 | }, |
| 17 | }, |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame^] | 18 | api_dir: "aidl/ipmemorystore", |
| 19 | versions: ["1"], |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | aidl_interface { |
| 23 | name: "networkstack-aidl-interfaces", |
| 24 | local_include_dir: "java", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame^] | 25 | include_dirs: ["frameworks/base/core/java"], // For framework parcelables. |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 26 | srcs: [ |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 27 | "java/android/net/DhcpResultsParcelable.aidl", |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 28 | "java/android/net/INetworkMonitor.aidl", |
| 29 | "java/android/net/INetworkMonitorCallbacks.aidl", |
| 30 | "java/android/net/INetworkStackConnector.aidl", |
| 31 | "java/android/net/INetworkStackStatusCallback.aidl", |
| 32 | "java/android/net/InitialConfigurationParcelable.aidl", |
| 33 | "java/android/net/PrivateDnsConfigParcel.aidl", |
| 34 | "java/android/net/ProvisioningConfigurationParcelable.aidl", |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 35 | "java/android/net/TcpKeepalivePacketDataParcelable.aidl", |
| 36 | "java/android/net/dhcp/DhcpServingParamsParcel.aidl", |
| 37 | "java/android/net/dhcp/IDhcpServer.aidl", |
| 38 | "java/android/net/dhcp/IDhcpServerCallbacks.aidl", |
| 39 | "java/android/net/ip/IIpClient.aidl", |
| 40 | "java/android/net/ip/IIpClientCallbacks.aidl", |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 41 | ], |
| 42 | backend: { |
| 43 | ndk: { |
| 44 | enabled: false, |
| 45 | }, |
| 46 | cpp: { |
| 47 | enabled: false, |
| 48 | }, |
| 49 | }, |
| 50 | api_dir: "aidl/networkstack", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame^] | 51 | imports: ["ipmemorystore-aidl-interfaces"], |
| 52 | versions: ["1"], |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 53 | } |
| 54 | |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 55 | java_library_static { |
| 56 | name: "services.net", |
| 57 | srcs: ["java/**/*.java"], |
Remi NGUYEN VAN | dacee14 | 2019-02-13 18:28:35 +0900 | [diff] [blame] | 58 | static_libs: [ |
Luke Huang | 6591477 | 2019-03-16 00:31:46 +0800 | [diff] [blame] | 59 | "dnsresolver_aidl_interface-java", |
Chalard Jean | da3421e | 2019-02-01 14:20:32 +0900 | [diff] [blame] | 60 | "ipmemorystore-client", |
Remi NGUYEN VAN | dacee14 | 2019-02-13 18:28:35 +0900 | [diff] [blame] | 61 | "netd_aidl_interface-java", |
Remi NGUYEN VAN | 1b57e8e | 2019-02-14 18:19:14 +0900 | [diff] [blame] | 62 | "networkstack-aidl-interfaces-java", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame^] | 63 | ], |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 64 | } |
Remi NGUYEN VAN | 0e3d0923 | 2018-12-04 12:13:09 +0900 | [diff] [blame] | 65 | |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 66 | java_library_static { |
| 67 | name: "ipmemorystore-client", |
| 68 | sdk_version: "system_current", |
| 69 | srcs: [ |
| 70 | ":framework-annotations", |
| 71 | "java/android/net/IpMemoryStoreClient.java", |
Colin Cross | 50fadbe | 2019-03-26 11:03:05 -0700 | [diff] [blame] | 72 | "java/android/net/ipmemorystore/**/*.java", |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 73 | ], |
| 74 | static_libs: [ |
| 75 | "ipmemorystore-aidl-interfaces-java", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame^] | 76 | ], |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 77 | } |
| 78 | |
Remi NGUYEN VAN | e67b0c3 | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 79 | filegroup { |
| 80 | name: "services-networkstack-shared-srcs", |
Remi NGUYEN VAN | 0e3d0923 | 2018-12-04 12:13:09 +0900 | [diff] [blame] | 81 | srcs: [ |
Remi NGUYEN VAN | 3c600a1 | 2019-01-10 19:12:46 +0900 | [diff] [blame] | 82 | "java/android/net/ip/InterfaceController.java", // TODO: move to NetworkStack with tethering |
| 83 | "java/android/net/util/InterfaceParams.java", // TODO: move to NetworkStack with IpServer |
Remi NGUYEN VAN | e67b0c3 | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 84 | "java/android/net/shared/*.java", |
Remi NGUYEN VAN | 3c600a1 | 2019-01-10 19:12:46 +0900 | [diff] [blame] | 85 | "java/android/net/netlink/*.java", |
Remi NGUYEN VAN | 231b52b | 2019-01-29 15:38:52 +0900 | [diff] [blame] | 86 | ], |
Remi NGUYEN VAN | e67b0c3 | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 87 | } |