1// Copyright (C) 2018 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 19filegroup { 20 name: "cts-wm-components", 21 srcs: ["**/Components.java"], 22} 23 24filegroup { 25 name: "cts-wm-aspect-ratio-test-base", 26 srcs: ["src/android/server/wm/AspectRatioTestsBase.java"], 27} 28 29filegroup { 30 name: "cts-wm-decor-inset-test-base", 31 srcs: ["src/android/server/wm/DecorInsetTestsBase.java"], 32} 33 34filegroup { 35 name: "cts-wm-force-relayout-test-base", 36 srcs: ["src/android/server/wm/ForceRelayoutTestBase.java"], 37} 38 39android_test { 40 name: "CtsWindowManagerDeviceTestCases", 41 defaults: ["cts_defaults"], 42 43 srcs: [ 44 "src/**/*.java", 45 "alertwindowservice/src/**/*.java", 46 ":cts-wm-components", 47 ":CtsVerifierMockVrListenerServiceFiles", 48 ], 49 50 resource_dirs: ["res"], 51 52 asset_dirs: ["intent_tests"], 53 54 libs: ["android.test.runner.stubs"], 55 56 static_libs: [ 57 "compatibility-device-util-axt", 58 "androidx.test.ext.junit", 59 "androidx.test.rules", 60 "hamcrest-library", 61 "platform-test-annotations", 62 "cts-wm-util", 63 "CtsSurfaceValidatorLib", 64 "CtsMockInputMethodLib", 65 "metrics-helper-lib", 66 "truth-prebuilt", 67 "cts-wm-overlayapp-base", 68 "cts-wm-shared", 69 "platform-compat-test-rules", 70 ], 71 72 test_suites: [ 73 "cts", 74 "general-tests", 75 "sts", 76 ], 77 78 sdk_version: "test_current", 79} 80