Xiao Ma | 53ed1ac | 2019-06-03 15:48:39 +0900 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | android_test { |
| 18 | name: "NetworkStackIntegrationTests", |
| 19 | certificate: "networkstack", |
Remi NGUYEN VAN | a42c948 | 2019-11-26 17:11:50 +0900 | [diff] [blame] | 20 | min_sdk_version: "29", |
Xiao Ma | 53ed1ac | 2019-06-03 15:48:39 +0900 | [diff] [blame] | 21 | srcs: ["src/**/*.java"], |
| 22 | test_suites: ["device-tests"], |
| 23 | static_libs: [ |
| 24 | "androidx.annotation_annotation", |
| 25 | "androidx.test.rules", |
| 26 | "mockito-target-extended-minus-junit4", |
Xiao Ma | 1ef8fd8 | 2019-07-16 19:16:39 +0900 | [diff] [blame] | 27 | "net-tests-utils", |
Xiao Ma | 53ed1ac | 2019-06-03 15:48:39 +0900 | [diff] [blame] | 28 | "testables", |
Remi NGUYEN VAN | ae18aed | 2019-10-30 18:20:36 +0900 | [diff] [blame] | 29 | "TestNetworkStackLib", |
Xiao Ma | 53ed1ac | 2019-06-03 15:48:39 +0900 | [diff] [blame] | 30 | ], |
| 31 | libs: [ |
| 32 | "android.test.runner", |
| 33 | "android.test.base", |
| 34 | "android.test.mock", |
| 35 | ], |
| 36 | defaults: ["libnetworkstackutilsjni_deps"], |
| 37 | jni_libs: [ |
| 38 | // For mockito extended |
| 39 | "libdexmakerjvmtiagent", |
| 40 | "libstaticjvmtiagent", |
| 41 | // For NetworkStackUtils included in NetworkStackBase |
| 42 | "libnetworkstackutilsjni", |
| 43 | ], |
| 44 | } |