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 17java_test { 18 name: "flickerlib", 19 platform_apis: true, 20 srcs: ["src/**/*.java"], 21 static_libs: [ 22 "androidx.test.janktesthelper", 23 "cts-wm-util", 24 "platformprotosnano", 25 "layersprotosnano", 26 "truth-prebuilt", 27 "sysui-helper", 28 "launcher-helper-lib", 29 ], 30} 31 32java_library { 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 "app-helpers-core", 43 ], 44} 45 46java_library { 47 name: "flickerautomationhelperlib", 48 sdk_version: "test_current", 49 srcs: [ 50 "src/com/android/server/wm/flicker/helpers/AutomationUtils.java", 51 "src/com/android/server/wm/flicker/WindowUtils.java", 52 ], 53 static_libs: [ 54 "sysui-helper", 55 "launcher-helper-lib", 56 "compatibility-device-util-axt", 57 ], 58} 59