blob: 358c4902a502e802768bdf6f65e81d63fb58dd58 [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",
41 srcs: ["src/**/*"],
42 static_libs: ["FlickerTestsBase"],
Nataniel Borges07979bd2023-12-04 21:47:00 +000043 data: ["trace_config/*"],
Nataniel Borges84828f92023-11-03 14:39:55 +000044}
Nataniel Borges01e9ae12023-11-07 11:43:52 +000045
46java_library {
47 name: "FlickerTestsImeCommon",
48 defaults: ["FlickerTestsDefault"],
49 srcs: [":FlickerTestsImeCommon-src"],
50 static_libs: ["FlickerTestsBase"],
51}
52
53android_test {
54 name: "FlickerTestsIme1",
55 defaults: ["FlickerTestsDefault"],
56 manifest: "AndroidManifest.xml",
57 test_config_template: "AndroidTestTemplate.xml",
Julien Desprez2c0b9512024-05-21 17:57:32 +000058 test_suites: [
59 "device-tests",
60 "device-platinum-tests",
61 ],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000062 srcs: [":FlickerTestsIme1-src"],
63 static_libs: [
64 "FlickerTestsBase",
65 "FlickerTestsImeCommon",
66 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +000067 data: ["trace_config/*"],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000068}
69
70android_test {
71 name: "FlickerTestsIme2",
72 defaults: ["FlickerTestsDefault"],
73 manifest: "AndroidManifest.xml",
74 test_config_template: "AndroidTestTemplate.xml",
75 srcs: ["src/**/*"],
76 exclude_srcs: [
77 ":FlickerTestsIme1-src",
78 ":FlickerTestsImeCommon-src",
79 ],
80 static_libs: [
81 "FlickerTestsBase",
82 "FlickerTestsImeCommon",
83 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +000084 data: ["trace_config/*"],
Nataniel Borges01e9ae12023-11-07 11:43:52 +000085}