//
// 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_input_method_framework",
    // 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"],
}

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

filegroup {
    name: "FlickerTestsIme1-src",
    srcs: ["src/**/Close*"],
}

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

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

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

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