1// Copyright (C) 2024 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 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19// java instrumentation tests 20 21android_test { 22 name: "device_android_test_non_starting", 23 srcs: ["src/**/DeviceAndroidTestNonStarting.java"], 24 sdk_version: "current", 25 min_sdk_version: "21", 26 static_libs: ["androidx.test.runner"], 27 certificate: "platform", 28 test_suites: ["device-tests"], 29 test_options: { 30 unit_test: false, 31 }, 32} 33 34android_test { 35 name: "device_android_test", 36 srcs: ["src/**/DeviceAndroidTest.java"], 37 sdk_version: "current", 38 min_sdk_version: "21", 39 static_libs: ["androidx.test.runner"], 40 certificate: "platform", 41 test_suites: ["device-tests"], 42 test_options: { 43 unit_test: false, 44 }, 45} 46