Luke Huang | 971b795 | 2019-04-24 21:27:40 -0700 | [diff] [blame] | 1 | // Copyright (C) 2008 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | android_test { |
| 16 | name: "CtsNetTestCases", |
| 17 | defaults: ["cts_defaults"], |
| 18 | |
| 19 | // Include both the 32 and 64 bit versions |
| 20 | compile_multilib: "both", |
| 21 | |
| 22 | libs: [ |
| 23 | "voip-common", |
| 24 | "org.apache.http.legacy", |
| 25 | "android.test.base.stubs", |
| 26 | ], |
| 27 | |
| 28 | jni_libs: [ |
| 29 | "libcts_jni", |
| 30 | "libnativedns_jni", |
| 31 | "libnativemultinetwork_jni", |
| 32 | "libnativehelper_compat_libc++", |
| 33 | ], |
| 34 | |
| 35 | // include CtsTestServer as a temporary hack to free net.cts from cts.stub. |
| 36 | srcs: [ |
| 37 | "src/**/*.java", |
| 38 | "src/**/*.kt", |
| 39 | ], |
| 40 | |
| 41 | static_libs: [ |
| 42 | "FrameworksNetCommonTests", |
| 43 | "core-tests-support", |
| 44 | "compatibility-device-util-axt", |
paulhu | 3cdc25c | 2019-05-23 19:16:47 +0800 | [diff] [blame] | 45 | "cts-net-utils", |
Luke Huang | 971b795 | 2019-04-24 21:27:40 -0700 | [diff] [blame] | 46 | "ctstestrunner-axt", |
| 47 | "ctstestserver", |
| 48 | "mockwebserver", |
| 49 | "junit", |
| 50 | "junit-params", |
| 51 | "truth-prebuilt", |
| 52 | ], |
| 53 | |
| 54 | // uncomment when b/13249961 is fixed |
| 55 | // sdk_version: "current", |
| 56 | platform_apis: true, |
| 57 | |
| 58 | // Tag this module as a cts test artifact |
| 59 | test_suites: [ |
| 60 | "cts", |
| 61 | "vts", |
| 62 | "general-tests", |
Chen Zhu | c3bd834 | 2019-08-16 16:33:04 -0700 | [diff] [blame^] | 63 | "mts", |
Luke Huang | 971b795 | 2019-04-24 21:27:40 -0700 | [diff] [blame] | 64 | ], |
| 65 | |
| 66 | } |