blob: e09fbf6adc02b263e864c5cd2ec7fad1c06d456a [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
Nataniel Borges8b0ab992024-05-27 16:26:29 +000023 default_team: "trendy_team_windowing_sdk",
Nataniel Borges84828f92023-11-03 14:39:55 +000024 default_applicable_licenses: ["frameworks_base_license"],
25}
26
Nataniel Borges8b0ab992024-05-27 16:26:29 +000027filegroup {
28 name: "FlickerTestsOtherCommon-src",
29 srcs: ["src/**/ActivityEmbeddingTestBase.kt"],
30}
31
32filegroup {
33 name: "FlickerTestsOtherOpen-src",
34 srcs: ["src/**/open/*"],
35}
36
37filegroup {
38 name: "FlickerTestsOtherRotation-src",
39 srcs: ["src/**/rotation/*"],
40}
41
42java_library {
43 name: "FlickerTestsOtherCommon",
44 defaults: ["FlickerTestsDefault"],
45 srcs: [":FlickerTestsOtherCommon-src"],
46 static_libs: ["FlickerTestsBase"],
47}
48
49java_defaults {
50 name: "FlickerTestsOtherDefaults",
Nataniel Borges84828f92023-11-03 14:39:55 +000051 defaults: ["FlickerTestsDefault"],
52 manifest: "AndroidManifest.xml",
53 package_name: "com.android.server.wm.flicker",
54 instrumentation_target_package: "com.android.server.wm.flicker",
Nataniel Borges07979bd2023-12-04 21:47:00 +000055 test_config_template: "AndroidTestTemplate.xml",
Nataniel Borges8b0ab992024-05-27 16:26:29 +000056 static_libs: [
57 "FlickerTestsBase",
58 "FlickerTestsOtherCommon",
59 ],
Nataniel Borges07979bd2023-12-04 21:47:00 +000060 data: ["trace_config/*"],
Nataniel Borges84828f92023-11-03 14:39:55 +000061}
Nataniel Borges8b0ab992024-05-27 16:26:29 +000062
63android_test {
64 name: "FlickerTestsOtherOpen",
65 defaults: ["FlickerTestsOtherDefaults"],
66 srcs: [":FlickerTestsOtherOpen-src"],
67}
68
69android_test {
70 name: "FlickerTestsOtherRotation",
71 defaults: ["FlickerTestsOtherDefaults"],
72 srcs: [":FlickerTestsOtherRotation-src"],
73}
74
75android_test {
76 name: "FlickerTestsOther",
77 defaults: ["FlickerTestsOtherDefaults"],
78 srcs: ["src/**/*"],
79 exclude_srcs: [
80 ":FlickerTestsOtherOpen-src",
81 ":FlickerTestsOtherRotation-src",
82 ":FlickerTestsOtherCommon-src",
83 ],
84}