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: "rkpd-sdk.contributions",
11    contents: ["prebuilt_service-rkp"],
12}
13
14java_sdk_library_import {
15    name: "service-rkp",
16    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "rkpd_module" is true.
17    use_source_config_var: {
18        config_namespace: "rkpd_module",
19        var_name: "source_build",
20    },
21    visibility: ["//visibility:public"],
22    apex_available: ["com.android.rkpd"],
23    licenses: ["rkpd-sdk_Android-Apache-2.0"],
24    shared_library: false,
25    permitted_packages: [
26        "android.security.rkp",
27        "android.security.rkp.service",
28        "com.android.rkpdapp",
29    ],
30    public: {
31        jars: ["sdk_library/public/service-rkp-stubs.jar"],
32        stub_srcs: ["sdk_library/public/service-rkp.srcjar"],
33        current_api: "sdk_library/public/service-rkp.txt",
34        removed_api: "sdk_library/public/service-rkp-removed.txt",
35        annotations: "sdk_library/public/service-rkp_annotations.zip",
36        sdk_version: "module_current",
37    },
38    system_server: {
39        jars: ["sdk_library/system-server/service-rkp-stubs.jar"],
40        stub_srcs: ["sdk_library/system-server/service-rkp.srcjar"],
41        current_api: "sdk_library/system-server/service-rkp.txt",
42        removed_api: "sdk_library/system-server/service-rkp-removed.txt",
43        annotations: "sdk_library/system-server/service-rkp_annotations.zip",
44        sdk_version: "system_server_current",
45    },
46}
47
48license {
49    name: "rkpd-sdk_Android-Apache-2.0",
50    visibility: ["//visibility:private"],
51    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
52    license_text: ["licenses/build/soong/licenses/LICENSE"],
53}
54
55prebuilt_systemserverclasspath_fragment {
56    name: "com.android.rkpd-systemserverclasspath-fragment",
57    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "rkpd_module" is true.
58    use_source_config_var: {
59        config_namespace: "rkpd_module",
60        var_name: "source_build",
61    },
62    visibility: ["//visibility:public"],
63    apex_available: ["com.android.rkpd"],
64    licenses: ["rkpd-sdk_Android-Apache-2.0"],
65    contents: ["service-rkp"],
66}
67