blob: fb548f9975c5db3868b5cbcf90817cf35e1384d8 [file] [log] [blame]
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +09001// AIDL interfaces between the core system and the networking mainline module.
2aidl_interface {
3 name: "ipmemorystore-aidl-interfaces",
4 local_include_dir: "java",
5 srcs: [
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +09006 "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 VAN1232fe32019-04-05 15:15:48 +090018 api_dir: "aidl/ipmemorystore",
Lorenzo Colitti791dd862019-04-29 19:32:42 +090019 versions: [
20 "1",
21 "2",
Lorenzo Colitti91dd0632019-05-18 01:06:27 +090022 "3",
Lorenzo Colitti791dd862019-04-29 19:32:42 +090023 ],
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +090024}
25
26aidl_interface {
27 name: "networkstack-aidl-interfaces",
28 local_include_dir: "java",
Remi NGUYEN VAN1232fe32019-04-05 15:15:48 +090029 include_dirs: ["frameworks/base/core/java"], // For framework parcelables.
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +090030 srcs: [
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +090031 "java/android/net/DhcpResultsParcelable.aidl",
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +090032 "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 Huang76985bd2019-04-23 22:17:16 +080037 "java/android/net/NattKeepalivePacketDataParcelable.aidl",
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +090038 "java/android/net/PrivateDnsConfigParcel.aidl",
39 "java/android/net/ProvisioningConfigurationParcelable.aidl",
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +090040 "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 Colitti306e8cd2019-03-19 16:11:26 +090046 ],
47 backend: {
48 ndk: {
49 enabled: false,
50 },
51 cpp: {
52 enabled: false,
53 },
54 },
55 api_dir: "aidl/networkstack",
Remi NGUYEN VAN1232fe32019-04-05 15:15:48 +090056 imports: ["ipmemorystore-aidl-interfaces"],
Lorenzo Colitti791dd862019-04-29 19:32:42 +090057 versions: [
58 "1",
59 "2",
markchienca5ebb62019-04-30 10:27:23 +080060 "3",
Lorenzo Colitti791dd862019-04-29 19:32:42 +090061 ],
Lorenzo Colitti306e8cd2019-03-19 16:11:26 +090062}
63
Colin Crosseb652a42017-12-05 09:46:29 -080064java_library_static {
65 name: "services.net",
66 srcs: ["java/**/*.java"],
Remi NGUYEN VANdacee142019-02-13 18:28:35 +090067 static_libs: [
Lorenzo Colittife0c38a2019-05-21 19:45:09 +090068 "dnsresolver_aidl_interface-V2-java",
Chalard Jeanda3421e2019-02-01 14:20:32 +090069 "ipmemorystore-client",
Lorenzo Colittife0c38a2019-05-21 19:45:09 +090070 "netd_aidl_interface-V2-java",
71 "networkstack-aidl-interfaces-V3-java",
Remi NGUYEN VAN1232fe32019-04-05 15:15:48 +090072 ],
Colin Crosseb652a42017-12-05 09:46:29 -080073}
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +090074
Chalard Jean95213512019-01-30 21:04:58 +090075java_library_static {
76 name: "ipmemorystore-client",
77 sdk_version: "system_current",
78 srcs: [
79 ":framework-annotations",
80 "java/android/net/IpMemoryStoreClient.java",
Colin Cross50fadbe2019-03-26 11:03:05 -070081 "java/android/net/ipmemorystore/**/*.java",
Chalard Jean95213512019-01-30 21:04:58 +090082 ],
83 static_libs: [
Lorenzo Colittife0c38a2019-05-21 19:45:09 +090084 "ipmemorystore-aidl-interfaces-V3-java",
Remi NGUYEN VAN1232fe32019-04-05 15:15:48 +090085 ],
Chalard Jean95213512019-01-30 21:04:58 +090086}
87
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +090088filegroup {
89 name: "services-networkstack-shared-srcs",
Remi NGUYEN VAN0e3d09232018-12-04 12:13:09 +090090 srcs: [
Remi NGUYEN VAN3c600a12019-01-10 19:12:46 +090091 "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 VANe67b0c32018-12-27 16:43:56 +090093 "java/android/net/shared/*.java",
Remi NGUYEN VAN3c600a12019-01-10 19:12:46 +090094 "java/android/net/netlink/*.java",
Remi NGUYEN VAN231b52b2019-01-29 15:38:52 +090095 ],
Remi NGUYEN VANe67b0c32018-12-27 16:43:56 +090096}