1// Copyright (C) 2019 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 19android_test { 20 name: "CtsWindowManagerBackgroundActivityTestCases", 21 defaults: ["cts_defaults"], 22 23 // TODO(b/129909356): Consolidate this to CtsWindowManagerDeviceTestCases.apk 24 25 srcs: ["src/**/*.java"], 26 27 sdk_version: "test_current", 28 29 static_libs: [ 30 "androidx.appcompat_appcompat", 31 "androidx.test.core", 32 "androidx.test.rules", 33 "androidx.test.uiautomator_uiautomator", 34 "cts-wm-util", 35 "cts-wm-app-base", 36 "cts-core-test-runner-axt", 37 "cts-background-activity-common", 38 "cts_window-sidecar", 39 "cts_window-extensions", 40 "cts_window_jetpack_utils", 41 ], 42 43 test_suites: [ 44 "cts", 45 "general-tests", 46 ], 47 data: [ 48 ":CtsBackgroundActivityAppA", 49 ":CtsBackgroundActivityAppA33", 50 ":CtsBackgroundActivityAppB", 51 ":CtsBackgroundActivityAppB33", 52 ":CtsBackgroundActivityAppC", 53 ":CtsBackgroundActivityAppC33", 54 ], 55 per_testcase_directory: true, 56} 57