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-test-exports.contributions",
11    contents: [
12        "prebuilt_conscrypt-for-host",
13        "prebuilt_conscrypt-tests",
14        "prebuilt_libjavacrypto",
15    ],
16}
17
18java_import {
19    name: "conscrypt-for-host",
20    prefer: false,
21    visibility: ["//visibility:public"],
22    apex_available: ["//apex_available:platform"],
23    licenses: ["conscrypt-module-test-exports_external_conscrypt_license"],
24    jars: ["java/conscrypt-for-host.jar"],
25}
26
27java_test_import {
28    name: "conscrypt-tests",
29    prefer: false,
30    visibility: ["//visibility:public"],
31    apex_available: ["//apex_available:platform"],
32    licenses: ["conscrypt-module-test-exports_external_conscrypt_license"],
33    jars: ["java/conscrypt-tests.jar"],
34    test_config: "java/conscrypt-tests-AndroidTest.xml",
35}
36
37license {
38    name: "conscrypt-module-test-exports_external_conscrypt_license",
39    visibility: ["//visibility:private"],
40    license_kinds: [
41        "SPDX-license-identifier-Apache-2.0",
42        "legacy_unencumbered",
43    ],
44    license_text: [
45        "licenses/external/conscrypt/LICENSE",
46        "licenses/external/conscrypt/NOTICE",
47        "licenses/external/conscrypt/licenses/LICENSE.harmony.txt",
48        "licenses/external/conscrypt/licenses/LICENSE.netty.txt",
49    ],
50}
51
52cc_prebuilt_library_shared {
53    name: "libjavacrypto",
54    prefer: false,
55    visibility: ["//visibility:public"],
56    apex_available: [
57        "com.android.conscrypt",
58        "test_com.android.conscrypt",
59    ],
60    licenses: ["conscrypt-module-test-exports_external_conscrypt_license"],
61    host_supported: true,
62    target: {
63        host: {
64            enabled: false,
65        },
66        android: {
67            compile_multilib: "64",
68            shared_libs: [
69                "liblog",
70                "libcrypto",
71                "libssl",
72            ],
73        },
74        linux_glibc: {
75            compile_multilib: "both",
76            shared_libs: ["liblog"],
77        },
78        linux_glibc_x86_64: {
79            enabled: true,
80            srcs: ["linux_glibc/x86_64/lib/libjavacrypto.so"],
81        },
82        linux_glibc_x86: {
83            enabled: true,
84            srcs: ["linux_glibc/x86/lib/libjavacrypto.so"],
85        },
86    },
87    strip: {
88        none: true,
89    },
90}
91