xref: /aosp_15_r20/frameworks/base/tests/FlickerTests/AppClose/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1//
2// Copyright (C) 2018 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
17package {
18    default_team: "trendy_team_windowing_animations_transitions",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "frameworks_base_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["frameworks_base_license"],
25}
26
27android_test {
28    name: "FlickerTestsAppClose",
29    defaults: ["FlickerTestsDefault"],
30    manifest: "AndroidManifest.xml",
31    test_config_template: "AndroidTestTemplate.xml",
32    srcs: ["src/**/*"],
33    static_libs: ["FlickerTestsBase"],
34    data: ["trace_config/*"],
35}
36
37////////////////////////////////////////////////////////////////////////////////
38// Begin breakdowns for FlickerTestsAppClose module
39
40test_module_config {
41    name: "FlickerTestsAppClose-CatchAll",
42    base: "FlickerTestsAppClose",
43    exclude_filters: [
44        "com.android.server.wm.flicker.close.CloseAppBackButtonTest",
45        "com.android.server.wm.flicker.close.CloseAppHomeButtonTest",
46        "com.android.server.wm.flicker.close.",
47    ],
48    test_suites: ["device-tests"],
49}
50
51test_module_config {
52    name: "FlickerTestsAppClose-CloseAppBackButtonTest",
53    base: "FlickerTestsAppClose",
54    include_filters: ["com.android.server.wm.flicker.close.CloseAppBackButtonTest"],
55    test_suites: ["device-tests"],
56}
57
58test_module_config {
59    name: "FlickerTestsAppClose-CloseAppHomeButtonTest",
60    base: "FlickerTestsAppClose",
61    include_filters: ["com.android.server.wm.flicker.close.CloseAppHomeButtonTest"],
62    test_suites: ["device-tests"],
63}
64
65// End breakdowns for FlickerTestsAppClose module
66////////////////////////////////////////////////////////////////////////////////
67