Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 1 | // This is auto-generated. DO NOT EDIT. |
| 2 | |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 3 | // Soong config variable stanza added by vendor/google/build/mainline_modules_sdks.py. |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 4 | soong_config_module_type_import { |
| 5 | from: "prebuilts/module_sdk/art/SoongConfig.bp", |
| 6 | module_types: [ |
| 7 | "art_prebuilt_cc_prebuilt_binary", |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 8 | "art_prebuilt_cc_prebuilt_library", |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 9 | "art_prebuilt_java_import", |
| 10 | ], |
| 11 | } |
| 12 | |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 13 | package { |
| 14 | // A default list here prevents the license LSC from adding its own list which would |
| 15 | // be unnecessary as every module in the sdk already has its own licenses property. |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 19 | java_import { |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 20 | name: "art-module-host-exports_okhttp-norepackage@current", |
| 21 | sdk_member_name: "okhttp-norepackage", |
| 22 | visibility: [ |
| 23 | "//art/build/sdk", |
| 24 | "//external/grpc-grpc-java/okhttp", |
| 25 | "//external/okhttp", |
| 26 | "//prebuilts:__subpackages__", |
| 27 | ], |
| 28 | apex_available: ["//apex_available:platform"], |
| 29 | licenses: ["art-module-host-exports_external_okhttp_license@current"], |
| 30 | host_supported: true, |
| 31 | target: { |
| 32 | android: { |
| 33 | jars: ["java/android/okhttp-norepackage.jar"], |
| 34 | }, |
| 35 | linux_glibc: { |
| 36 | jars: ["java/linux_glibc/okhttp-norepackage.jar"], |
| 37 | }, |
| 38 | }, |
| 39 | } |
| 40 | |
| 41 | art_prebuilt_java_import { |
| 42 | name: "okhttp-norepackage", |
| 43 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
| 44 | prefer: true, |
| 45 | soong_config_variables: { |
| 46 | source_build: { |
| 47 | prefer: false, |
| 48 | }, |
| 49 | }, |
| 50 | visibility: [ |
| 51 | "//art/build/sdk", |
| 52 | "//external/grpc-grpc-java/okhttp", |
| 53 | "//external/okhttp", |
| 54 | "//prebuilts:__subpackages__", |
| 55 | ], |
| 56 | apex_available: ["//apex_available:platform"], |
| 57 | licenses: ["art-module-host-exports_external_okhttp_license"], |
| 58 | host_supported: true, |
| 59 | target: { |
| 60 | android: { |
| 61 | jars: ["java/android/okhttp-norepackage.jar"], |
| 62 | }, |
| 63 | linux_glibc: { |
| 64 | jars: ["java/linux_glibc/okhttp-norepackage.jar"], |
| 65 | }, |
| 66 | }, |
| 67 | } |
| 68 | |
| 69 | java_import { |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 70 | name: "art-module-host-exports_art.module.api.annotations@current", |
| 71 | sdk_member_name: "art.module.api.annotations", |
| 72 | visibility: [ |
| 73 | "//art/build/sdk", |
| 74 | "//external/icu/android_icu4j", |
| 75 | "//frameworks/base", |
| 76 | "//libcore", |
| 77 | "//prebuilts:__subpackages__", |
| 78 | ], |
| 79 | apex_available: ["//apex_available:platform"], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 80 | licenses: ["art-module-host-exports_libcore_license@current"], |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 81 | device_supported: false, |
| 82 | host_supported: true, |
| 83 | jars: ["java/art.module.api.annotations.jar"], |
| 84 | } |
| 85 | |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 86 | art_prebuilt_java_import { |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 87 | name: "art.module.api.annotations", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 88 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | bc01ff4 | 2020-12-15 02:51:58 +0000 | [diff] [blame] | 89 | prefer: true, |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 90 | soong_config_variables: { |
| 91 | source_build: { |
| 92 | prefer: false, |
| 93 | }, |
| 94 | }, |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 95 | visibility: [ |
| 96 | "//art/build/sdk", |
| 97 | "//external/icu/android_icu4j", |
| 98 | "//frameworks/base", |
| 99 | "//libcore", |
| 100 | "//prebuilts:__subpackages__", |
| 101 | ], |
| 102 | apex_available: ["//apex_available:platform"], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 103 | licenses: ["art-module-host-exports_libcore_license"], |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 104 | device_supported: false, |
| 105 | host_supported: true, |
| 106 | jars: ["java/art.module.api.annotations.jar"], |
| 107 | } |
| 108 | |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 109 | license { |
| 110 | name: "art-module-host-exports_art_license@current", |
| 111 | sdk_member_name: "art_license", |
| 112 | visibility: ["//visibility:private"], |
| 113 | license_kinds: [ |
| 114 | "SPDX-license-identifier-Apache-2.0", |
| 115 | "SPDX-license-identifier-BSD", |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 116 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 117 | license_text: ["licenses/art/NOTICE"], |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 118 | } |
| 119 | |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 120 | license { |
| 121 | name: "art-module-host-exports_art_license", |
| 122 | visibility: ["//visibility:private"], |
| 123 | license_kinds: [ |
| 124 | "SPDX-license-identifier-Apache-2.0", |
| 125 | "SPDX-license-identifier-BSD", |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 126 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 127 | license_text: ["licenses/art/NOTICE"], |
| 128 | } |
| 129 | |
| 130 | license { |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 131 | name: "art-module-host-exports_external_okhttp_license@current", |
| 132 | sdk_member_name: "external_okhttp_license", |
| 133 | visibility: ["//visibility:private"], |
| 134 | license_kinds: ["SPDX-license-identifier-Apache-2.0"], |
| 135 | license_text: ["licenses/external/okhttp/LICENSE.txt"], |
| 136 | } |
| 137 | |
| 138 | license { |
| 139 | name: "art-module-host-exports_external_okhttp_license", |
| 140 | visibility: ["//visibility:private"], |
| 141 | license_kinds: ["SPDX-license-identifier-Apache-2.0"], |
| 142 | license_text: ["licenses/external/okhttp/LICENSE.txt"], |
| 143 | } |
| 144 | |
| 145 | license { |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 146 | name: "art-module-host-exports_libcore_license@current", |
| 147 | sdk_member_name: "libcore_license", |
| 148 | visibility: ["//visibility:private"], |
| 149 | license_kinds: [ |
| 150 | "SPDX-license-identifier-Apache-2.0", |
| 151 | "SPDX-license-identifier-BSD", |
| 152 | "SPDX-license-identifier-GPL", |
| 153 | "SPDX-license-identifier-GPL-2.0", |
| 154 | "SPDX-license-identifier-LGPL", |
| 155 | "SPDX-license-identifier-MIT", |
| 156 | "SPDX-license-identifier-OpenSSL", |
| 157 | "SPDX-license-identifier-Unicode-DFS", |
| 158 | "SPDX-license-identifier-W3C", |
| 159 | "legacy_unencumbered", |
| 160 | ], |
| 161 | license_text: [ |
| 162 | "licenses/libcore/LICENSE", |
| 163 | "licenses/libcore/NOTICE", |
| 164 | ], |
| 165 | } |
| 166 | |
| 167 | license { |
| 168 | name: "art-module-host-exports_libcore_license", |
| 169 | visibility: ["//visibility:private"], |
| 170 | license_kinds: [ |
| 171 | "SPDX-license-identifier-Apache-2.0", |
| 172 | "SPDX-license-identifier-BSD", |
| 173 | "SPDX-license-identifier-GPL", |
| 174 | "SPDX-license-identifier-GPL-2.0", |
| 175 | "SPDX-license-identifier-LGPL", |
| 176 | "SPDX-license-identifier-MIT", |
| 177 | "SPDX-license-identifier-OpenSSL", |
| 178 | "SPDX-license-identifier-Unicode-DFS", |
| 179 | "SPDX-license-identifier-W3C", |
| 180 | "legacy_unencumbered", |
| 181 | ], |
| 182 | license_text: [ |
| 183 | "licenses/libcore/LICENSE", |
| 184 | "licenses/libcore/NOTICE", |
| 185 | ], |
| 186 | } |
| 187 | |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 188 | cc_prebuilt_binary { |
| 189 | name: "art-module-host-exports_dex2oat@current", |
| 190 | sdk_member_name: "dex2oat", |
| 191 | visibility: ["//visibility:public"], |
| 192 | apex_available: [ |
| 193 | "com.android.art", |
| 194 | "com.android.art.debug", |
| 195 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 196 | licenses: ["art-module-host-exports_art_license@current"], |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 197 | device_supported: false, |
| 198 | host_supported: true, |
| 199 | installable: false, |
| 200 | stl: "c++_static", |
| 201 | compile_multilib: "64", |
| 202 | target: { |
| 203 | host: { |
| 204 | enabled: false, |
| 205 | }, |
| 206 | linux_glibc_x86_64: { |
| 207 | enabled: true, |
| 208 | srcs: ["x86_64/bin/dex2oat64"], |
| 209 | }, |
| 210 | }, |
| 211 | } |
| 212 | |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 213 | art_prebuilt_cc_prebuilt_binary { |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 214 | name: "dex2oat", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 215 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | bc01ff4 | 2020-12-15 02:51:58 +0000 | [diff] [blame] | 216 | prefer: true, |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 217 | soong_config_variables: { |
| 218 | source_build: { |
| 219 | prefer: false, |
| 220 | }, |
| 221 | }, |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 222 | visibility: ["//visibility:public"], |
| 223 | apex_available: [ |
| 224 | "com.android.art", |
| 225 | "com.android.art.debug", |
| 226 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 227 | licenses: ["art-module-host-exports_art_license"], |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 228 | device_supported: false, |
| 229 | host_supported: true, |
| 230 | stl: "c++_static", |
| 231 | compile_multilib: "64", |
| 232 | target: { |
| 233 | host: { |
| 234 | enabled: false, |
| 235 | }, |
| 236 | linux_glibc_x86_64: { |
| 237 | enabled: true, |
| 238 | srcs: ["x86_64/bin/dex2oat64"], |
| 239 | }, |
| 240 | }, |
| 241 | } |
| 242 | |
| 243 | cc_prebuilt_binary { |
| 244 | name: "art-module-host-exports_dex2oatd@current", |
| 245 | sdk_member_name: "dex2oatd", |
| 246 | visibility: ["//visibility:public"], |
| 247 | apex_available: ["com.android.art.debug"], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 248 | licenses: ["art-module-host-exports_art_license@current"], |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 249 | device_supported: false, |
| 250 | host_supported: true, |
| 251 | installable: false, |
| 252 | stl: "c++_static", |
| 253 | compile_multilib: "64", |
| 254 | target: { |
| 255 | host: { |
| 256 | enabled: false, |
| 257 | }, |
| 258 | linux_glibc_x86_64: { |
| 259 | enabled: true, |
| 260 | srcs: ["x86_64/bin/dex2oatd64"], |
| 261 | }, |
| 262 | }, |
| 263 | } |
| 264 | |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 265 | art_prebuilt_cc_prebuilt_binary { |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 266 | name: "dex2oatd", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 267 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | bc01ff4 | 2020-12-15 02:51:58 +0000 | [diff] [blame] | 268 | prefer: true, |
Martin Stjernholm | 8bd10a0 | 2020-12-05 01:47:50 +0000 | [diff] [blame] | 269 | soong_config_variables: { |
| 270 | source_build: { |
| 271 | prefer: false, |
| 272 | }, |
| 273 | }, |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 274 | visibility: ["//visibility:public"], |
| 275 | apex_available: ["com.android.art.debug"], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 276 | licenses: ["art-module-host-exports_art_license"], |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 277 | device_supported: false, |
| 278 | host_supported: true, |
| 279 | stl: "c++_static", |
| 280 | compile_multilib: "64", |
| 281 | target: { |
| 282 | host: { |
| 283 | enabled: false, |
| 284 | }, |
| 285 | linux_glibc_x86_64: { |
| 286 | enabled: true, |
| 287 | srcs: ["x86_64/bin/dex2oatd64"], |
| 288 | }, |
| 289 | }, |
| 290 | } |
| 291 | |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 292 | cc_prebuilt_binary { |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 293 | name: "art-module-host-exports_dexdump@current", |
| 294 | sdk_member_name: "dexdump", |
| 295 | visibility: [ |
| 296 | "//art:__subpackages__", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 297 | "//development/build", |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 298 | "//prebuilts:__subpackages__", |
| 299 | ], |
| 300 | apex_available: [ |
| 301 | "com.android.art", |
| 302 | "com.android.art.debug", |
| 303 | ], |
| 304 | licenses: ["art-module-host-exports_art_license@current"], |
| 305 | device_supported: false, |
| 306 | host_supported: true, |
| 307 | installable: false, |
| 308 | stl: "libc++_static", |
| 309 | compile_multilib: "64", |
| 310 | target: { |
| 311 | host: { |
| 312 | enabled: false, |
| 313 | }, |
| 314 | linux_glibc_x86_64: { |
| 315 | enabled: true, |
| 316 | srcs: ["x86_64/bin/dexdump"], |
| 317 | }, |
| 318 | }, |
| 319 | } |
| 320 | |
| 321 | art_prebuilt_cc_prebuilt_binary { |
| 322 | name: "dexdump", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 323 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 324 | prefer: true, |
| 325 | soong_config_variables: { |
| 326 | source_build: { |
| 327 | prefer: false, |
| 328 | }, |
| 329 | }, |
| 330 | visibility: [ |
| 331 | "//art:__subpackages__", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 332 | "//development/build", |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 333 | "//prebuilts:__subpackages__", |
| 334 | ], |
| 335 | apex_available: [ |
| 336 | "com.android.art", |
| 337 | "com.android.art.debug", |
| 338 | ], |
| 339 | licenses: ["art-module-host-exports_art_license"], |
| 340 | device_supported: false, |
| 341 | host_supported: true, |
| 342 | stl: "libc++_static", |
| 343 | compile_multilib: "64", |
| 344 | target: { |
| 345 | host: { |
| 346 | enabled: false, |
| 347 | }, |
| 348 | linux_glibc_x86_64: { |
| 349 | enabled: true, |
| 350 | srcs: ["x86_64/bin/dexdump"], |
| 351 | }, |
| 352 | }, |
| 353 | } |
| 354 | |
| 355 | cc_prebuilt_binary { |
| 356 | name: "art-module-host-exports_hiddenapi@current", |
| 357 | sdk_member_name: "hiddenapi", |
| 358 | visibility: [ |
| 359 | "//art:__subpackages__", |
| 360 | "//prebuilts:__subpackages__", |
| 361 | ], |
| 362 | apex_available: ["//apex_available:platform"], |
| 363 | licenses: ["art-module-host-exports_art_license@current"], |
| 364 | device_supported: false, |
| 365 | host_supported: true, |
| 366 | installable: false, |
| 367 | stl: "c++_static", |
| 368 | compile_multilib: "64", |
| 369 | target: { |
| 370 | host: { |
| 371 | enabled: false, |
| 372 | }, |
| 373 | linux_glibc_x86_64: { |
| 374 | enabled: true, |
| 375 | srcs: ["x86_64/bin/hiddenapi"], |
| 376 | }, |
| 377 | }, |
| 378 | } |
| 379 | |
| 380 | art_prebuilt_cc_prebuilt_binary { |
| 381 | name: "hiddenapi", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 382 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 383 | prefer: true, |
| 384 | soong_config_variables: { |
| 385 | source_build: { |
| 386 | prefer: false, |
| 387 | }, |
| 388 | }, |
| 389 | visibility: [ |
| 390 | "//art:__subpackages__", |
| 391 | "//prebuilts:__subpackages__", |
| 392 | ], |
| 393 | apex_available: ["//apex_available:platform"], |
| 394 | licenses: ["art-module-host-exports_art_license"], |
| 395 | device_supported: false, |
| 396 | host_supported: true, |
| 397 | stl: "c++_static", |
| 398 | compile_multilib: "64", |
| 399 | target: { |
| 400 | host: { |
| 401 | enabled: false, |
| 402 | }, |
| 403 | linux_glibc_x86_64: { |
| 404 | enabled: true, |
| 405 | srcs: ["x86_64/bin/hiddenapi"], |
| 406 | }, |
| 407 | }, |
| 408 | } |
| 409 | |
| 410 | cc_prebuilt_binary { |
| 411 | name: "art-module-host-exports_oatdump@current", |
| 412 | sdk_member_name: "oatdump", |
| 413 | visibility: [ |
| 414 | "//art:__subpackages__", |
| 415 | "//prebuilts:__subpackages__", |
| 416 | ], |
| 417 | apex_available: [ |
| 418 | "com.android.art", |
| 419 | "com.android.art.debug", |
| 420 | ], |
| 421 | licenses: ["art-module-host-exports_art_license@current"], |
| 422 | device_supported: false, |
| 423 | host_supported: true, |
| 424 | installable: false, |
| 425 | stl: "c++_static", |
| 426 | compile_multilib: "64", |
| 427 | target: { |
| 428 | host: { |
| 429 | enabled: false, |
| 430 | }, |
| 431 | linux_glibc_x86_64: { |
| 432 | enabled: true, |
| 433 | srcs: ["x86_64/bin/oatdump"], |
| 434 | }, |
| 435 | }, |
| 436 | } |
| 437 | |
| 438 | art_prebuilt_cc_prebuilt_binary { |
| 439 | name: "oatdump", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 440 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 441 | prefer: true, |
| 442 | soong_config_variables: { |
| 443 | source_build: { |
| 444 | prefer: false, |
| 445 | }, |
| 446 | }, |
| 447 | visibility: [ |
| 448 | "//art:__subpackages__", |
| 449 | "//prebuilts:__subpackages__", |
| 450 | ], |
| 451 | apex_available: [ |
| 452 | "com.android.art", |
| 453 | "com.android.art.debug", |
| 454 | ], |
| 455 | licenses: ["art-module-host-exports_art_license"], |
| 456 | device_supported: false, |
| 457 | host_supported: true, |
| 458 | stl: "c++_static", |
| 459 | compile_multilib: "64", |
| 460 | target: { |
| 461 | host: { |
| 462 | enabled: false, |
| 463 | }, |
| 464 | linux_glibc_x86_64: { |
| 465 | enabled: true, |
| 466 | srcs: ["x86_64/bin/oatdump"], |
| 467 | }, |
| 468 | }, |
| 469 | } |
| 470 | |
| 471 | cc_prebuilt_binary { |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 472 | name: "art-module-host-exports_profman@current", |
| 473 | sdk_member_name: "profman", |
| 474 | visibility: [ |
| 475 | "//art:__subpackages__", |
| 476 | "//prebuilts:__subpackages__", |
| 477 | ], |
| 478 | apex_available: [ |
| 479 | "com.android.art", |
| 480 | "com.android.art.debug", |
| 481 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 482 | licenses: ["art-module-host-exports_art_license@current"], |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 483 | device_supported: false, |
| 484 | host_supported: true, |
| 485 | installable: false, |
| 486 | stl: "c++_static", |
| 487 | compile_multilib: "64", |
| 488 | target: { |
| 489 | host: { |
| 490 | enabled: false, |
| 491 | }, |
| 492 | linux_glibc_x86_64: { |
| 493 | enabled: true, |
| 494 | srcs: ["x86_64/bin/profman"], |
| 495 | }, |
| 496 | }, |
| 497 | } |
| 498 | |
| 499 | art_prebuilt_cc_prebuilt_binary { |
| 500 | name: "profman", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 501 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 502 | prefer: true, |
| 503 | soong_config_variables: { |
| 504 | source_build: { |
| 505 | prefer: false, |
| 506 | }, |
| 507 | }, |
| 508 | visibility: [ |
| 509 | "//art:__subpackages__", |
| 510 | "//prebuilts:__subpackages__", |
| 511 | ], |
| 512 | apex_available: [ |
| 513 | "com.android.art", |
| 514 | "com.android.art.debug", |
| 515 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 516 | licenses: ["art-module-host-exports_art_license"], |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 517 | device_supported: false, |
| 518 | host_supported: true, |
| 519 | stl: "c++_static", |
| 520 | compile_multilib: "64", |
| 521 | target: { |
| 522 | host: { |
| 523 | enabled: false, |
| 524 | }, |
| 525 | linux_glibc_x86_64: { |
| 526 | enabled: true, |
| 527 | srcs: ["x86_64/bin/profman"], |
| 528 | }, |
| 529 | }, |
| 530 | } |
| 531 | |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 532 | cc_prebuilt_binary { |
| 533 | name: "art-module-host-exports_veridex@current", |
| 534 | sdk_member_name: "veridex", |
| 535 | visibility: [ |
| 536 | "//art:__subpackages__", |
| 537 | "//prebuilts:__subpackages__", |
| 538 | ], |
| 539 | apex_available: ["//apex_available:platform"], |
| 540 | licenses: ["art-module-host-exports_art_license@current"], |
| 541 | device_supported: false, |
| 542 | host_supported: true, |
| 543 | installable: false, |
| 544 | stl: "libc++_static", |
| 545 | compile_multilib: "64", |
| 546 | target: { |
| 547 | host: { |
| 548 | enabled: false, |
| 549 | }, |
| 550 | linux_glibc_x86_64: { |
| 551 | enabled: true, |
| 552 | srcs: ["x86_64/bin/veridex"], |
| 553 | }, |
| 554 | }, |
| 555 | } |
| 556 | |
| 557 | art_prebuilt_cc_prebuilt_binary { |
| 558 | name: "veridex", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 559 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 560 | prefer: true, |
| 561 | soong_config_variables: { |
| 562 | source_build: { |
| 563 | prefer: false, |
| 564 | }, |
| 565 | }, |
| 566 | visibility: [ |
| 567 | "//art:__subpackages__", |
| 568 | "//prebuilts:__subpackages__", |
| 569 | ], |
| 570 | apex_available: ["//apex_available:platform"], |
| 571 | licenses: ["art-module-host-exports_art_license"], |
| 572 | device_supported: false, |
| 573 | host_supported: true, |
| 574 | stl: "libc++_static", |
| 575 | compile_multilib: "64", |
| 576 | target: { |
| 577 | host: { |
| 578 | enabled: false, |
| 579 | }, |
| 580 | linux_glibc_x86_64: { |
| 581 | enabled: true, |
| 582 | srcs: ["x86_64/bin/veridex"], |
| 583 | }, |
| 584 | }, |
| 585 | } |
| 586 | |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 587 | cc_prebuilt_library { |
| 588 | name: "art-module-host-exports_libartpalette@current", |
| 589 | sdk_member_name: "libartpalette", |
| 590 | visibility: [ |
| 591 | "//art:__subpackages__", |
| 592 | "//prebuilts/module_sdk/art/current/host-exports", |
| 593 | "//prebuilts:__subpackages__", |
| 594 | ], |
| 595 | apex_available: [ |
| 596 | "com.android.art", |
| 597 | "com.android.art.debug", |
| 598 | "com.android.runtime", |
| 599 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 600 | licenses: ["art-module-host-exports_art_license@current"], |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 601 | device_supported: false, |
| 602 | host_supported: true, |
| 603 | installable: false, |
| 604 | compile_multilib: "64", |
| 605 | export_include_dirs: ["include/art/libartpalette/include"], |
| 606 | target: { |
| 607 | host: { |
| 608 | enabled: false, |
| 609 | }, |
| 610 | linux_glibc_x86_64: { |
| 611 | enabled: true, |
| 612 | static: { |
| 613 | srcs: ["x86_64/lib/libartpalette.a"], |
| 614 | }, |
| 615 | shared: { |
| 616 | srcs: ["x86_64/lib/libartpalette.so"], |
| 617 | shared_libs: [ |
| 618 | "libbase", |
| 619 | "liblog", |
| 620 | ], |
| 621 | }, |
| 622 | }, |
| 623 | }, |
| 624 | } |
| 625 | |
| 626 | art_prebuilt_cc_prebuilt_library { |
| 627 | name: "libartpalette", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 628 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 629 | prefer: true, |
| 630 | soong_config_variables: { |
| 631 | source_build: { |
| 632 | prefer: false, |
| 633 | }, |
| 634 | }, |
| 635 | visibility: [ |
| 636 | "//art:__subpackages__", |
| 637 | "//prebuilts/module_sdk/art/current/host-exports", |
| 638 | "//prebuilts:__subpackages__", |
| 639 | ], |
| 640 | apex_available: [ |
| 641 | "com.android.art", |
| 642 | "com.android.art.debug", |
| 643 | "com.android.runtime", |
| 644 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 645 | licenses: ["art-module-host-exports_art_license"], |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 646 | device_supported: false, |
| 647 | host_supported: true, |
| 648 | compile_multilib: "64", |
| 649 | export_include_dirs: ["include/art/libartpalette/include"], |
| 650 | target: { |
| 651 | host: { |
| 652 | enabled: false, |
| 653 | }, |
| 654 | linux_glibc_x86_64: { |
| 655 | enabled: true, |
| 656 | static: { |
| 657 | srcs: ["x86_64/lib/libartpalette.a"], |
| 658 | }, |
| 659 | shared: { |
| 660 | srcs: ["x86_64/lib/libartpalette.so"], |
| 661 | shared_libs: [ |
| 662 | "libbase", |
| 663 | "liblog", |
| 664 | ], |
| 665 | }, |
| 666 | }, |
| 667 | }, |
| 668 | } |
| 669 | |
| 670 | cc_prebuilt_library { |
| 671 | name: "art-module-host-exports_libartbase@current", |
| 672 | sdk_member_name: "libartbase", |
| 673 | visibility: [ |
| 674 | "//art:__subpackages__", |
| 675 | "//packages/modules/NetworkStack/tests:__subpackages__", |
| 676 | "//prebuilts/module_sdk/art/current/host-exports", |
| 677 | "//prebuilts:__subpackages__", |
| 678 | ], |
| 679 | apex_available: [ |
| 680 | "com.android.art", |
| 681 | "com.android.art.debug", |
| 682 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 683 | licenses: ["art-module-host-exports_art_license@current"], |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 684 | device_supported: false, |
| 685 | host_supported: true, |
| 686 | installable: false, |
| 687 | compile_multilib: "64", |
| 688 | shared_libs: [ |
| 689 | "libbase", |
| 690 | "libziparchive", |
| 691 | "libz", |
| 692 | "liblog", |
| 693 | "art-module-host-exports_libartpalette@current", |
| 694 | ], |
| 695 | export_include_dirs: [ |
| 696 | "include/art/libartbase", |
| 697 | "include/system/libbase/include", |
| 698 | "include/external/fmtlib/include", |
| 699 | ], |
| 700 | target: { |
| 701 | host: { |
| 702 | enabled: false, |
| 703 | }, |
| 704 | linux_glibc_x86_64: { |
| 705 | enabled: true, |
| 706 | static: { |
| 707 | srcs: ["x86_64/lib/libartbase.a"], |
| 708 | }, |
| 709 | shared: { |
| 710 | srcs: ["x86_64/lib/libartbase.so"], |
| 711 | }, |
| 712 | }, |
| 713 | }, |
| 714 | } |
| 715 | |
| 716 | art_prebuilt_cc_prebuilt_library { |
| 717 | name: "libartbase", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 718 | // Do not prefer prebuilt if the Soong config variable "source_build" in namespace "art_module" is true. |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 719 | prefer: true, |
| 720 | soong_config_variables: { |
| 721 | source_build: { |
| 722 | prefer: false, |
| 723 | }, |
| 724 | }, |
| 725 | visibility: [ |
| 726 | "//art:__subpackages__", |
| 727 | "//packages/modules/NetworkStack/tests:__subpackages__", |
| 728 | "//prebuilts/module_sdk/art/current/host-exports", |
| 729 | "//prebuilts:__subpackages__", |
| 730 | ], |
| 731 | apex_available: [ |
| 732 | "com.android.art", |
| 733 | "com.android.art.debug", |
| 734 | ], |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 735 | licenses: ["art-module-host-exports_art_license"], |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 736 | device_supported: false, |
| 737 | host_supported: true, |
| 738 | compile_multilib: "64", |
| 739 | shared_libs: [ |
| 740 | "libbase", |
| 741 | "libziparchive", |
| 742 | "libz", |
| 743 | "liblog", |
| 744 | "libartpalette", |
| 745 | ], |
| 746 | export_include_dirs: [ |
| 747 | "include/art/libartbase", |
| 748 | "include/system/libbase/include", |
| 749 | "include/external/fmtlib/include", |
| 750 | ], |
| 751 | target: { |
| 752 | host: { |
| 753 | enabled: false, |
| 754 | }, |
| 755 | linux_glibc_x86_64: { |
| 756 | enabled: true, |
| 757 | static: { |
| 758 | srcs: ["x86_64/lib/libartbase.a"], |
| 759 | }, |
| 760 | shared: { |
| 761 | srcs: ["x86_64/lib/libartbase.so"], |
| 762 | }, |
| 763 | }, |
| 764 | }, |
| 765 | } |
| 766 | |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 767 | module_exports_snapshot { |
| 768 | name: "art-module-host-exports@current", |
| 769 | visibility: ["//art:__subpackages__"], |
| 770 | host_supported: true, |
| 771 | target: { |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 772 | android: { |
| 773 | java_libs: ["art-module-host-exports_okhttp-norepackage@current"], |
| 774 | }, |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 775 | linux_glibc: { |
| 776 | compile_multilib: "64", |
| 777 | java_libs: [ |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 778 | "art-module-host-exports_okhttp-norepackage@current", |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 779 | "art-module-host-exports_art.module.api.annotations@current", |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 780 | ], |
| 781 | native_binaries: [ |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 782 | "art-module-host-exports_dex2oat@current", |
| 783 | "art-module-host-exports_dex2oatd@current", |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 784 | "art-module-host-exports_dexdump@current", |
| 785 | "art-module-host-exports_hiddenapi@current", |
| 786 | "art-module-host-exports_oatdump@current", |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 787 | "art-module-host-exports_profman@current", |
Martin Stjernholm | c5cb0bf | 2021-05-24 17:21:58 +0100 | [diff] [blame] | 788 | "art-module-host-exports_veridex@current", |
Martin Stjernholm | 4fb5111 | 2021-04-30 11:53:52 +0100 | [diff] [blame] | 789 | ], |
| 790 | native_libs: [ |
| 791 | "art-module-host-exports_libartpalette@current", |
| 792 | "art-module-host-exports_libartbase@current", |
Martin Stjernholm | c15e7e4 | 2020-12-02 22:50:53 +0000 | [diff] [blame] | 793 | ], |
| 794 | }, |
| 795 | host: { |
| 796 | enabled: false, |
| 797 | }, |
| 798 | linux_glibc_x86_64: { |
| 799 | enabled: true, |
| 800 | }, |
| 801 | }, |
android-t1 | 3d2c5b2 | 2022-10-12 13:43:18 +0800 | [diff] [blame] | 802 | } |