blob: b9c138933c4a796102e8cf14b92b494ab1414b0c [file] [log] [blame]
Mathew Inwoodf5e96d22021-06-21 15:52:03 +00001// This is auto-generated. DO NOT EDIT.
2
android-t23d5daaa2023-10-25 10:19:32 +08003// blueprint rules added by vendor/google/build/mainline_modules_sdks.py
4// to support coexistence.
5blueprint_package_includes {
6 match_all: ["com.android.mainline"]
7}
8
satayev88f5aa12022-05-13 15:07:42 +00009package {
10 // A default list here prevents the license LSC from adding its own list which would
11 // be unnecessary as every module in the sdk already has its own licenses property.
12 default_applicable_licenses: ["Android-Apache-2.0"],
13}
14
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000015prebuilt_bootclasspath_fragment {
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000016 name: "com.android.conscrypt-bootclasspath-fragment",
satayev88f5aa12022-05-13 15:07:42 +000017 // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
Bob Hanjic4c5f5c2022-08-31 05:13:56 +000018 use_source_config_var: {
19 config_namespace: "ANDROID",
20 var_name: "module_build_from_source",
Mathew Inwoodd745a032021-07-13 14:49:48 +010021 },
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000022 visibility: ["//external/conscrypt:__subpackages__"],
23 apex_available: ["com.android.conscrypt"],
24 licenses: ["conscrypt-module-sdk_external_conscrypt_license"],
25 contents: ["conscrypt"],
satayev88f5aa12022-05-13 15:07:42 +000026 fragments: [
27 {
28 apex: "com.android.art",
29 module: "art-bootclasspath-fragment",
30 },
31 ],
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000032 api: {
33 stub_libs: ["conscrypt.module.public.api"],
34 },
35 core_platform_api: {
36 stub_libs: ["conscrypt.module.platform.api"],
37 },
38 hidden_api: {
39 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"],
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000040 annotation_flags: "hiddenapi/annotation-flags.csv",
41 metadata: "hiddenapi/metadata.csv",
42 index: "hiddenapi/index.csv",
satayev88f5aa12022-05-13 15:07:42 +000043 signature_patterns: "hiddenapi/signature-patterns.csv",
44 filtered_stub_flags: "hiddenapi/filtered-stub-flags.csv",
45 filtered_flags: "hiddenapi/filtered-flags.csv",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000046 },
47}
48
49java_import {
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000050 name: "conscrypt",
satayev88f5aa12022-05-13 15:07:42 +000051 // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
Bob Hanjic4c5f5c2022-08-31 05:13:56 +000052 use_source_config_var: {
53 config_namespace: "ANDROID",
54 var_name: "module_build_from_source",
Mathew Inwoodd745a032021-07-13 14:49:48 +010055 },
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000056 visibility: [
57 "//device:__subpackages__",
58 "//external/conscrypt:__subpackages__",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000059 ],
60 apex_available: [
61 "com.android.conscrypt",
62 "test_com.android.conscrypt",
63 ],
64 licenses: ["conscrypt-module-sdk_external_conscrypt_license"],
Adam Seatond93c72e2022-06-07 15:18:17 +000065 jars: ["java_boot_libs/snapshot/jars/are/invalid/conscrypt.jar"],
android-t23d5daaa2023-10-25 10:19:32 +080066 min_sdk_version: "29",
satayev88f5aa12022-05-13 15:07:42 +000067 permitted_packages: [
68 "android.net.ssl",
69 "com.android.org.conscrypt",
70 ],
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000071}
72
73java_sdk_library_import {
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000074 name: "conscrypt.module.public.api",
satayev88f5aa12022-05-13 15:07:42 +000075 // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
Bob Hanjic4c5f5c2022-08-31 05:13:56 +000076 use_source_config_var: {
77 config_namespace: "ANDROID",
78 var_name: "module_build_from_source",
Mathew Inwoodd745a032021-07-13 14:49:48 +010079 },
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000080 visibility: [
Paul Duffin1d7741d2021-07-11 08:41:06 +010081 "//build/soong/java/core-libraries",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000082 "//external/conscrypt",
83 "//frameworks/base",
84 "//frameworks/base/api",
Artur Satayevdb9d8532022-08-24 09:23:20 +000085 "//libcore",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +000086 "//packages/modules/IPsec",
87 "//packages/modules/common/sdk",
88 "//prebuilts:__subpackages__",
89 ],
90 apex_available: ["//apex_available:platform"],
91 licenses: ["conscrypt-module-sdk_external_conscrypt_license"],
92 shared_library: false,
93 public: {
android-t237846c92023-03-30 10:00:30 +080094 jars: ["sdk_library/public/conscrypt-stubs.jar"],
95 stub_srcs: ["sdk_library/public/conscrypt.srcjar"],
96 current_api: "sdk_library/public/conscrypt.txt",
97 removed_api: "sdk_library/public/conscrypt-removed.txt",
98 annotations: "sdk_library/public/conscrypt_annotations.zip",
Paul Duffin53cb1842022-01-28 08:35:00 +000099 sdk_version: "none",
100 },
101 system: {
android-t237846c92023-03-30 10:00:30 +0800102 jars: ["sdk_library/system/conscrypt-stubs.jar"],
103 stub_srcs: ["sdk_library/system/conscrypt.srcjar"],
104 current_api: "sdk_library/system/conscrypt.txt",
105 removed_api: "sdk_library/system/conscrypt-removed.txt",
106 annotations: "sdk_library/system/conscrypt_annotations.zip",
Paul Duffin53cb1842022-01-28 08:35:00 +0000107 sdk_version: "none",
108 },
109 module_lib: {
android-t237846c92023-03-30 10:00:30 +0800110 jars: ["sdk_library/module-lib/conscrypt-stubs.jar"],
111 stub_srcs: ["sdk_library/module-lib/conscrypt.srcjar"],
112 current_api: "sdk_library/module-lib/conscrypt.txt",
113 removed_api: "sdk_library/module-lib/conscrypt-removed.txt",
114 annotations: "sdk_library/module-lib/conscrypt_annotations.zip",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000115 sdk_version: "none",
116 },
117}
118
119java_sdk_library_import {
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000120 name: "conscrypt.module.platform.api",
satayev88f5aa12022-05-13 15:07:42 +0000121 // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
Bob Hanjic4c5f5c2022-08-31 05:13:56 +0000122 use_source_config_var: {
123 config_namespace: "ANDROID",
124 var_name: "module_build_from_source",
Mathew Inwoodd745a032021-07-13 14:49:48 +0100125 },
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000126 visibility: [
Paul Duffin1d7741d2021-07-11 08:41:06 +0100127 "//build/soong/java/core-libraries",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000128 "//external/conscrypt",
129 "//external/wycheproof",
Artur Satayevdb9d8532022-08-24 09:23:20 +0000130 "//libcore/mmodules/core_platform_api",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000131 "//prebuilts:__subpackages__",
132 ],
133 apex_available: ["//apex_available:platform"],
134 licenses: ["conscrypt-module-sdk_external_conscrypt_license"],
135 shared_library: false,
136 public: {
android-t237846c92023-03-30 10:00:30 +0800137 jars: ["sdk_library/public/conscrypt-coreplatform-stubs.jar"],
138 stub_srcs: ["sdk_library/public/conscrypt-coreplatform.srcjar"],
139 current_api: "sdk_library/public/conscrypt-coreplatform.txt",
140 removed_api: "sdk_library/public/conscrypt-coreplatform-removed.txt",
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000141 sdk_version: "none",
142 },
143}
144
145java_sdk_library_import {
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000146 name: "conscrypt.module.intra.core.api",
satayev88f5aa12022-05-13 15:07:42 +0000147 // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
Bob Hanjic4c5f5c2022-08-31 05:13:56 +0000148 use_source_config_var: {
149 config_namespace: "ANDROID",
150 var_name: "module_build_from_source",
Mathew Inwoodd745a032021-07-13 14:49:48 +0100151 },
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000152 visibility: [
153 "//external/conscrypt",
154 "//external/okhttp",
155 "//libcore:__subpackages__",
156 "//prebuilts:__subpackages__",
157 ],
158 apex_available: ["//apex_available:platform"],
159 licenses: ["conscrypt-module-sdk_external_conscrypt_license"],
160 shared_library: false,
161 public: {
162 jars: ["sdk_library/public/conscrypt.module.intra.core.api-stubs.jar"],
Mathew Inwood869dac12021-06-28 11:04:56 +0000163 stub_srcs: ["sdk_library/public/conscrypt.module.intra.core.api.srcjar"],
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000164 current_api: "sdk_library/public/conscrypt.module.intra.core.api.txt",
165 removed_api: "sdk_library/public/conscrypt.module.intra.core.api-removed.txt",
166 sdk_version: "none",
167 },
168}
169
170license {
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000171 name: "conscrypt-module-sdk_external_conscrypt_license",
172 visibility: ["//visibility:private"],
173 license_kinds: [
174 "SPDX-license-identifier-Apache-2.0",
175 "legacy_unencumbered",
176 ],
177 license_text: [
178 "licenses/external/conscrypt/LICENSE",
179 "licenses/external/conscrypt/NOTICE",
180 "licenses/external/conscrypt/licenses/LICENSE.harmony.txt",
181 "licenses/external/conscrypt/licenses/LICENSE.netty.txt",
182 ],
183}
184
185cc_prebuilt_library_shared {
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000186 name: "libconscrypt_jni",
satayev88f5aa12022-05-13 15:07:42 +0000187 // Do not prefer prebuilt if the Soong config variable "module_build_from_source" in namespace "ANDROID" is true.
Bob Hanjic4c5f5c2022-08-31 05:13:56 +0000188 use_source_config_var: {
189 config_namespace: "ANDROID",
190 var_name: "module_build_from_source",
Mathew Inwoodd745a032021-07-13 14:49:48 +0100191 },
Mathew Inwoodf5e96d22021-06-21 15:52:03 +0000192 visibility: ["//external/conscrypt:__subpackages__"],
193 apex_available: ["//apex_available:platform"],
194 licenses: ["conscrypt-module-sdk_external_conscrypt_license"],
195 stl: "c++_static",
196 compile_multilib: "both",
197 shared_libs: ["liblog"],
198 arch: {
199 arm64: {
200 srcs: ["arm64/lib/libconscrypt_jni.so"],
201 },
202 x86_64: {
203 srcs: ["x86_64/lib/libconscrypt_jni.so"],
204 },
205 arm: {
206 srcs: ["arm/lib/libconscrypt_jni.so"],
207 },
208 x86: {
209 srcs: ["x86/lib/libconscrypt_jni.so"],
210 },
211 },
212}