blob: 03d163cd9abb5d1c09bb35fd663f1ee57b5c7152 [file] [log] [blame]
Chidera Olibied46c92f2023-02-08 19:01:15 +00001// Copyright (C) 2023 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
15package {
16 // See: http://go/android-license-faq
17 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_library {
21 name: "NetHttpTestsLibPreJarJar",
22 srcs: [":cronet_aml_javatests_sources"],
Chidera Olibied66799a2023-01-24 20:22:56 +000023 sdk_version: "test_current",
24 min_sdk_version: "30",
Chidera Olibied46c92f2023-02-08 19:01:15 +000025 static_libs: [
26 "androidx.test.ext.junit",
27 "androidx.test.rules",
28 "junit",
29 ],
30 libs: [
31 "android.test.base",
32 "framework-tethering-pre-jarjar",
Chidera Olibied66799a2023-01-24 20:22:56 +000033 ],
34 lint: { test: true }
Chidera Olibied46c92f2023-02-08 19:01:15 +000035}
36
37android_test {
38 name: "NetHttpTests",
39 defaults: [
40 "CronetTestJavaDefaults",
41 "mts-target-sdk-version-current",
42 ],
Chidera Olibied46c92f2023-02-08 19:01:15 +000043 sdk_version: "test_current",
44 static_libs: ["NetHttpTestsLibPreJarJar"],
45 jarjar_rules: ":framework-tethering-jarjar-rules",
46 test_suites: [
47 "general-tests",
48 "mts-tethering",
49 ],
50}
51