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: "conscrypt-module-host-exports.contributions", 11 contents: [ 12 "prebuilt_conscrypt-unbundled", 13 "prebuilt_libconscrypt_openjdk_jni", 14 ], 15} 16 17java_import { 18 name: "conscrypt-unbundled", 19 prefer: false, 20 visibility: ["//visibility:public"], 21 apex_available: ["//apex_available:platform"], 22 licenses: ["conscrypt-module-host-exports_external_conscrypt_license"], 23 device_supported: false, 24 host_supported: true, 25 jars: ["java/conscrypt-unbundled.jar"], 26 min_sdk_version: "31", 27} 28 29license { 30 name: "conscrypt-module-host-exports_external_conscrypt_license", 31 visibility: ["//visibility:private"], 32 license_kinds: [ 33 "SPDX-license-identifier-Apache-2.0", 34 "legacy_unencumbered", 35 ], 36 license_text: [ 37 "licenses/external/conscrypt/LICENSE", 38 "licenses/external/conscrypt/NOTICE", 39 "licenses/external/conscrypt/licenses/LICENSE.harmony.txt", 40 "licenses/external/conscrypt/licenses/LICENSE.netty.txt", 41 ], 42} 43 44cc_prebuilt_library_shared { 45 name: "libconscrypt_openjdk_jni", 46 prefer: false, 47 visibility: ["//visibility:public"], 48 apex_available: ["//apex_available:platform"], 49 licenses: ["conscrypt-module-host-exports_external_conscrypt_license"], 50 device_supported: false, 51 host_supported: true, 52 stl: "libc++_static", 53 compile_multilib: "both", 54 sanitize: { 55 never: true, 56 }, 57 target: { 58 host: { 59 enabled: false, 60 }, 61 linux_glibc_x86_64: { 62 enabled: true, 63 srcs: ["x86_64/lib/libconscrypt_openjdk_jni.so"], 64 }, 65 linux_glibc_x86: { 66 enabled: true, 67 srcs: ["x86/lib/libconscrypt_openjdk_jni.so"], 68 }, 69 }, 70 strip: { 71 none: true, 72 }, 73} 74