blob: f6d1e03c2efd04c039a64dfe501976b904a396df [file] [log] [blame]
Motomu Utsumiceb2a752022-10-04 18:38:04 +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
17package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21java_library {
22 name: "CronetApiCommonTests",
Chidera Olibiea0f25c42022-12-05 18:32:55 +000023 srcs: [
24 "src/**/*.java",
25 "src/**/*.kt"
26 ],
Motomu Utsumiceb2a752022-10-04 18:38:04 +090027 static_libs: [
28 "androidx.test.rules",
29 "androidx.core_core",
Chidera Olibiea0f25c42022-12-05 18:32:55 +000030 "ctstestserver",
Motomu Utsumiceb2a752022-10-04 18:38:04 +090031 "junit",
32 ],
33 libs: [
34 "android.test.runner",
35 "android.test.base",
36 "android.test.mock",
37 "androidx.annotation_annotation",
Motomu Utsumi6dca85d2022-10-11 18:32:15 +090038 "framework-cronet",
Chidera Olibiea0f25c42022-12-05 18:32:55 +000039 "org.apache.http.legacy",
Motomu Utsumiceb2a752022-10-04 18:38:04 +090040 ],
41}
42
43android_test {
44 name: "CronetApiTest",
Motomu Utsumi6dca85d2022-10-11 18:32:15 +090045 sdk_version: "test_current",
Motomu Utsumiceb2a752022-10-04 18:38:04 +090046 test_suites: ["device-tests"],
47 certificate: "platform",
48 static_libs: [
49 "CronetApiCommonTests",
50 ],
51}