blob: 3aac2301f15bec4187bc1b6885c0b247561294b7 [file] [log] [blame]
Xiao Ma53ed1ac2019-06-03 15:48:39 +09001//
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
17android_test {
18 name: "NetworkStackIntegrationTests",
19 certificate: "networkstack",
Remi NGUYEN VANa42c9482019-11-26 17:11:50 +090020 min_sdk_version: "29",
Xiao Ma53ed1ac2019-06-03 15:48:39 +090021 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 Ma1ef8fd82019-07-16 19:16:39 +090027 "net-tests-utils",
Xiao Ma53ed1ac2019-06-03 15:48:39 +090028 "testables",
Remi NGUYEN VANae18aed2019-10-30 18:20:36 +090029 "TestNetworkStackLib",
Xiao Ma53ed1ac2019-06-03 15:48:39 +090030 ],
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}