blob: e0f0188ee61824cd55cc5e137d7af35ff0aab507 [file] [log] [blame]
Sasha Smundak89414e12019-03-10 19:48:23 -07001//
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
17java_test {
18 name: "flickerlib",
19 platform_apis: true,
20 srcs: ["src/**/*.java"],
21 static_libs: [
22 "androidx.test.janktesthelper",
Tadashi G. Takaoka9f376952019-04-05 18:46:11 +090023 "cts-wm-util",
Sasha Smundak89414e12019-03-10 19:48:23 -070024 "platformprotosnano",
25 "layersprotosnano",
26 "truth-prebuilt",
27 "sysui-helper",
28 "launcher-helper-lib",
29 ],
30}
31
32java_library {
Winson Chungbe2bdb02019-08-30 16:49:13 -070033 name: "flickerlib_without_helpers",
34 platform_apis: true,
35 srcs: ["src/**/*.java"],
36 exclude_srcs: ["src/**/helpers/*.java"],
37 static_libs: [
38 "cts-wm-util",
39 "platformprotosnano",
40 "layersprotosnano",
41 "truth-prebuilt"
42 ],
43}
44
45java_library {
Sasha Smundak89414e12019-03-10 19:48:23 -070046 name: "flickerautomationhelperlib",
47 sdk_version: "test_current",
48 srcs: [
Winson Chungbe2bdb02019-08-30 16:49:13 -070049 "src/com/android/server/wm/flicker/helpers/AutomationUtils.java",
Sasha Smundak89414e12019-03-10 19:48:23 -070050 "src/com/android/server/wm/flicker/WindowUtils.java",
51 ],
52 static_libs: [
53 "sysui-helper",
54 "launcher-helper-lib",
55 "compatibility-device-util-axt",
56 ],
57}