xref: /aosp_15_r20/frameworks/base/tests/FlickerTests/test-apps/flickerapp/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1// Copyright (C) 2018 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_windowing_tools",
23}
24
25android_test {
26    name: "FlickerTestApp",
27    srcs: ["**/*.java"],
28    resource_dirs: [
29        "res",
30    ],
31    sdk_version: "current",
32    test_suites: ["device-tests"],
33    static_libs: [
34        "androidx.annotation_annotation",
35        "androidx.appcompat_appcompat",
36        "androidx-constraintlayout_constraintlayout",
37        "androidx.core_core",
38        "androidx.fragment_fragment",
39        "androidx.recyclerview_recyclerview",
40        "androidx.test.ext.junit",
41        "androidx.navigation_navigation-common-ktx",
42        "androidx.navigation_navigation-fragment-ktx",
43        "androidx.navigation_navigation-runtime-ktx",
44        "androidx.navigation_navigation-ui-ktx",
45        "kotlin-stdlib",
46        "kotlinx-coroutines-android",
47        "wm-flicker-common-app-helpers",
48        "wm-flicker-common-assertions",
49        "wm-flicker-window-extensions",
50        "wm-shell-flicker-utils",
51    ],
52}
53
54java_library {
55    name: "flickertestapplib",
56    sdk_version: "current",
57    srcs: ["src/com/android/server/wm/flicker/testapp/ActivityOptions.java"],
58}
59