Chidera Olibie | d46c92f | 2023-02-08 19:01:15 +0000 | [diff] [blame] | 1 | // 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 | |
| 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 18 | } |
| 19 | |
| 20 | android_library { |
| 21 | name: "NetHttpTestsLibPreJarJar", |
| 22 | srcs: [":cronet_aml_javatests_sources"], |
Chidera Olibie | d66799a | 2023-01-24 20:22:56 +0000 | [diff] [blame^] | 23 | sdk_version: "test_current", |
| 24 | min_sdk_version: "30", |
Chidera Olibie | d46c92f | 2023-02-08 19:01:15 +0000 | [diff] [blame] | 25 | 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 Olibie | d66799a | 2023-01-24 20:22:56 +0000 | [diff] [blame^] | 33 | ], |
| 34 | lint: { test: true } |
Chidera Olibie | d46c92f | 2023-02-08 19:01:15 +0000 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | android_test { |
| 38 | name: "NetHttpTests", |
| 39 | defaults: [ |
| 40 | "CronetTestJavaDefaults", |
| 41 | "mts-target-sdk-version-current", |
| 42 | ], |
Chidera Olibie | d46c92f | 2023-02-08 19:01:15 +0000 | [diff] [blame] | 43 | 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 | |