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", |
Lorenzo Colitti | 791dd86 | 2019-04-29 19:32:42 +0900 | [diff] [blame] | 19 | versions: [ |
| 20 | "1", |
| 21 | "2", |
Lorenzo Colitti | 91dd063 | 2019-05-18 01:06:27 +0900 | [diff] [blame] | 22 | "3", |
Lorenzo Colitti | 791dd86 | 2019-04-29 19:32:42 +0900 | [diff] [blame] | 23 | ], |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | aidl_interface { |
| 27 | name: "networkstack-aidl-interfaces", |
| 28 | local_include_dir: "java", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame] | 29 | include_dirs: ["frameworks/base/core/java"], // For framework parcelables. |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 30 | srcs: [ |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 31 | "java/android/net/DhcpResultsParcelable.aidl", |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 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", |
Aaron Huang | 76985bd | 2019-04-23 22:17:16 +0800 | [diff] [blame] | 37 | "java/android/net/NattKeepalivePacketDataParcelable.aidl", |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 38 | "java/android/net/PrivateDnsConfigParcel.aidl", |
| 39 | "java/android/net/ProvisioningConfigurationParcelable.aidl", |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 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", |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 46 | ], |
| 47 | backend: { |
| 48 | ndk: { |
| 49 | enabled: false, |
| 50 | }, |
| 51 | cpp: { |
| 52 | enabled: false, |
| 53 | }, |
| 54 | }, |
| 55 | api_dir: "aidl/networkstack", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame] | 56 | imports: ["ipmemorystore-aidl-interfaces"], |
Lorenzo Colitti | 791dd86 | 2019-04-29 19:32:42 +0900 | [diff] [blame] | 57 | versions: [ |
| 58 | "1", |
| 59 | "2", |
markchien | ca5ebb6 | 2019-04-30 10:27:23 +0800 | [diff] [blame] | 60 | "3", |
Lorenzo Colitti | 791dd86 | 2019-04-29 19:32:42 +0900 | [diff] [blame] | 61 | ], |
Lorenzo Colitti | 306e8cd | 2019-03-19 16:11:26 +0900 | [diff] [blame] | 62 | } |
| 63 | |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 64 | java_library_static { |
| 65 | name: "services.net", |
| 66 | srcs: ["java/**/*.java"], |
Remi NGUYEN VAN | dacee14 | 2019-02-13 18:28:35 +0900 | [diff] [blame] | 67 | static_libs: [ |
Lorenzo Colitti | fe0c38a | 2019-05-21 19:45:09 +0900 | [diff] [blame] | 68 | "dnsresolver_aidl_interface-V2-java", |
Chalard Jean | da3421e | 2019-02-01 14:20:32 +0900 | [diff] [blame] | 69 | "ipmemorystore-client", |
Lorenzo Colitti | fe0c38a | 2019-05-21 19:45:09 +0900 | [diff] [blame] | 70 | "netd_aidl_interface-V2-java", |
| 71 | "networkstack-aidl-interfaces-V3-java", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame] | 72 | ], |
Colin Cross | eb652a4 | 2017-12-05 09:46:29 -0800 | [diff] [blame] | 73 | } |
Remi NGUYEN VAN | 0e3d0923 | 2018-12-04 12:13:09 +0900 | [diff] [blame] | 74 | |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 75 | java_library_static { |
| 76 | name: "ipmemorystore-client", |
| 77 | sdk_version: "system_current", |
| 78 | srcs: [ |
| 79 | ":framework-annotations", |
| 80 | "java/android/net/IpMemoryStoreClient.java", |
Colin Cross | 50fadbe | 2019-03-26 11:03:05 -0700 | [diff] [blame] | 81 | "java/android/net/ipmemorystore/**/*.java", |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 82 | ], |
| 83 | static_libs: [ |
Lorenzo Colitti | fe0c38a | 2019-05-21 19:45:09 +0900 | [diff] [blame] | 84 | "ipmemorystore-aidl-interfaces-V3-java", |
Remi NGUYEN VAN | 1232fe3 | 2019-04-05 15:15:48 +0900 | [diff] [blame] | 85 | ], |
Chalard Jean | 9521351 | 2019-01-30 21:04:58 +0900 | [diff] [blame] | 86 | } |
| 87 | |
Remi NGUYEN VAN | e67b0c3 | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 88 | filegroup { |
| 89 | name: "services-networkstack-shared-srcs", |
Remi NGUYEN VAN | 0e3d0923 | 2018-12-04 12:13:09 +0900 | [diff] [blame] | 90 | srcs: [ |
Remi NGUYEN VAN | 3c600a1 | 2019-01-10 19:12:46 +0900 | [diff] [blame] | 91 | "java/android/net/ip/InterfaceController.java", // TODO: move to NetworkStack with tethering |
| 92 | "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] | 93 | "java/android/net/shared/*.java", |
Remi NGUYEN VAN | 3c600a1 | 2019-01-10 19:12:46 +0900 | [diff] [blame] | 94 | "java/android/net/netlink/*.java", |
Remi NGUYEN VAN | 231b52b | 2019-01-29 15:38:52 +0900 | [diff] [blame] | 95 | ], |
Remi NGUYEN VAN | e67b0c3 | 2018-12-27 16:43:56 +0900 | [diff] [blame] | 96 | } |