summaryrefslogtreecommitdiff
path: root/packages/SettingsLib/RestrictedLockUtils/Android.bp
blob: 8d722eba49bf691e3edc0809239aa958cec60fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
}

filegroup {
    name: "SettingsLibRestrictedLockUtilsSrc",
    srcs: ["src/**/*.java"],
    visibility: ["//frameworks/base/services/accessibility"],
}

android_library {
    name: "SettingsLibRestrictedLockUtils",
    use_resource_processor: true,
    defaults: [
        "SettingsLintDefaults",
    ],

    srcs: ["src/**/*.java"],
    resource_dirs: ["res"],

    libs: [
        "androidx.annotation_annotation",
    ],

    sdk_version: "system_current",
    min_sdk_version: "21",
    apex_available: [
        "//apex_available:platform",
        "com.android.permission",
    ],
    lint: {
        baseline_filename: "lint-baseline.xml",
    },
}