| // This is auto-generated. DO NOT EDIT. |
| |
| // Soong config variable stanza added by vendor/google/build/mainline_modules_sdks.py. |
| soong_config_module_type_import { |
| from: "packages/modules/common/Android.bp", |
| module_types: [ |
| "module_java_import", |
| "module_java_sdk_library_import", |
| "module_prebuilt_bootclasspath_fragment", |
| "module_prebuilt_systemserverclasspath_fragment", |
| ], |
| } |
| |
| package { |
| // A default list here prevents the license LSC from adding its own list which would |
| // be unnecessary as every module in the sdk already has its own licenses property. |
| default_applicable_licenses: ["Android-Apache-2.0"], |
| } |
| |
| prebuilt_bootclasspath_fragment { |
| name: "appsearch-sdk_com.android.appsearch-bootclasspath-fragment@current", |
| sdk_member_name: "com.android.appsearch-bootclasspath-fragment", |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license@current"], |
| contents: ["appsearch-sdk_framework-appsearch@current"], |
| fragments: [ |
| { |
| apex: "com.android.art", |
| module: "art-bootclasspath-fragment", |
| }, |
| ], |
| hidden_api: { |
| annotation_flags: "hiddenapi/annotation-flags.csv", |
| metadata: "hiddenapi/metadata.csv", |
| index: "hiddenapi/index.csv", |
| signature_patterns: "hiddenapi/signature-patterns.csv", |
| filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv", |
| filtered_flags: "hiddenapi/filtered-flags.csv", |
| }, |
| } |
| |
| module_prebuilt_bootclasspath_fragment { |
| name: "com.android.appsearch-bootclasspath-fragment", |
| // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. |
| prefer: true, |
| soong_config_variables: { |
| module_build_from_source: { |
| prefer: false, |
| }, |
| }, |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license"], |
| contents: ["framework-appsearch"], |
| fragments: [ |
| { |
| apex: "com.android.art", |
| module: "art-bootclasspath-fragment", |
| }, |
| ], |
| hidden_api: { |
| annotation_flags: "hiddenapi/annotation-flags.csv", |
| metadata: "hiddenapi/metadata.csv", |
| index: "hiddenapi/index.csv", |
| signature_patterns: "hiddenapi/signature-patterns.csv", |
| filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv", |
| filtered_flags: "hiddenapi/filtered-flags.csv", |
| }, |
| } |
| |
| java_sdk_library_import { |
| name: "appsearch-sdk_framework-appsearch@current", |
| sdk_member_name: "framework-appsearch", |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license@current"], |
| shared_library: false, |
| permitted_packages: ["android.app.appsearch"], |
| public: { |
| jars: ["sdk_library/public/framework-appsearch-stubs.jar"], |
| stub_srcs: ["sdk_library/public/framework-appsearch.srcjar"], |
| current_api: "sdk_library/public/framework-appsearch.txt", |
| removed_api: "sdk_library/public/framework-appsearch-removed.txt", |
| annotations: "sdk_library/public/framework-appsearch_annotations.zip", |
| sdk_version: "module_current", |
| }, |
| system: { |
| jars: ["sdk_library/system/framework-appsearch-stubs.jar"], |
| stub_srcs: ["sdk_library/system/framework-appsearch.srcjar"], |
| current_api: "sdk_library/system/framework-appsearch.txt", |
| removed_api: "sdk_library/system/framework-appsearch-removed.txt", |
| annotations: "sdk_library/system/framework-appsearch_annotations.zip", |
| sdk_version: "module_current", |
| }, |
| module_lib: { |
| jars: ["sdk_library/module-lib/framework-appsearch-stubs.jar"], |
| stub_srcs: ["sdk_library/module-lib/framework-appsearch.srcjar"], |
| current_api: "sdk_library/module-lib/framework-appsearch.txt", |
| removed_api: "sdk_library/module-lib/framework-appsearch-removed.txt", |
| annotations: "sdk_library/module-lib/framework-appsearch_annotations.zip", |
| sdk_version: "module_current", |
| }, |
| } |
| |
| module_java_sdk_library_import { |
| name: "framework-appsearch", |
| // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. |
| prefer: true, |
| soong_config_variables: { |
| module_build_from_source: { |
| prefer: false, |
| }, |
| }, |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license"], |
| shared_library: false, |
| permitted_packages: ["android.app.appsearch"], |
| public: { |
| jars: ["sdk_library/public/framework-appsearch-stubs.jar"], |
| stub_srcs: ["sdk_library/public/framework-appsearch.srcjar"], |
| current_api: "sdk_library/public/framework-appsearch.txt", |
| removed_api: "sdk_library/public/framework-appsearch-removed.txt", |
| annotations: "sdk_library/public/framework-appsearch_annotations.zip", |
| sdk_version: "module_current", |
| }, |
| system: { |
| jars: ["sdk_library/system/framework-appsearch-stubs.jar"], |
| stub_srcs: ["sdk_library/system/framework-appsearch.srcjar"], |
| current_api: "sdk_library/system/framework-appsearch.txt", |
| removed_api: "sdk_library/system/framework-appsearch-removed.txt", |
| annotations: "sdk_library/system/framework-appsearch_annotations.zip", |
| sdk_version: "module_current", |
| }, |
| module_lib: { |
| jars: ["sdk_library/module-lib/framework-appsearch-stubs.jar"], |
| stub_srcs: ["sdk_library/module-lib/framework-appsearch.srcjar"], |
| current_api: "sdk_library/module-lib/framework-appsearch.txt", |
| removed_api: "sdk_library/module-lib/framework-appsearch-removed.txt", |
| annotations: "sdk_library/module-lib/framework-appsearch_annotations.zip", |
| sdk_version: "module_current", |
| }, |
| } |
| |
| java_import { |
| name: "appsearch-sdk_service-appsearch@current", |
| sdk_member_name: "service-appsearch", |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license@current"], |
| jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-appsearch.jar"], |
| permitted_packages: [ |
| "com.android.server.appsearch", |
| "com.google.android.icing", |
| ], |
| } |
| |
| module_java_import { |
| name: "service-appsearch", |
| // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. |
| prefer: true, |
| soong_config_variables: { |
| module_build_from_source: { |
| prefer: false, |
| }, |
| }, |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license"], |
| jars: ["java_systemserver_libs/snapshot/jars/are/invalid/service-appsearch.jar"], |
| permitted_packages: [ |
| "com.android.server.appsearch", |
| "com.google.android.icing", |
| ], |
| } |
| |
| license { |
| name: "appsearch-sdk_packages_modules_appsearch_license@current", |
| sdk_member_name: "packages_modules_appsearch_license", |
| visibility: ["//visibility:private"], |
| license_kinds: ["SPDX-license-identifier-Apache-2.0"], |
| license_text: ["licenses/packages/modules/AppSearch/NOTICE"], |
| } |
| |
| license { |
| name: "appsearch-sdk_packages_modules_appsearch_license", |
| visibility: ["//visibility:private"], |
| license_kinds: ["SPDX-license-identifier-Apache-2.0"], |
| license_text: ["licenses/packages/modules/AppSearch/NOTICE"], |
| } |
| |
| prebuilt_systemserverclasspath_fragment { |
| name: "appsearch-sdk_com.android.appsearch-systemserverclasspath-fragment@current", |
| sdk_member_name: "com.android.appsearch-systemserverclasspath-fragment", |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license@current"], |
| contents: ["appsearch-sdk_service-appsearch@current"], |
| } |
| |
| module_prebuilt_systemserverclasspath_fragment { |
| name: "com.android.appsearch-systemserverclasspath-fragment", |
| // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. |
| prefer: true, |
| soong_config_variables: { |
| module_build_from_source: { |
| prefer: false, |
| }, |
| }, |
| visibility: ["//visibility:public"], |
| apex_available: ["com.android.appsearch"], |
| licenses: ["appsearch-sdk_packages_modules_appsearch_license"], |
| contents: ["service-appsearch"], |
| } |
| |
| sdk_snapshot { |
| name: "appsearch-sdk@current", |
| visibility: ["//visibility:public"], |
| bootclasspath_fragments: ["appsearch-sdk_com.android.appsearch-bootclasspath-fragment@current"], |
| java_sdk_libs: ["appsearch-sdk_framework-appsearch@current"], |
| java_systemserver_libs: ["appsearch-sdk_service-appsearch@current"], |
| systemserverclasspath_fragments: ["appsearch-sdk_com.android.appsearch-systemserverclasspath-fragment@current"], |
| } |