xref: /aosp_15_r20/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1//
2// Copyright (C) 2023 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    default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22android_test {
23    name: "AccessibilityMenuServiceTests",
24    use_resource_processor: true,
25    certificate: "platform",
26    libs: [
27        "android.test.runner.stubs.system",
28        "android.test.base.stubs.system",
29    ],
30    static_libs: [
31        "androidx.test.core",
32        "androidx.test.runner",
33        "androidx.test.ext.junit",
34        "com_android_a11y_menu_flags_lib",
35        "compatibility-device-util-axt",
36        "platform-test-annotations",
37        "truth",
38        "uiautomator-helpers",
39    ],
40    srcs: [
41        "src/**/*.java",
42        ":AccessibilityMenuSource",
43    ],
44    platform_apis: true,
45    test_suites: ["device-tests"],
46    instrumentation_for: "AccessibilityMenu",
47}
48