| // Copyright (C) 2018 The Android Open Source Project |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| package { |
| default_applicable_licenses: ["Android-Apache-2.0"], |
| } |
| |
| filegroup { |
| name: "cts-wm-components", |
| srcs: ["**/Components.java"], |
| } |
| |
| filegroup { |
| name: "cts-wm-aspect-ratio-test-base", |
| srcs: ["src/android/server/wm/AspectRatioTestsBase.java"], |
| } |
| |
| filegroup { |
| name: "cts-wm-decor-inset-test-base", |
| srcs: ["src/android/server/wm/DecorInsetTestsBase.java"], |
| } |
| |
| filegroup { |
| name: "cts-wm-force-relayout-test-base", |
| srcs: ["src/android/server/wm/ForceRelayoutTestBase.java"], |
| } |
| |
| android_test { |
| name: "CtsWindowManagerDeviceTestCases", |
| defaults: ["cts_defaults"], |
| |
| srcs: [ |
| "src/**/*.java", |
| "alertwindowservice/src/**/*.java", |
| ":cts-wm-components", |
| ":CtsVerifierMockVrListenerServiceFiles", |
| ], |
| |
| resource_dirs: ["res"], |
| |
| asset_dirs: ["intent_tests"], |
| |
| libs: ["android.test.runner.stubs"], |
| |
| static_libs: [ |
| "compatibility-device-util-axt", |
| "androidx.test.ext.junit", |
| "androidx.test.rules", |
| "hamcrest-library", |
| "platform-test-annotations", |
| "cts-wm-util", |
| "CtsSurfaceValidatorLib", |
| "CtsMockInputMethodLib", |
| "metrics-helper-lib", |
| "truth-prebuilt", |
| "cts-wm-overlayapp-base", |
| "cts-wm-shared", |
| "platform-compat-test-rules", |
| ], |
| |
| test_suites: [ |
| "cts", |
| "general-tests", |
| "sts", |
| ], |
| |
| sdk_version: "test_current", |
| data: [ |
| ":CtsDragAndDropSourceApp", |
| ":CtsDragAndDropTargetApp", |
| ":CtsDeviceAlertWindowTestApp", |
| ":CtsAlertWindowService", |
| ":CtsDeviceServicesTestApp", |
| ":CtsDeviceServicesTestApp27", |
| ":CtsDeviceServicesTestApp30", |
| ":CtsDeviceServicesTestSecondApp", |
| ":CtsDeviceServicesTestThirdApp", |
| ":CtsDeviceDeprecatedSdkApp", |
| ":CtsDeviceDisplaySizeApp", |
| ":CtsDevicePrereleaseSdkApp", |
| ":CtsDeviceProfileableApp", |
| ":CtsDeviceTranslucentTestApp", |
| ":CtsDeviceTranslucentTestApp26", |
| ":CtsMockInputMethod", |
| ":CtsDeviceServicesTestShareUidAppA", |
| ":CtsDeviceServicesTestShareUidAppB", |
| ":CtsCrossProcessSurfaceControlViewHostTestService", |
| ":CtsWindowManagerJetpackSecondUidApp", |
| ":CtsBackLegacyApp", |
| ":CtsDragAndDropTargetAppSdk23", |
| ":CtsDeviceAlertWindowTestAppSdk25", |
| ], |
| per_testcase_directory: true, |
| } |