markchien | 88f0428 | 2020-06-20 17:37:22 +0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2020 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 | |
Tyler Wear | 90e4063 | 2020-03-13 11:38:38 -0700 | [diff] [blame^] | 17 | java_defaults { |
| 18 | name: "TetheringPrivilegedTestsJniDefaults", |
| 19 | jni_libs: [ |
| 20 | "libdexmakerjvmtiagent", |
| 21 | "libstaticjvmtiagent", |
| 22 | "libtetherutilsjni", |
| 23 | ], |
| 24 | jni_uses_sdk_apis: true, |
| 25 | visibility: ["//visibility:private"], |
| 26 | } |
| 27 | |
markchien | 88f0428 | 2020-06-20 17:37:22 +0800 | [diff] [blame] | 28 | android_test { |
| 29 | name: "TetheringPrivilegedTests", |
Tyler Wear | 90e4063 | 2020-03-13 11:38:38 -0700 | [diff] [blame^] | 30 | defaults: [ |
| 31 | "TetheringPrivilegedTestsJniDefaults", |
| 32 | ], |
markchien | 88f0428 | 2020-06-20 17:37:22 +0800 | [diff] [blame] | 33 | srcs: [ |
| 34 | "src/**/*.java", |
| 35 | "src/**/*.kt", |
| 36 | ], |
| 37 | certificate: "networkstack", |
| 38 | platform_apis: true, |
| 39 | test_suites: [ |
Tyler Wear | 90e4063 | 2020-03-13 11:38:38 -0700 | [diff] [blame^] | 40 | "device-tests", |
markchien | 88f0428 | 2020-06-20 17:37:22 +0800 | [diff] [blame] | 41 | "mts", |
| 42 | ], |
Tyler Wear | 90e4063 | 2020-03-13 11:38:38 -0700 | [diff] [blame^] | 43 | static_libs: [ |
| 44 | "androidx.test.rules", |
| 45 | "net-tests-utils", |
| 46 | "TetheringApiCurrentLib", |
| 47 | ], |
markchien | 88f0428 | 2020-06-20 17:37:22 +0800 | [diff] [blame] | 48 | compile_multilib: "both", |
| 49 | } |