| // This is auto-generated. DO NOT EDIT. |
| |
| 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"], |
| } |
| |
| java_import { |
| name: "conscrypt-for-host", |
| // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. |
| use_source_config_var: { |
| config_namespace: "ANDROID", |
| var_name: "module_build_from_source", |
| }, |
| visibility: [ |
| "//art/build", |
| "//external/conscrypt", |
| "//external/robolectric-shadows", |
| "//frameworks/layoutlib", |
| ], |
| apex_available: ["//apex_available:platform"], |
| licenses: ["conscrypt-module-test-exports_external_conscrypt_license"], |
| jars: ["java/conscrypt-for-host.jar"], |
| } |
| |
| java_test_import { |
| name: "conscrypt-tests", |
| // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. |
| use_source_config_var: { |
| config_namespace: "ANDROID", |
| var_name: "module_build_from_source", |
| }, |
| visibility: [ |
| "//cts/tests/libcore/luni", |
| "//external/conscrypt", |
| "//external/conscrypt/apex/tests", |
| ], |
| apex_available: ["//apex_available:platform"], |
| licenses: ["conscrypt-module-test-exports_external_conscrypt_license"], |
| jars: ["java/conscrypt-tests.jar"], |
| test_config: "java/conscrypt-tests-AndroidTest.xml", |
| } |
| |
| license { |
| name: "conscrypt-module-test-exports_external_conscrypt_license", |
| visibility: ["//visibility:private"], |
| license_kinds: [ |
| "SPDX-license-identifier-Apache-2.0", |
| "legacy_unencumbered", |
| ], |
| license_text: [ |
| "licenses/external/conscrypt/LICENSE", |
| "licenses/external/conscrypt/NOTICE", |
| "licenses/external/conscrypt/licenses/LICENSE.harmony.txt", |
| "licenses/external/conscrypt/licenses/LICENSE.netty.txt", |
| ], |
| } |
| |
| cc_prebuilt_library_shared { |
| name: "libjavacrypto", |
| // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true. |
| use_source_config_var: { |
| config_namespace: "ANDROID", |
| var_name: "module_build_from_source", |
| }, |
| visibility: ["//external/conscrypt:__subpackages__"], |
| apex_available: [ |
| "com.android.conscrypt", |
| "test_com.android.conscrypt", |
| ], |
| licenses: ["conscrypt-module-test-exports_external_conscrypt_license"], |
| host_supported: true, |
| shared_libs: [ |
| "libcrypto", |
| "liblog", |
| "libssl", |
| ], |
| target: { |
| host: { |
| enabled: false, |
| }, |
| android: { |
| compile_multilib: "both", |
| }, |
| android_arm64: { |
| srcs: ["android/arm64/lib/libjavacrypto.so"], |
| }, |
| android_x86_64: { |
| srcs: ["android/x86_64/lib/libjavacrypto.so"], |
| }, |
| android_arm: { |
| srcs: ["android/arm/lib/libjavacrypto.so"], |
| }, |
| android_x86: { |
| srcs: ["android/x86/lib/libjavacrypto.so"], |
| }, |
| linux_bionic: { |
| compile_multilib: "64", |
| }, |
| linux_bionic_x86_64: { |
| enabled: true, |
| srcs: ["linux_bionic/x86_64/lib/libjavacrypto.so"], |
| }, |
| linux_glibc: { |
| compile_multilib: "both", |
| }, |
| linux_glibc_x86_64: { |
| enabled: true, |
| srcs: ["linux_glibc/x86_64/lib/libjavacrypto.so"], |
| }, |
| linux_glibc_x86: { |
| enabled: true, |
| srcs: ["linux_glibc/x86/lib/libjavacrypto.so"], |
| }, |
| }, |
| } |