1// Copyright (C) 2018 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19java_library { 20 name: "platform-test-rules", 21 static_libs: [ 22 "androidx.benchmark_benchmark-common", 23 "androidx.benchmark_benchmark-macro", 24 "androidx.benchmark_benchmark-macro-junit4", 25 "androidx.test.runner", 26 "androidx.test.uiautomator_uiautomator", 27 "app-helpers-handheld-interfaces", 28 "collector-device-lib", 29 "collector-device-lib-platform", 30 "guava", 31 "memory-helper", 32 "notes-role-test-helper", 33 "package-helper", 34 "launcher-aosp-tapl", 35 "flickerlib", 36 "statsd-helper", 37 "health-testing-utils", 38 "ub-uiautomator", 39 "uiautomator-helpers", 40 "uinput-device-test-helper", 41 "user-helper", 42 ], 43 srcs: [ 44 "src/**/*.java", 45 "src/**/*.kt", 46 ], 47} 48 49java_library { 50 name: "platform-test-core-rules", 51 sdk_version: "test_current", 52 static_libs: [ 53 "androidx.benchmark_benchmark-common", 54 "androidx.benchmark_benchmark-macro", 55 "androidx.benchmark_benchmark-macro-junit4", 56 "androidx.test.runner", 57 "androidx.test.uiautomator_uiautomator", 58 "app-helpers-handheld-interfaces", 59 "collector-device-lib", 60 "collector-device-lib-platform", 61 "guava", 62 "memory-helper", 63 "package-helper", 64 "statsd-helper", 65 "launcher-aosp-tapl", 66 "health-testing-utils", 67 "ub-uiautomator", 68 ], 69 srcs: ["src/**/*.java"], 70 exclude_srcs: [ 71 "src/android/platform/test/rule/flicker/**/*.java", 72 ], 73} 74