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_input_method_framework",
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
27filegroup {
28    name: "FlickerTestsImeCommon-src",
29    srcs: ["src/**/common/*"],
30}
31
32filegroup {
33    name: "FlickerTestsIme1-src",
34    srcs: ["src/**/Close*"],
35}
36
37android_test {
38    name: "FlickerTestsIme",
39    defaults: ["FlickerTestsDefault"],
40    manifest: "AndroidManifest.xml",
41    test_config_template: "AndroidTestTemplate.xml",
42    test_suites: [
43        "device-tests",
44        "device-platinum-tests",
45    ],
46    srcs: ["src/**/*"],
47    static_libs: ["FlickerTestsBase"],
48    data: ["trace_config/*"],
49}
50
51java_library {
52    name: "FlickerTestsImeCommon",
53    defaults: ["FlickerTestsDefault"],
54    srcs: [":FlickerTestsImeCommon-src"],
55    static_libs: ["FlickerTestsBase"],
56}
57
58android_test {
59    name: "FlickerTestsIme1",
60    defaults: ["FlickerTestsDefault"],
61    manifest: "AndroidManifest.xml",
62    test_config_template: "AndroidTestTemplate.xml",
63    test_suites: [
64        "device-tests",
65        "device-platinum-tests",
66    ],
67    srcs: [":FlickerTestsIme1-src"],
68    static_libs: [
69        "FlickerTestsBase",
70        "FlickerTestsImeCommon",
71    ],
72    data: ["trace_config/*"],
73}
74
75android_test {
76    name: "FlickerTestsIme2",
77    defaults: ["FlickerTestsDefault"],
78    manifest: "AndroidManifest.xml",
79    test_config_template: "AndroidTestTemplate.xml",
80    srcs: ["src/**/*"],
81    exclude_srcs: [
82        ":FlickerTestsIme1-src",
83        ":FlickerTestsImeCommon-src",
84    ],
85    static_libs: [
86        "FlickerTestsBase",
87        "FlickerTestsImeCommon",
88    ],
89    data: ["trace_config/*"],
90}
91