blob: 59e195d499b119b8231813bdb3fe6afe12a90569 [file] [log] [blame]
// 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-extensions-core_nodeps",
aars: ["window-extensions-core-release.aar"],
sdk_version: "current",
}
java_library {
name: "cts_window-extensions-core",
sdk_version: "current",
static_libs: [
"cts_window-extensions-core_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",
"cts_window-extensions",
"cts_window-extensions-core",
"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",
"platform-test-annotations",
"cts-wm-util",
"cts_window-sidecar",
"cts_window-extensions",
"cts_window-extensions-core",
],
libs: [
"android.test.base",
],
test_suites: [
"cts",
"vts",
"general-tests",
],
sdk_version: "test_current",
data: [
":CtsWindowManagerJetpackSecondUidApp",
":CtsWindowManagerJetpackSignedApp",
],
per_testcase_directory: true,
}