• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: [
53        "android.devicelock",
54        "com.android.devicelock.flags",
55    ],
56    public: {
57        jars: ["sdk_library/public/framework-devicelock-stubs.jar"],
58        stub_srcs: ["sdk_library/public/framework-devicelock.srcjar"],
59        current_api: "sdk_library/public/framework-devicelock.txt",
60        removed_api: "sdk_library/public/framework-devicelock-removed.txt",
61        annotations: "sdk_library/public/framework-devicelock_annotations.zip",
62        sdk_version: "module_current",
63    },
64    system: {
65        jars: ["sdk_library/system/framework-devicelock-stubs.jar"],
66        stub_srcs: ["sdk_library/system/framework-devicelock.srcjar"],
67        current_api: "sdk_library/system/framework-devicelock.txt",
68        removed_api: "sdk_library/system/framework-devicelock-removed.txt",
69        annotations: "sdk_library/system/framework-devicelock_annotations.zip",
70        sdk_version: "module_current",
71    },
72    module_lib: {
73        jars: ["sdk_library/module-lib/framework-devicelock-stubs.jar"],
74        stub_srcs: ["sdk_library/module-lib/framework-devicelock.srcjar"],
75        current_api: "sdk_library/module-lib/framework-devicelock.txt",
76        removed_api: "sdk_library/module-lib/framework-devicelock-removed.txt",
77        annotations: "sdk_library/module-lib/framework-devicelock_annotations.zip",
78        sdk_version: "module_current",
79    },
80}
81
82java_import {
83    name: "service-devicelock",
84    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "devicelock_module" is true.
85    use_source_config_var: {
86        config_namespace: "devicelock_module",
87        var_name: "source_build",
88    },
89    visibility: ["//visibility:public"],
90    apex_available: ["com.android.devicelock"],
91    licenses: ["devicelock-module-sdk_Android-Apache-2.0"],
92    jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-devicelock.jar"],
93    min_sdk_version: "34",
94}
95
96license {
97    name: "devicelock-module-sdk_Android-Apache-2.0",
98    visibility: ["//visibility:private"],
99    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
100    license_text: ["licenses/build/soong/licenses/LICENSE"],
101}
102
103prebuilt_systemserverclasspath_fragment {
104    name: "com.android.devicelock-systemserverclasspath-fragment",
105    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "devicelock_module" is true.
106    use_source_config_var: {
107        config_namespace: "devicelock_module",
108        var_name: "source_build",
109    },
110    visibility: ["//visibility:public"],
111    apex_available: ["com.android.devicelock"],
112    licenses: ["devicelock-module-sdk_Android-Apache-2.0"],
113    standalone_contents: ["service-devicelock"],
114}
115