blob: b10006f75a580b5e2cf5645afdafcd35573c862f [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 {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "frameworks_base_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["frameworks_base_license"],
24}
25
Nataniel Borges01e9ae12023-11-07 11:43:52 +000026filegroup {
27 name: "FlickerTestsImeCommon-src",
28 srcs: ["src/**/common/*"],
29}
30
31filegroup {
32 name: "FlickerTestsIme1-src",
33 srcs: ["src/**/Close*"],
34}
35
Nataniel Borges84828f92023-11-03 14:39:55 +000036android_test {
37 name: "FlickerTestsIme",
38 defaults: ["FlickerTestsDefault"],
39 manifest: "AndroidManifest.xml",
40 test_config_template: "AndroidTestTemplate.xml",
Julien Desprez241a1ef2024-05-29 22:00:33 +000041 test_suites: [
42 "device-tests",
43 "device-platinum-tests",
44 ],
Nataniel Borges84828f92023-11-03 14:39:55 +000045 srcs: ["src/**/*"],
46 static_libs: ["FlickerTestsBase"],
Nataniel Borges07979bd2023-12-04 21:47:00 +000047 data: ["trace_config/*"],
Nataniel Borges84828f92023-11-03 14:39:55 +000048}
Nataniel Borges01e9ae12023-11-07 11:43:52 +000049
50java_library {
51 name: "FlickerTestsImeCommon",
52 defaults: ["FlickerTestsDefault"],
53 srcs: [":FlickerTestsImeCommon-src"],
54 static_libs: ["FlickerTestsBase"],
55}
56
57android_test {
58 name: "FlickerTestsIme1",
59 defaults: ["FlickerTestsDefault"],
60 manifest: "AndroidManifest.xml",
61 test_config_template: "AndroidTestTemplate.xml",
Julien Desprez2c0b9512024-05-21 17:57:32 +000062 test_suites: [
63 "device-tests",
64 "device-platinum-tests",
65 ],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000066 srcs: [":FlickerTestsIme1-src"],
67 static_libs: [
68 "FlickerTestsBase",
69 "FlickerTestsImeCommon",
70 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +000071 data: ["trace_config/*"],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000072}
73
74android_test {
75 name: "FlickerTestsIme2",
76 defaults: ["FlickerTestsDefault"],
77 manifest: "AndroidManifest.xml",
78 test_config_template: "AndroidTestTemplate.xml",
79 srcs: ["src/**/*"],
80 exclude_srcs: [
81 ":FlickerTestsIme1-src",
82 ":FlickerTestsImeCommon-src",
83 ],
84 static_libs: [
85 "FlickerTestsBase",
86 "FlickerTestsImeCommon",
87 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +000088 data: ["trace_config/*"],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000089}