• 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: "sdkextensions-sdk.contributions",
11    contents: ["prebuilt_framework-sdkextensions"],
12}
13
14prebuilt_bootclasspath_fragment {
15    name: "com.android.sdkext-bootclasspath-fragment",
16    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "sdkext_module" is true.
17    use_source_config_var: {
18        config_namespace: "sdkext_module",
19        var_name: "source_build",
20    },
21    visibility: ["//packages/modules/SdkExtensions:__subpackages__"],
22    apex_available: ["com.android.sdkext"],
23    licenses: ["sdkextensions-sdk_Android-Apache-2.0"],
24    contents: ["framework-sdkextensions"],
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-sdkextensions",
43    // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "sdkext_module" is true.
44    use_source_config_var: {
45        config_namespace: "sdkext_module",
46        var_name: "source_build",
47    },
48    visibility: ["//visibility:public"],
49    apex_available: [
50        "com.android.sdkext",
51        "test_com.android.sdkext",
52    ],
53    licenses: ["sdkextensions-sdk_Android-Apache-2.0"],
54    shared_library: false,
55    permitted_packages: ["android.os.ext"],
56    public: {
57        jars: ["sdk_library/public/framework-sdkextensions-stubs.jar"],
58        stub_srcs: ["sdk_library/public/framework-sdkextensions.srcjar"],
59        current_api: "sdk_library/public/framework-sdkextensions.txt",
60        removed_api: "sdk_library/public/framework-sdkextensions-removed.txt",
61        annotations: "sdk_library/public/framework-sdkextensions_annotations.zip",
62        sdk_version: "module_current",
63    },
64    system: {
65        jars: ["sdk_library/system/framework-sdkextensions-stubs.jar"],
66        stub_srcs: ["sdk_library/system/framework-sdkextensions.srcjar"],
67        current_api: "sdk_library/system/framework-sdkextensions.txt",
68        removed_api: "sdk_library/system/framework-sdkextensions-removed.txt",
69        annotations: "sdk_library/system/framework-sdkextensions_annotations.zip",
70        sdk_version: "module_current",
71    },
72    module_lib: {
73        jars: ["sdk_library/module-lib/framework-sdkextensions-stubs.jar"],
74        stub_srcs: ["sdk_library/module-lib/framework-sdkextensions.srcjar"],
75        current_api: "sdk_library/module-lib/framework-sdkextensions.txt",
76        removed_api: "sdk_library/module-lib/framework-sdkextensions-removed.txt",
77        annotations: "sdk_library/module-lib/framework-sdkextensions_annotations.zip",
78        sdk_version: "module_current",
79    },
80}
81
82license {
83    name: "sdkextensions-sdk_Android-Apache-2.0",
84    visibility: ["//visibility:private"],
85    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
86    license_text: ["licenses/build/soong/licenses/LICENSE"],
87}
88