1// Copyright (C) 2020 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 19android_library_import { 20 name: "cts_window-extensions_nodeps", 21 aars: ["window-extensions-release.aar"], 22 sdk_version: "current", 23} 24 25java_library { 26 name: "cts_window-extensions", 27 sdk_version: "current", 28 static_libs: [ 29 "cts_window-extensions_nodeps", 30 ], 31 installable: false, 32} 33 34android_library_import { 35 name: "cts_window-sidecar_nodeps", 36 aars: ["window-sidecar-release.aar"], 37 sdk_version: "current", 38} 39 40java_library { 41 name: "cts_window-sidecar", 42 sdk_version: "current", 43 static_libs: [ 44 "cts_window-sidecar_nodeps", 45 ], 46 installable: false, 47} 48 49java_library { 50 name: "cts_window_jetpack_utils", 51 srcs: [ 52 "src/android/server/wm/jetpack/utils/**/*.java" 53 ], 54 static_libs: [ 55 "compatibility-device-util-axt", 56 ], 57 libs: [ 58 "cts_window-extensions", 59 "cts_window-sidecar", 60 ], 61 sdk_version: "test_current", 62} 63 64android_test { 65 name: "CtsWindowManagerJetpackTestCases", 66 defaults: ["cts_defaults"], 67 srcs: ["src/**/*.java"], 68 static_libs: [ 69 "androidx.test.ext.junit", 70 "androidx.test.rules", 71 "compatibility-device-util-axt", 72 "cts-wm-util", 73 "platform-test-annotations", 74 ], 75 libs: [ 76 "android.test.base", 77 "cts_window-extensions", 78 "cts_window-sidecar", 79 ], 80 test_suites: [ 81 "cts", 82 "vts", 83 "general-tests", 84 ], 85 sdk_version: "test_current", 86} 87