blob: 5994d3f00157fe5ebf73676758d45ead756febce [file] [log] [blame]
Bob Badourcc94ca12021-03-01 23:48:10 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -08005android_app {
6 name: "Iwlan",
7 manifest: "AndroidManifest.xml",
8 srcs: [
9 "src/**/*.java",
10 "src/**/I*.aidl",
11 ],
12 resource_dirs: [
13 "res",
14 ],
15 static_libs: [
16 "android-support-annotations",
Aswin Sankar714157d2021-09-28 20:44:43 -070017 "net-utils-dnspacket-common",
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -080018 ],
19
20 libs: [
21 "android.net.ipsec.ike.stubs.system",
22 "auto_value_annotations",
gwenlin03468b02021-10-26 22:24:22 -040023 "framework-annotations-lib",
24 "framework-connectivity",
EdenSu4b70bb32021-09-17 15:48:51 +080025 "framework-wifi",
26 "modules-utils-handlerexecutor"
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -080027 ],
28
29 plugins: ["auto_value_plugin"],
30
31 required: ["privapp-permlist_com.google.android.iwlan.xml"],
32
33 owner: "google",
gwenlin03468b02021-10-26 22:24:22 -040034 system_ext_specific: true,
35 platform_apis: true,
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -080036 privileged: true,
37 certificate: "platform",
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -080038}
39
40prebuilt_etc {
41 name: "privapp-permlist_com.google.android.iwlan.xml",
42 sub_dir: "permissions",
43 src: "com.google.android.iwlan.xml",
44 filename_from_src: true,
gwenlin03468b02021-10-26 22:24:22 -040045 system_ext_specific: true,
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -080046}
47
48android_test {
49 name: "IwlanTests",
50
51 manifest: "test/AndroidManifest.xml",
52
53 srcs: [
54 "src/**/*.java",
55 "test/**/*.java",
56 ],
57
58 platform_apis: true,
59
60 certificate: "platform",
61
62 test_suites: ["device-tests"],
63
64 compile_multilib: "both",
65
66 libs: [
67 "android.net.ipsec.ike.stubs.system",
68 "auto_value_annotations",
69 ],
70
71 plugins: ["auto_value_plugin"],
72
73 static_libs: [
74 "android-support-annotations",
75 "androidx.test.rules",
Aswin Sankar39f34ae2022-03-21 16:41:57 -070076 "frameworks-base-testutils",
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -080077 "mockito-target-inline-minus-junit4",
78 "mockito-target-extended-minus-junit4",
Aswin Sankar714157d2021-09-28 20:44:43 -070079 "net-utils-dnspacket-common",
Chinmay Dhodapkar8ff242f2020-12-16 12:51:28 -080080 ],
81
82 jni_libs: [
83 "libdexmakerjvmtiagent",
84 "libstaticjvmtiagent",
85 "libmultiplejvmtiagentsinterferenceagent",
86 ],
87}