• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2010 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    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_test {
20    name: "CtsAccessibilityServiceTestCases",
21    defaults: ["cts_defaults"],
22    static_libs: [
23        "ctstestrunner-axt",
24        "cts-wm-util",
25        "hamcrest-library",
26        "mockito-target-minus-junit4",
27        "compatibility-device-util-axt",
28        "platform-test-annotations",
29        "CtsAccessibilityCommon",
30        "CtsInputMethodServiceCommon",
31        "CtsVirtualDeviceCommonLib",
32        "sts-device-util",
33    ],
34    libs: [
35        "android.test.runner",
36        "android.test.base",
37    ],
38    srcs: ["src/**/*.java"],
39    // Tag this module as a cts test artifact
40    test_suites: [
41        "cts",
42        "general-tests",
43        "sts",
44    ],
45    sdk_version: "test_current",
46    per_testcase_directory: true,
47    data: [
48        ":CtsInputMethod1",
49        ":CtsAccessibilityMultipleServicesApp",
50        ":CtsAccessibilityWidgetProvider",
51        ":CtsAccessibilityProxyApp",
52    ],
53}
54
55java_library_static {
56    name: "CtsAccessibilityServiceUtils",
57    sdk_version: "test_current",
58    static_libs: [
59        "compatibility-device-util-axt",
60        "CtsAccessibilityCommon",
61    ],
62    srcs: ["src/**/utils/*.java"],
63}
64