• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2018 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    // See: http://go/android-license-faq
19    // A large-scale-change added 'default_applicable_licenses' to import
20    // all of the 'license_kinds' from "frameworks_base_license"
21    // to get the below license kinds:
22    //   SPDX-license-identifier-Apache-2.0
23    default_applicable_licenses: ["frameworks_base_license"],
24}
25
26java_defaults {
27    name: "FlickerTestsDefault",
28    platform_apis: true,
29    certificate: "platform",
30    optimize: {
31        enabled: false,
32    },
33    test_suites: ["device-tests"],
34    libs: ["android.test.runner.stubs.system"],
35    static_libs: [
36        "androidx.test.ext.junit",
37        "flickertestapplib",
38        "flickerlib",
39        "flickerlib-helpers",
40        "flickerlib-trace_processor_shell",
41        "platform-test-annotations",
42        "wm-flicker-common-app-helpers",
43        "wm-shell-flicker-utils",
44    ],
45    data: [":FlickerTestApp"],
46}
47
48java_library {
49    name: "wm-flicker-common-assertions",
50    optimize: {
51        enabled: false,
52    },
53    srcs: [
54        "src/**/*Assertions.java",
55        "src/**/*Assertions.kt",
56    ],
57    static_libs: [
58        "flickerlib",
59        "flickerlib-helpers",
60        "truth",
61        "app-helpers-core",
62    ],
63}
64
65java_library {
66    name: "wm-flicker-window-extensions",
67    sdk_version: "current",
68    static_libs: [
69        "androidx.window.extensions_extensions-nodeps",
70    ],
71    installable: false,
72}
73
74java_library {
75    name: "wm-flicker-window-extensions-core",
76    sdk_version: "current",
77    static_libs: [
78        "androidx.window.extensions.core_core-nodeps",
79    ],
80    installable: false,
81}
82
83java_library {
84    name: "FlickerTestsBase",
85    defaults: ["FlickerTestsDefault"],
86    srcs: ["src/**/*"],
87}
88