//
// 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_team: "trendy_team_windowing_animations_transitions",
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

////////////////////////////////////////////////////////////////////////////////
// Begin to cleanup after CL merges

filegroup {
    name: "FlickerTestsAppLaunchCommon-src",
    srcs: ["src/**/common/*"],
}

filegroup {
    name: "FlickerTestsAppLaunch1-src",
    srcs: ["src/**/OpenAppFrom*"],
}

java_library {
    name: "FlickerTestsAppLaunchCommon",
    defaults: ["FlickerTestsDefault"],
    srcs: [":FlickerTestsAppLaunchCommon-src"],
    static_libs: ["FlickerTestsBase"],
}

android_test {
    name: "FlickerTestsAppLaunch1",
    defaults: ["FlickerTestsDefault"],
    manifest: "AndroidManifest.xml",
    test_config_template: "AndroidTestTemplate.xml",
    srcs: [":FlickerTestsAppLaunch1-src"],
    static_libs: [
        "FlickerTestsBase",
        "FlickerTestsAppLaunchCommon",
    ],
    data: ["trace_config/*"],
}

android_test {
    name: "FlickerTestsAppLaunch2",
    defaults: ["FlickerTestsDefault"],
    manifest: "AndroidManifest.xml",
    test_config_template: "AndroidTestTemplate.xml",
    srcs: ["src/**/*"],
    exclude_srcs: [
        ":FlickerTestsAppLaunchCommon-src",
        ":FlickerTestsAppLaunch1-src",
    ],
    static_libs: [
        "FlickerTestsBase",
        "FlickerTestsAppLaunchCommon",
    ],
    data: ["trace_config/*"],
}

// End to cleanup after CL merges
////////////////////////////////////////////////////////////////////////////////

android_test {
    name: "FlickerTestsAppLaunch",
    defaults: ["FlickerTestsDefault"],
    manifest: "AndroidManifest.xml",
    test_config_template: "AndroidTestTemplate.xml",
    srcs: ["src/**/*"],
    static_libs: [
        "FlickerTestsBase",
        "FlickerTestsAppLaunchCommon",
    ],
    data: ["trace_config/*"],
}

////////////////////////////////////////////////////////////////////////////////
// Begin breakdowns for FlickerTestsAppLaunch module

test_module_config {
    name: "FlickerTestsAppLaunch-CatchAll",
    base: "FlickerTestsAppLaunch",
    exclude_filters: [
        "com.android.server.wm.flicker.launch.TaskTransitionTest",
        "com.android.server.wm.flicker.launch.ActivityTransitionTest",
        "com.android.server.wm.flicker.launch.OpenAppFromIconColdTest",
        "com.android.server.wm.flicker.launch.OpenAppFromIntentColdAfterCameraTest",
        "com.android.server.wm.flicker.launch.OpenAppFromIntentColdTest",
        "com.android.server.wm.flicker.launch.OpenAppFromIntentWarmTest",
        "com.android.server.wm.flicker.launch.OpenAppFromLockscreenViaIntentTest",
        "com.android.server.wm.flicker.launch.OpenAppFromOverviewTest",
        "com.android.server.wm.flicker.launch.OpenCameraFromHomeOnDoubleClickPowerButtonTest",
        "com.android.server.wm.flicker.launch.OpenTransferSplashscreenAppFromLauncherTransition",
        "com.android.server.wm.flicker.launch.OverrideTaskTransitionTest",
        "com.android.server.wm.flicker.launch.TaskTransitionTest",
    ],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-ActivityTransitionTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.ActivityTransitionTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenAppFromIconColdTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIconColdTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenAppFromIntentColdAfterCameraTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIntentColdAfterCameraTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenAppFromIntentColdTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIntentColdTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenAppFromIntentWarmTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromIntentWarmTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenAppFromLockscreenViaIntentTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromLockscreenViaIntentTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenAppFromOverviewTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenAppFromOverviewTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenCameraFromHomeOnDoubleClickPowerButtonTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenCameraFromHomeOnDoubleClickPowerButtonTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OpenTransferSplashscreenAppFromLauncherTransition",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OpenTransferSplashscreenAppFromLauncherTransition"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-OverrideTaskTransitionTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.OverrideTaskTransitionTest"],
    test_suites: ["device-tests"],
}

test_module_config {
    name: "FlickerTestsAppLaunch-TaskTransitionTest",
    base: "FlickerTestsAppLaunch",
    include_filters: ["com.android.server.wm.flicker.launch.TaskTransitionTest"],
    test_suites: ["device-tests"],
}

// End breakdowns for FlickerTestsAppLaunch module
////////////////////////////////////////////////////////////////////////////////
