1// This is auto-generated. DO NOT EDIT.
2
3package {
4    // A default list here prevents the license LSC from adding its own list which would
5    // be unnecessary as every module in the sdk already has its own licenses property.
6    default_applicable_licenses: ["Android-Apache-2.0"],
7}
8
9apex_contributions_defaults {
10    name: "devicelock-module-sdk.contributions",
11    contents: ["prebuilt_framework-devicelock"],
12}
13
14prebuilt_bootclasspath_fragment {
15    name: "com.android.devicelock-bootclasspath-fragment",
16    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "devicelock_module" is true.
17    use_source_config_var: {
18        config_namespace: "devicelock_module",
19        var_name: "source_build",
20    },
21    visibility: ["//visibility:public"],
22    apex_available: ["com.android.devicelock"],
23    licenses: ["devicelock-module-sdk_Android-Apache-2.0"],
24    contents: ["framework-devicelock"],
25    fragments: [
26        {
27            apex: "com.android.art",
28            module: "art-bootclasspath-fragment",
29        },
30    ],
31    hidden_api: {
32        annotation_flags: "hiddenapi/annotation-flags.csv",
33        metadata: "hiddenapi/metadata.csv",
34        index: "hiddenapi/index.csv",
35        signature_patterns: "hiddenapi/signature-patterns.csv",
36        filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
37        filtered_flags: "hiddenapi/filtered-flags.csv",
38    },
39}
40
41java_sdk_library_import {
42    name: "framework-devicelock",
43    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "devicelock_module" is true.
44    use_source_config_var: {
45        config_namespace: "devicelock_module",
46        var_name: "source_build",
47    },
48    visibility: ["//visibility:public"],
49    apex_available: ["com.android.devicelock"],
50    licenses: ["devicelock-module-sdk_Android-Apache-2.0"],
51    shared_library: false,
52    permitted_packages: ["android.devicelock"],
53    public: {
54        jars: ["sdk_library/public/framework-devicelock-stubs.jar"],
55        stub_srcs: ["sdk_library/public/framework-devicelock.srcjar"],
56        current_api: "sdk_library/public/framework-devicelock.txt",
57        removed_api: "sdk_library/public/framework-devicelock-removed.txt",
58        annotations: "sdk_library/public/framework-devicelock_annotations.zip",
59        sdk_version: "module_current",
60    },
61    system: {
62        jars: ["sdk_library/system/framework-devicelock-stubs.jar"],
63        stub_srcs: ["sdk_library/system/framework-devicelock.srcjar"],
64        current_api: "sdk_library/system/framework-devicelock.txt",
65        removed_api: "sdk_library/system/framework-devicelock-removed.txt",
66        annotations: "sdk_library/system/framework-devicelock_annotations.zip",
67        sdk_version: "module_current",
68    },
69    module_lib: {
70        jars: ["sdk_library/module-lib/framework-devicelock-stubs.jar"],
71        stub_srcs: ["sdk_library/module-lib/framework-devicelock.srcjar"],
72        current_api: "sdk_library/module-lib/framework-devicelock.txt",
73        removed_api: "sdk_library/module-lib/framework-devicelock-removed.txt",
74        annotations: "sdk_library/module-lib/framework-devicelock_annotations.zip",
75        sdk_version: "module_current",
76    },
77}
78
79java_import {
80    name: "service-devicelock",
81    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "devicelock_module" is true.
82    use_source_config_var: {
83        config_namespace: "devicelock_module",
84        var_name: "source_build",
85    },
86    visibility: ["//visibility:public"],
87    apex_available: ["com.android.devicelock"],
88    licenses: ["devicelock-module-sdk_Android-Apache-2.0"],
89    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-devicelock.jar"],
90    min_sdk_version: "34",
91}
92
93license {
94    name: "devicelock-module-sdk_Android-Apache-2.0",
95    visibility: ["//visibility:private"],
96    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
97    license_text: ["licenses/build/soong/licenses/LICENSE"],
98}
99
100prebuilt_systemserverclasspath_fragment {
101    name: "com.android.devicelock-systemserverclasspath-fragment",
102    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "devicelock_module" is true.
103    use_source_config_var: {
104        config_namespace: "devicelock_module",
105        var_name: "source_build",
106    },
107    visibility: ["//visibility:public"],
108    apex_available: ["com.android.devicelock"],
109    licenses: ["devicelock-module-sdk_Android-Apache-2.0"],
110    standalone_contents: ["service-devicelock"],
111}
112