blob: c6dbd9b25e7f8d5a262ca69381178a0f468e59ed [file] [log] [blame]
Liran Binyaminb4f57f82024-05-23 13:34:30 -04001// Copyright (C) 2024 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 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_base_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_base_license"],
22 default_team: "trendy_team_multitasking_windowing",
23}
24
25android_test {
26 name: "WMShellMultivalentScreenshotTestsOnDevice",
27 srcs: [
28 "src/**/*.kt",
29 ],
30 static_libs: [
31 "WindowManager-Shell",
32 "junit",
33 "androidx.test.runner",
34 "androidx.test.rules",
35 "androidx.test.ext.junit",
36 "truth",
37 "platform-parametric-runner-lib",
38 "platform-screenshot-diff-core",
39 ],
40 libs: [
41 "android.test.base",
42 "android.test.runner",
43 ],
44 jni_libs: [
45 "libdexmakerjvmtiagent",
46 "libstaticjvmtiagent",
47 ],
48 kotlincflags: ["-Xjvm-default=all"],
49 optimize: {
50 enabled: false,
51 },
52 test_suites: ["device-tests"],
53 platform_apis: true,
54 certificate: "platform",
55 aaptflags: [
56 "--extra-packages",
57 "com.android.wm.shell",
58 ],
59 manifest: "AndroidManifest.xml",
60 asset_dirs: ["goldens/onDevice"],
61}