blob: 10f27e243c8c959555f1ac528f702bfc82fb7668 [file] [log] [blame]
Sasha Smundak168d7632019-02-20 16:52:48 -08001//########################################################################
2// Build FrameworksNetTests package
3//########################################################################
Chenbo Feng204b9002019-03-01 15:07:24 -08004java_defaults {
5 name: "FrameworksNetTests-jni-defaults",
Chenbo Feng204b9002019-03-01 15:07:24 -08006 jni_libs: [
7 "ld-android",
Chenbo Feng204b9002019-03-01 15:07:24 -08008 "libbacktrace",
9 "libbase",
10 "libbinder",
11 "libbinderthreadstate",
12 "libbpf",
13 "libbpf_android",
14 "libc++",
Ian Kasprzakd20976e2019-05-10 10:53:50 -070015 "libcgrouprc",
Chenbo Feng204b9002019-03-01 15:07:24 -080016 "libcrypto",
17 "libcutils",
Chenbo Feng204b9002019-03-01 15:07:24 -080018 "libdl_android",
19 "libhidl-gen-utils",
20 "libhidlbase",
Chenbo Feng204b9002019-03-01 15:07:24 -080021 "libjsoncpp",
22 "liblog",
23 "liblzma",
24 "libnativehelper",
25 "libnetdbpf",
26 "libnetdutils",
paulhud937f742019-07-01 15:34:28 +080027 "libnetworkstatsfactorytestjni",
Chenbo Feng204b9002019-03-01 15:07:24 -080028 "libpackagelistparser",
29 "libpcre2",
30 "libprocessgroup",
31 "libselinux",
Chenbo Feng204b9002019-03-01 15:07:24 -080032 "libtinyxml2",
paulhud937f742019-07-01 15:34:28 +080033 "libui",
Chenbo Feng204b9002019-03-01 15:07:24 -080034 "libunwindstack",
paulhud937f742019-07-01 15:34:28 +080035 "libutils",
Chenbo Feng204b9002019-03-01 15:07:24 -080036 "libutilscallstack",
paulhud937f742019-07-01 15:34:28 +080037 "libvndksupport",
Chenbo Feng204b9002019-03-01 15:07:24 -080038 "libziparchive",
39 "libz",
Jeongik Cha342dad52019-10-15 17:03:51 +090040 "netd_aidl_interface-cpp",
Chenbo Feng204b9002019-03-01 15:07:24 -080041 ],
42}
43
44android_test {
45 name: "FrameworksNetTests",
46 defaults: ["FrameworksNetTests-jni-defaults"],
markchien194406d2019-09-03 15:58:06 +080047 srcs: [
48 ":tethering-tests-src",
49 "java/**/*.java",
50 "java/**/*.kt",
51 ],
Sasha Smundak168d7632019-02-20 16:52:48 -080052 platform_apis: true,
53 test_suites: ["device-tests"],
54 certificate: "platform",
paulhud937f742019-07-01 15:34:28 +080055 static_libs: [
56 "androidx.test.rules",
57 "FrameworksNetCommonTests",
58 "frameworks-base-testutils",
Remi NGUYEN VANe9741e42019-06-13 16:12:02 +090059 "frameworks-net-integration-testutils",
paulhud937f742019-07-01 15:34:28 +080060 "framework-protos",
61 "mockito-target-minus-junit4",
62 "net-tests-utils",
63 "platform-test-annotations",
64 "services.core",
65 "services.net",
66 ],
67 libs: [
68 "android.test.runner",
69 "android.test.base",
70 "android.test.mock",
71 ],
Sasha Smundak168d7632019-02-20 16:52:48 -080072}