blob: eee0bf9dbe5dcc63943288610351af478be5eaf5 [file]
// Copyright (C) 2012 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"],
}
filegroup {
name: "cts-wm-components-util",
srcs: [
"src/android/server/wm/ActivityLauncher.java",
"src/android/server/wm/CommandSession.java",
"src/android/server/wm/ComponentNameUtils.java",
"src/android/server/wm/CountSpec.kt",
"src/android/server/wm/NestedShellPermission.java",
"src/android/server/wm/TestJournalProvider.java",
"src/android/server/wm/TestLogClient.java",
],
visibility: ["//cts/tests/framework/base/windowmanager/test-apps/app_base"],
}
filegroup {
name: "cts-wm-ignore-orientation-request-session",
srcs: ["src/android/server/wm/IgnoreOrientationRequestSession.java"],
}
java_test_helper_library {
name: "cts-wm-util",
srcs: [
"src/**/*.java",
"src/**/*.kt",
"src/**/*.aidl",
],
exclude_srcs: [":cts-wm-components-util"],
static_libs: [
"CtsMockInputMethodLib",
"android.app.flags-aconfig-java",
"android.tracing.flags-aconfig-java",
"androidx.core_core-ktx",
"androidx.test.rules",
"com.android.window.flags.window-aconfig-java",
"compatibility-device-util-axt",
"cts-wm-components-lib",
"framework-annotations-lib",
"hamcrest-library",
"perfetto_winscope-lite",
"platformprotosnano",
],
sdk_version: "test_current",
}
android_test_helper_app {
name: "CtsWindowManagerExternalApp",
srcs: ["src/android/server/wm/ExternalActivity.java"],
}