• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10filegroup {
11    name: "services.accessibility-sources",
12    srcs: ["java/**/*.java"],
13    path: "java",
14    visibility: ["//frameworks/base/services"],
15}
16
17java_library_static {
18    name: "services.accessibility",
19    defaults: [
20        "platform_service_defaults",
21    ],
22    lint: {
23        error_checks: ["MissingPermissionAnnotation"],
24        baseline_filename: "lint-baseline.xml",
25
26    },
27    srcs: [
28        ":services.accessibility-sources",
29        "//frameworks/base/packages/SettingsLib/RestrictedLockUtils:SettingsLibRestrictedLockUtilsSrc",
30    ],
31    libs: [
32        "services.core",
33        "androidx.annotation_annotation",
34    ],
35    static_libs: [
36        "com_android_server_accessibility_flags_lib",
37        "//frameworks/base/packages/SystemUI/aconfig:com_android_systemui_flags_lib",
38
39    ],
40}
41
42java_library_static {
43    name: "AccessibilityGestureUtils",
44    srcs: [
45        "java/**/gestures/GestureMatcher.java",
46        "java/**/gestures/GestureManifold.java",
47        "java/**/gestures/MultiFingerMultiTap.java",
48        "java/**/gestures/TouchState.java",
49    ],
50    static_libs: [
51        "services.accessibility",
52    ],
53    libs: [
54        "androidx.annotation_annotation",
55    ],
56}
57
58aconfig_declarations {
59    name: "com_android_server_accessibility_flags",
60    package: "com.android.server.accessibility",
61    container: "system",
62    srcs: [
63        "accessibility.aconfig",
64    ],
65}
66
67java_aconfig_library {
68    name: "com_android_server_accessibility_flags_lib",
69    aconfig_declarations: "com_android_server_accessibility_flags",
70}
71