blob: fdc9a53759c1eb95bb6df280ea41cf261852ba41 [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",
20 srcs: ["src/**/*.java"],
21 test_suites: ["device-tests"],
22 static_libs: [
23 "androidx.annotation_annotation",
24 "androidx.test.rules",
25 "mockito-target-extended-minus-junit4",
Xiao Ma1ef8fd82019-07-16 19:16:39 +090026 "net-tests-utils",
Xiao Ma53ed1ac2019-06-03 15:48:39 +090027 "testables",
Remi NGUYEN VANae18aed2019-10-30 18:20:36 +090028 "TestNetworkStackLib",
Xiao Ma53ed1ac2019-06-03 15:48:39 +090029 ],
30 libs: [
31 "android.test.runner",
32 "android.test.base",
33 "android.test.mock",
34 ],
35 defaults: ["libnetworkstackutilsjni_deps"],
36 jni_libs: [
37 // For mockito extended
38 "libdexmakerjvmtiagent",
39 "libstaticjvmtiagent",
40 // For NetworkStackUtils included in NetworkStackBase
41 "libnetworkstackutilsjni",
42 ],
43}