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_defaults { 20 name: "compatibility-device-util-axt-default", 21 sdk_version: "test_current", 22 min_sdk_version: "21", 23 dxflags: ["--multi-dex"], 24 25 srcs: [ 26 "src/**/*.java", 27 "src/**/*.kt", 28 "src/**/*.aidl", 29 ], 30 31 static_libs: [ 32 "compatibility-common-util-devicesidelib", 33 "androidx.test.rules", 34 "androidx.test.ext.junit", 35 "ub-uiautomator", 36 "androidx.annotation_annotation", 37 "androidx.test.uiautomator_uiautomator", 38 "truth-prebuilt", 39 "modules-utils-build_system", 40 ], 41 42 libs: [ 43 "android.test.runner.stubs", 44 "android.test.base.stubs", 45 ], 46 47 jarjar_rules: "protobuf-jarjar-rules.txt", 48} 49 50java_library_static { 51 name: "compatibility-device-util-axt", 52 defaults: ["compatibility-device-util-axt-default"], 53 static_libs: [ 54 "mockito-target-minus-junit4", 55 ], 56} 57 58// This target can be used with ExtendedMockito 59java_library { 60 name: "compatibility-device-util-axt-minus-dexmaker", 61 defaults: ["compatibility-device-util-axt-default"], 62 static_libs: [ 63 "mockito", 64 ], 65} 66 67filegroup { 68 name: "compatibility-device-util-nodeps", 69 srcs: [ 70 "src/com/android/compatibility/common/util/IBinderParcelable.java", 71 ], 72} 73