blob: 78d93e1cb32a14764c8c52193df58b42afa81350 [file] [log] [blame]
Nataniel Borges84828f92023-11-03 14:39:55 +00001//
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 {
Ronish Kaliaf8913972024-02-14 14:30:14 +000018 default_team: "trendy_team_input_method_framework",
Nataniel Borges84828f92023-11-03 14:39:55 +000019 // 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
Nataniel Borges01e9ae12023-11-07 11:43:52 +000027filegroup {
28 name: "FlickerTestsImeCommon-src",
29 srcs: ["src/**/common/*"],
30}
31
32filegroup {
33 name: "FlickerTestsIme1-src",
34 srcs: ["src/**/Close*"],
35}
36
Nataniel Borges038c57c2024-07-11 10:26:08 +000037filegroup {
38 name: "FlickerTestsIme2-src",
39 srcs: ["src/**/ShowImeOnAppStart*"],
40}
41
Nataniel Borges84828f92023-11-03 14:39:55 +000042android_test {
43 name: "FlickerTestsIme",
44 defaults: ["FlickerTestsDefault"],
45 manifest: "AndroidManifest.xml",
46 test_config_template: "AndroidTestTemplate.xml",
Julien Desprez241a1ef2024-05-29 22:00:33 +000047 test_suites: [
48 "device-tests",
49 "device-platinum-tests",
50 ],
Nataniel Borges84828f92023-11-03 14:39:55 +000051 srcs: ["src/**/*"],
52 static_libs: ["FlickerTestsBase"],
Nataniel Borges07979bd2023-12-04 21:47:00 +000053 data: ["trace_config/*"],
Nataniel Borges84828f92023-11-03 14:39:55 +000054}
Nataniel Borges01e9ae12023-11-07 11:43:52 +000055
56java_library {
57 name: "FlickerTestsImeCommon",
58 defaults: ["FlickerTestsDefault"],
59 srcs: [":FlickerTestsImeCommon-src"],
60 static_libs: ["FlickerTestsBase"],
61}
62
63android_test {
64 name: "FlickerTestsIme1",
65 defaults: ["FlickerTestsDefault"],
66 manifest: "AndroidManifest.xml",
67 test_config_template: "AndroidTestTemplate.xml",
Julien Desprez2c0b9512024-05-21 17:57:32 +000068 test_suites: [
69 "device-tests",
70 "device-platinum-tests",
71 ],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000072 srcs: [":FlickerTestsIme1-src"],
73 static_libs: [
74 "FlickerTestsBase",
75 "FlickerTestsImeCommon",
76 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +000077 data: ["trace_config/*"],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000078}
79
80android_test {
81 name: "FlickerTestsIme2",
82 defaults: ["FlickerTestsDefault"],
83 manifest: "AndroidManifest.xml",
84 test_config_template: "AndroidTestTemplate.xml",
Nataniel Borges038c57c2024-07-11 10:26:08 +000085 srcs: [":FlickerTestsIme2-src"],
86 static_libs: [
87 "FlickerTestsBase",
88 "FlickerTestsImeCommon",
89 ],
90 data: ["trace_config/*"],
91}
92
93android_test {
94 name: "FlickerTestsIme3",
95 defaults: ["FlickerTestsDefault"],
96 manifest: "AndroidManifest.xml",
97 test_config_template: "AndroidTestTemplate.xml",
Nataniel Borges01e9ae12023-11-07 11:43:52 +000098 srcs: ["src/**/*"],
99 exclude_srcs: [
100 ":FlickerTestsIme1-src",
Nataniel Borges038c57c2024-07-11 10:26:08 +0000101 ":FlickerTestsIme2-src",
Nataniel Borges01e9ae12023-11-07 11:43:52 +0000102 ":FlickerTestsImeCommon-src",
103 ],
104 static_libs: [
105 "FlickerTestsBase",
106 "FlickerTestsImeCommon",
107 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +0000108 data: ["trace_config/*"],
Nataniel Borges01e9ae12023-11-07 11:43:52 +0000109}