Sasha Smundak | 89414e1 | 2019-03-10 19:48:23 -0700 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | java_test { |
| 18 | name: "flickerlib", |
| 19 | platform_apis: true, |
| 20 | srcs: ["src/**/*.java"], |
| 21 | static_libs: [ |
| 22 | "androidx.test.janktesthelper", |
Tadashi G. Takaoka | 9f37695 | 2019-04-05 18:46:11 +0900 | [diff] [blame] | 23 | "cts-wm-util", |
Sasha Smundak | 89414e1 | 2019-03-10 19:48:23 -0700 | [diff] [blame] | 24 | "platformprotosnano", |
| 25 | "layersprotosnano", |
| 26 | "truth-prebuilt", |
| 27 | "sysui-helper", |
| 28 | "launcher-helper-lib", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | java_library { |
Winson Chung | be2bdb0 | 2019-08-30 16:49:13 -0700 | [diff] [blame] | 33 | 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 | |
| 45 | java_library { |
Sasha Smundak | 89414e1 | 2019-03-10 19:48:23 -0700 | [diff] [blame] | 46 | name: "flickerautomationhelperlib", |
| 47 | sdk_version: "test_current", |
| 48 | srcs: [ |
Winson Chung | be2bdb0 | 2019-08-30 16:49:13 -0700 | [diff] [blame] | 49 | "src/com/android/server/wm/flicker/helpers/AutomationUtils.java", |
Sasha Smundak | 89414e1 | 2019-03-10 19:48:23 -0700 | [diff] [blame] | 50 | "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 | } |