You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.1 KiB

// Copyright (C) 2020 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_library_import {
name: "cts_window-extensions_nodeps",
aars: ["window-extensions-release.aar"],
sdk_version: "current",
}
java_library {
name: "cts_window-extensions",
sdk_version: "current",
static_libs: [
"cts_window-extensions_nodeps",
],
installable: false,
}
android_library_import {
name: "cts_window-sidecar_nodeps",
aars: ["window-sidecar-release.aar"],
sdk_version: "current",
}
java_library {
name: "cts_window-sidecar",
sdk_version: "current",
static_libs: [
"cts_window-sidecar_nodeps",
],
installable: false,
}
java_library {
name: "cts_window_jetpack_utils",
srcs: [
"src/android/server/wm/jetpack/utils/**/*.java"
],
static_libs: [
"compatibility-device-util-axt",
],
libs: [
"cts_window-extensions",
"cts_window-sidecar",
],
sdk_version: "test_current",
}
android_test {
name: "CtsWindowManagerJetpackTestCases",
defaults: ["cts_defaults"],
srcs: ["src/**/*.java"],
static_libs: [
"androidx.test.ext.junit",
"androidx.test.rules",
"compatibility-device-util-axt",
"cts-wm-util",
"platform-test-annotations",
],
libs: [
"android.test.base",
"cts_window-extensions",
"cts_window-sidecar",
],
test_suites: [
"cts",
"vts",
"general-tests",
],
sdk_version: "test_current",
}