| 1 |
load("@rules_cc//cc:defs.bzl", "cc_toolchain") |
| 2 |
load(":ios_toolchain_config.bzl", "provide_ios_toolchain_config") |
| 3 |
load(":linux_amd64_toolchain_config.bzl", "provide_linux_amd64_toolchain_config") |
| 4 |
load(":mac_toolchain_config.bzl", "provide_mac_toolchain_config") |
| 5 |
load(":ndk_linux_arm64_toolchain_config.bzl", "ndk_cc_toolchain_config") |
| 6 |
load(":windows_toolchain_config.bzl", "provide_windows_amd64_toolchain_config") |
| 7 |
|
| 8 |
package( |
| 9 |
default_applicable_licenses = ["//:license"], |
| 10 |
) |
| 11 |
|
| 12 |
licenses(["notice"]) |
| 13 |
|
| 14 |
# https://bazel.build/docs/toolchains |
| 15 |
# https://bazel.build/reference/be/platform#toolchain |
| 16 |
toolchain( |
| 17 |
name = "clang_linux_x64_toolchain", |
| 18 |
# Where should we run this toolchain? |
| 19 |
exec_compatible_with = [ |
| 20 |
"@platforms//os:linux", |
| 21 |
"@platforms//cpu:x86_64", |
| 22 |
# We do not want an extra constraint here related to the hermetic toolchain because |
| 23 |
# we want the toolchain to run on any Linux x64 machine (and it certainly can). |
| 24 |
], |
| 25 |
# What can this toolchain build? |
| 26 |
target_compatible_with = [ |
| 27 |
"@platforms//os:linux", |
| 28 |
"@platforms//cpu:x86_64", |
| 29 |
# We want to be able to explicitly tell Bazel to use this toolchain, and not the |
| 30 |
# default one on a user's machine or on the RBE worker. Thus we need an extra constraint |
| 31 |
# that we can use to differentiate the "stock" C++ toolchain from our hermetic one and |
| 32 |
# force that use by specifying the target platform. |
| 33 |
"//bazel/platform:use_hermetic_toolchain", |
| 34 |
], |
| 35 |
toolchain = ":linux_amd64_host", |
| 36 |
# https://github.com/bazelbuild/rules_cc/blob/8bb0eb5c5ccd96b91753bb112096bb6993d16d13/cc/BUILD#L32-L36 |
| 37 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 38 |
) |
| 39 |
|
| 40 |
# Our one mac toolchain can run on either Intel Macs or M1 Macs, however Bazel does not allow you to specify |
| 41 |
# more than one cpu type in exec_compatible_with. Thus, we list the same toolchain twice. |
| 42 |
toolchain( |
| 43 |
name = "clang_mac_x64_toolchain", |
| 44 |
exec_compatible_with = [ |
| 45 |
"@platforms//os:macos", |
| 46 |
"@platforms//cpu:x86_64", |
| 47 |
], |
| 48 |
target_compatible_with = [ |
| 49 |
"@platforms//os:macos", |
| 50 |
"@platforms//cpu:x86_64", |
| 51 |
"//bazel/platform:use_hermetic_toolchain", |
| 52 |
], |
| 53 |
toolchain = ":mac_host_and_target_match", |
| 54 |
# https://github.com/bazelbuild/rules_cc/blob/8bb0eb5c5ccd96b91753bb112096bb6993d16d13/cc/BUILD#L32-L36 |
| 55 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 56 |
) |
| 57 |
|
| 58 |
toolchain( |
| 59 |
name = "clang_mac_arm64_toolchain", |
| 60 |
exec_compatible_with = [ |
| 61 |
"@platforms//os:macos", |
| 62 |
"@platforms//cpu:arm64", |
| 63 |
], |
| 64 |
target_compatible_with = [ |
| 65 |
"@platforms//os:macos", |
| 66 |
"@platforms//cpu:arm64", |
| 67 |
"//bazel/platform:use_hermetic_toolchain", |
| 68 |
], |
| 69 |
toolchain = ":mac_host_and_target_match", |
| 70 |
# https://github.com/bazelbuild/rules_cc/blob/8bb0eb5c5ccd96b91753bb112096bb6993d16d13/cc/BUILD#L32-L36 |
| 71 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 72 |
) |
| 73 |
|
| 74 |
# Cross compilation toolchain for an Intel Mac host and Apple silicon target |
| 75 |
toolchain( |
| 76 |
name = "clang_host_mac_x64_target_mac_arm64_toolchain", |
| 77 |
exec_compatible_with = [ |
| 78 |
"@platforms//os:macos", |
| 79 |
"@platforms//cpu:x86_64", |
| 80 |
], |
| 81 |
target_compatible_with = [ |
| 82 |
"@platforms//os:macos", |
| 83 |
"@platforms//cpu:arm64", |
| 84 |
"//bazel/platform:use_hermetic_toolchain", |
| 85 |
], |
| 86 |
toolchain = ":mac_target_arm64", |
| 87 |
# https://github.com/bazelbuild/rules_cc/blob/8bb0eb5c5ccd96b91753bb112096bb6993d16d13/cc/BUILD#L32-L36 |
| 88 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 89 |
) |
| 90 |
|
| 91 |
toolchain( |
| 92 |
name = "clang_host_mac_arm64_target_mac_x64_toolchain", |
| 93 |
exec_compatible_with = [ |
| 94 |
"@platforms//os:macos", |
| 95 |
"@platforms//cpu:arm64", |
| 96 |
], |
| 97 |
target_compatible_with = [ |
| 98 |
"@platforms//os:macos", |
| 99 |
"@platforms//cpu:x86_64", |
| 100 |
"//bazel/platform:use_hermetic_toolchain", |
| 101 |
], |
| 102 |
toolchain = ":mac_target_x64", |
| 103 |
# https://github.com/bazelbuild/rules_cc/blob/8bb0eb5c5ccd96b91753bb112096bb6993d16d13/cc/BUILD#L32-L36 |
| 104 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 105 |
) |
| 106 |
|
| 107 |
# Windows x64 toolchain. |
| 108 |
toolchain( |
| 109 |
name = "clang_windows_x64_toolchain", |
| 110 |
exec_compatible_with = [ |
| 111 |
"@platforms//os:windows", |
| 112 |
"@platforms//cpu:x86_64", |
| 113 |
], |
| 114 |
target_compatible_with = [ |
| 115 |
"@platforms//os:windows", |
| 116 |
"@platforms//cpu:x86_64", |
| 117 |
"//bazel/platform:use_hermetic_toolchain", |
| 118 |
], |
| 119 |
toolchain = ":windows_host", |
| 120 |
# https://github.com/bazelbuild/rules_cc/blob/8bb0eb5c5ccd96b91753bb112096bb6993d16d13/cc/BUILD#L32-L36 |
| 121 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 122 |
) |
| 123 |
|
| 124 |
toolchain( |
| 125 |
name = "clang_ios_arm64_toolchain", |
| 126 |
exec_compatible_with = [ |
| 127 |
"@platforms//os:macos", |
| 128 |
"@platforms//cpu:arm64", |
| 129 |
], |
| 130 |
target_compatible_with = [ |
| 131 |
"@platforms//os:ios", |
| 132 |
"@platforms//cpu:arm64", |
| 133 |
], |
| 134 |
toolchain = ":ios_target_arm64", |
| 135 |
# https://github.com/bazelbuild/rules_cc/blob/8bb0eb5c5ccd96b91753bb112096bb6993d16d13/cc/BUILD#L32-L36 |
| 136 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 137 |
) |
| 138 |
|
| 139 |
# Based on: |
| 140 |
# https://skia.googlesource.com/skcms/+/ba39d81f9797aa973bdf01aa6b0363b280352fba/toolchain/BUILD.bazel#28 |
| 141 |
toolchain( |
| 142 |
name = "linux_amd64_ndk_arm64_toolchain", |
| 143 |
exec_compatible_with = [ |
| 144 |
"@platforms//os:linux", |
| 145 |
"@platforms//cpu:x86_64", |
| 146 |
], |
| 147 |
target_compatible_with = [ |
| 148 |
"@platforms//os:android", |
| 149 |
"@platforms//cpu:arm64", |
| 150 |
], |
| 151 |
toolchain = ":linux_amd64_ndk_arm64", |
| 152 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 153 |
) |
| 154 |
|
| 155 |
# Based on: |
| 156 |
# https://skia.googlesource.com/skcms/+/ba39d81f9797aa973bdf01aa6b0363b280352fba/toolchain/BUILD.bazel#42 |
| 157 |
toolchain( |
| 158 |
name = "linux_amd64_ndk_arm32_toolchain", |
| 159 |
exec_compatible_with = [ |
| 160 |
"@platforms//os:linux", |
| 161 |
"@platforms//cpu:x86_64", |
| 162 |
], |
| 163 |
target_compatible_with = [ |
| 164 |
"@platforms//os:android", |
| 165 |
"@platforms//cpu:armv7", |
| 166 |
], |
| 167 |
toolchain = ":linux_amd64_ndk_arm32", |
| 168 |
toolchain_type = "@rules_cc//cc:toolchain_type", |
| 169 |
) |
| 170 |
|
| 171 |
filegroup(name = "not_implemented") |
| 172 |
|
| 173 |
filegroup( |
| 174 |
name = "archive_linux_amd64_files", |
| 175 |
srcs = [ |
| 176 |
"linux_trampolines/ar_trampoline_linux.sh", |
| 177 |
"@clang_linux_amd64//:archive_files", |
| 178 |
], |
| 179 |
) |
| 180 |
|
| 181 |
filegroup( |
| 182 |
name = "compile_linux_amd64_files", |
| 183 |
srcs = [ |
| 184 |
"linux_trampolines/clang_trampoline_linux.sh", |
| 185 |
"@clang_linux_amd64//:compile_files", |
| 186 |
], |
| 187 |
) |
| 188 |
|
| 189 |
filegroup( |
| 190 |
name = "link_linux_amd64_files", |
| 191 |
srcs = [ |
| 192 |
# Bazel usually assumes it is talking to Clang when linking. |
| 193 |
"linux_trampolines/clang_trampoline_linux.sh", |
| 194 |
"@clang_linux_amd64//:link_files", |
| 195 |
], |
| 196 |
) |
| 197 |
|
| 198 |
filegroup( |
| 199 |
name = "all_linux_amd64_files", |
| 200 |
srcs = [ |
| 201 |
":archive_linux_amd64_files", |
| 202 |
":compile_linux_amd64_files", |
| 203 |
":link_linux_amd64_files", |
| 204 |
], |
| 205 |
) |
| 206 |
|
| 207 |
filegroup( |
| 208 |
name = "archive_mac_files", |
| 209 |
srcs = [ |
| 210 |
"mac_trampolines/ar_trampoline_mac.sh", |
| 211 |
"@clang_mac//:archive_files", |
| 212 |
], |
| 213 |
) |
| 214 |
|
| 215 |
filegroup( |
| 216 |
name = "compile_mac_files", |
| 217 |
srcs = [ |
| 218 |
"mac_trampolines/clang_trampoline_mac.sh", |
| 219 |
"@clang_mac//:compile_files", |
| 220 |
], |
| 221 |
) |
| 222 |
|
| 223 |
filegroup( |
| 224 |
name = "link_mac_files", |
| 225 |
srcs = [ |
| 226 |
"mac_trampolines/clang_trampoline_mac.sh", |
| 227 |
"@clang_mac//:link_files", |
| 228 |
], |
| 229 |
) |
| 230 |
|
| 231 |
filegroup( |
| 232 |
name = "all_mac_files", |
| 233 |
srcs = [ |
| 234 |
":archive_mac_files", |
| 235 |
":compile_mac_files", |
| 236 |
":link_mac_files", |
| 237 |
], |
| 238 |
) |
| 239 |
|
| 240 |
filegroup( |
| 241 |
name = "archive_windows_files", |
| 242 |
srcs = [ |
| 243 |
"windows_trampolines/ar_trampoline_windows.bat", |
| 244 |
"@clang_windows_amd64//:archive_files", |
| 245 |
], |
| 246 |
) |
| 247 |
|
| 248 |
filegroup( |
| 249 |
name = "compile_windows_files", |
| 250 |
srcs = [ |
| 251 |
"windows_trampolines/clang_trampoline_windows.bat", |
| 252 |
"@clang_windows_amd64//:compile_files", |
| 253 |
], |
| 254 |
) |
| 255 |
|
| 256 |
filegroup( |
| 257 |
name = "link_windows_files", |
| 258 |
srcs = [ |
| 259 |
# Bazel usually assumes it is talking to Clang when linking. |
| 260 |
"windows_trampolines/clang_trampoline_windows.bat", |
| 261 |
"@clang_windows_amd64//:link_files", |
| 262 |
], |
| 263 |
) |
| 264 |
|
| 265 |
filegroup( |
| 266 |
name = "all_windows_files", |
| 267 |
srcs = [ |
| 268 |
":archive_windows_files", |
| 269 |
":compile_windows_files", |
| 270 |
":link_windows_files", |
| 271 |
], |
| 272 |
) |
| 273 |
|
| 274 |
filegroup( |
| 275 |
name = "archive_ios_files", |
| 276 |
srcs = [ |
| 277 |
"ios_trampolines/ar_trampoline_ios.sh", |
| 278 |
"@clang_ios//:archive_files", |
| 279 |
], |
| 280 |
) |
| 281 |
|
| 282 |
filegroup( |
| 283 |
name = "compile_ios_files", |
| 284 |
srcs = [ |
| 285 |
"ios_trampolines/clang_trampoline_ios.sh", |
| 286 |
"@clang_ios//:compile_files", |
| 287 |
], |
| 288 |
) |
| 289 |
|
| 290 |
filegroup( |
| 291 |
name = "link_ios_files", |
| 292 |
srcs = [ |
| 293 |
"ios_trampolines/clang_trampoline_ios.sh", |
| 294 |
"@clang_ios//:link_files", |
| 295 |
], |
| 296 |
) |
| 297 |
|
| 298 |
filegroup( |
| 299 |
name = "all_ios_files", |
| 300 |
srcs = [ |
| 301 |
":compile_ios_files", |
| 302 |
":link_ios_files", |
| 303 |
], |
| 304 |
) |
| 305 |
|
| 306 |
provide_linux_amd64_toolchain_config( |
| 307 |
name = "linux_amd64_toolchain_config", |
| 308 |
) |
| 309 |
|
| 310 |
provide_mac_toolchain_config( |
| 311 |
name = "mac_host_toolchain_config", |
| 312 |
) |
| 313 |
|
| 314 |
provide_mac_toolchain_config( |
| 315 |
name = "mac_arm64_toolchain_config", |
| 316 |
cpu = "arm64", |
| 317 |
) |
| 318 |
|
| 319 |
provide_mac_toolchain_config( |
| 320 |
name = "mac_x64_toolchain_config", |
| 321 |
cpu = "x64", |
| 322 |
) |
| 323 |
|
| 324 |
provide_windows_amd64_toolchain_config( |
| 325 |
name = "windows_amd64_toolchain_config", |
| 326 |
) |
| 327 |
|
| 328 |
provide_ios_toolchain_config( |
| 329 |
name = "ios_arm64_toolchain_config", |
| 330 |
cpu = "arm64", |
| 331 |
) |
| 332 |
|
| 333 |
# https://bazel.build/reference/be/c-cpp#cc_toolchain |
| 334 |
cc_toolchain( |
| 335 |
name = "linux_amd64_host", |
| 336 |
# Use by the rust toolchain when linking |
| 337 |
# https://github.com/bazelbuild/rules_rust/blob/dab425760656c449d3a0f73c490be92c240b6ef2/rust/private/rustc.bzl#L627 |
| 338 |
all_files = ":all_linux_amd64_files", |
| 339 |
ar_files = ":archive_linux_amd64_files", |
| 340 |
compiler_files = ":compile_linux_amd64_files", |
| 341 |
dwp_files = ":not_implemented", |
| 342 |
linker_files = ":link_linux_amd64_files", |
| 343 |
module_map = "@clang_linux_amd64//:generated_module_map", |
| 344 |
objcopy_files = ":not_implemented", |
| 345 |
strip_files = ":not_implemented", |
| 346 |
supports_param_files = False, |
| 347 |
toolchain_config = ":linux_amd64_toolchain_config", |
| 348 |
) |
| 349 |
|
| 350 |
cc_toolchain( |
| 351 |
name = "mac_host_and_target_match", |
| 352 |
all_files = ":all_mac_files", # Apparently also used to compile objc code |
| 353 |
ar_files = ":archive_mac_files", |
| 354 |
compiler_files = ":compile_mac_files", |
| 355 |
dwp_files = ":not_implemented", |
| 356 |
linker_files = ":link_mac_files", |
| 357 |
module_map = "@clang_mac//:generated_module_map", |
| 358 |
objcopy_files = ":not_implemented", |
| 359 |
strip_files = ":not_implemented", |
| 360 |
supports_param_files = False, |
| 361 |
toolchain_config = ":mac_host_toolchain_config", |
| 362 |
) |
| 363 |
|
| 364 |
cc_toolchain( |
| 365 |
name = "mac_target_arm64", |
| 366 |
all_files = ":all_mac_files", # Apparently also used to compile objc code |
| 367 |
ar_files = ":archive_mac_files", |
| 368 |
compiler_files = ":compile_mac_files", |
| 369 |
dwp_files = ":not_implemented", |
| 370 |
linker_files = ":link_mac_files", |
| 371 |
module_map = "@clang_mac//:generated_module_map", |
| 372 |
objcopy_files = ":not_implemented", |
| 373 |
strip_files = ":not_implemented", |
| 374 |
supports_param_files = False, |
| 375 |
toolchain_config = ":mac_arm64_toolchain_config", |
| 376 |
) |
| 377 |
|
| 378 |
cc_toolchain( |
| 379 |
name = "mac_target_x64", |
| 380 |
all_files = ":all_mac_files", # Apparently also used to compile objc code |
| 381 |
ar_files = ":archive_mac_files", |
| 382 |
compiler_files = ":compile_mac_files", |
| 383 |
dwp_files = ":not_implemented", |
| 384 |
linker_files = ":link_mac_files", |
| 385 |
module_map = "@clang_mac//:generated_module_map", |
| 386 |
objcopy_files = ":not_implemented", |
| 387 |
strip_files = ":not_implemented", |
| 388 |
supports_param_files = False, |
| 389 |
toolchain_config = ":mac_x64_toolchain_config", |
| 390 |
) |
| 391 |
|
| 392 |
cc_toolchain( |
| 393 |
name = "windows_host", |
| 394 |
all_files = ":all_windows_files", |
| 395 |
ar_files = ":archive_windows_files", |
| 396 |
compiler_files = ":compile_windows_files", |
| 397 |
dwp_files = ":not_implemented", |
| 398 |
linker_files = ":link_windows_files", |
| 399 |
objcopy_files = ":not_implemented", |
| 400 |
strip_files = ":not_implemented", |
| 401 |
supports_param_files = True, |
| 402 |
toolchain_config = ":windows_amd64_toolchain_config", |
| 403 |
) |
| 404 |
|
| 405 |
cc_toolchain( |
| 406 |
name = "ios_target_arm64", |
| 407 |
all_files = ":all_ios_files", # Apparently also used to compile objc code |
| 408 |
ar_files = ":archive_ios_files", |
| 409 |
compiler_files = ":compile_ios_files", |
| 410 |
dwp_files = ":not_implemented", |
| 411 |
linker_files = ":link_ios_files", |
| 412 |
module_map = "@clang_ios//:generated_module_map", |
| 413 |
objcopy_files = ":not_implemented", |
| 414 |
strip_files = ":not_implemented", |
| 415 |
supports_param_files = False, |
| 416 |
toolchain_config = ":ios_arm64_toolchain_config", |
| 417 |
) |
| 418 |
|
| 419 |
filegroup( |
| 420 |
name = "ndk_arm64_v8a_toolchain_all_files", |
| 421 |
srcs = [ |
| 422 |
"android_trampolines/aarch64-linux-android-ar.sh", |
| 423 |
"android_trampolines/aarch64-linux-android-dwp.sh", |
| 424 |
"android_trampolines/aarch64-linux-android-ld.sh", |
| 425 |
"android_trampolines/aarch64-linux-android-nm.sh", |
| 426 |
"android_trampolines/aarch64-linux-android-objcopy.sh", |
| 427 |
"android_trampolines/aarch64-linux-android-objdump.sh", |
| 428 |
"android_trampolines/aarch64-linux-android-strip.sh", |
| 429 |
"android_trampolines/clang.sh", |
| 430 |
] + ["@ndk_linux_amd64//:arm64_v8a_all_files"], |
| 431 |
) |
| 432 |
|
| 433 |
ndk_cc_toolchain_config( |
| 434 |
name = "ndk_arm64_v8a_toolchain_config", |
| 435 |
cpu = "arm64-v8a", |
| 436 |
) |
| 437 |
|
| 438 |
# Based on: |
| 439 |
# https://skia.googlesource.com/skcms/+/ba39d81f9797aa973bdf01aa6b0363b280352fba/toolchain/BUILD.bazel#109 |
| 440 |
cc_toolchain( |
| 441 |
name = "linux_amd64_ndk_arm64", |
| 442 |
all_files = ":ndk_arm64_v8a_toolchain_all_files", |
| 443 |
ar_files = ":ndk_arm64_v8a_toolchain_all_files", |
| 444 |
compiler_files = ":ndk_arm64_v8a_toolchain_all_files", |
| 445 |
dwp_files = ":not_implemented", |
| 446 |
dynamic_runtime_lib = "@ndk_linux_amd64//:arm64_v8a_dynamic_runtime_libraries", |
| 447 |
linker_files = ":ndk_arm64_v8a_toolchain_all_files", |
| 448 |
objcopy_files = ":not_implemented", |
| 449 |
static_runtime_lib = "@ndk_linux_amd64//:arm64_v8a_static_runtime_libraries", |
| 450 |
strip_files = ":not_implemented", |
| 451 |
supports_param_files = False, |
| 452 |
toolchain_config = ":ndk_arm64_v8a_toolchain_config", |
| 453 |
) |
| 454 |
|
| 455 |
filegroup( |
| 456 |
name = "ndk_armeabi_v7a_toolchain_all_files", |
| 457 |
srcs = [ |
| 458 |
"android_trampolines/arm-linux-androideabi-ar.sh", |
| 459 |
"android_trampolines/arm-linux-androideabi-dwp.sh", |
| 460 |
"android_trampolines/arm-linux-androideabi-ld.sh", |
| 461 |
"android_trampolines/arm-linux-androideabi-nm.sh", |
| 462 |
"android_trampolines/arm-linux-androideabi-objcopy.sh", |
| 463 |
"android_trampolines/arm-linux-androideabi-objdump.sh", |
| 464 |
"android_trampolines/arm-linux-androideabi-strip.sh", |
| 465 |
"android_trampolines/clang.sh", |
| 466 |
] + ["@ndk_linux_amd64//:armeabi_v7a_all_files"], |
| 467 |
) |
| 468 |
|
| 469 |
ndk_cc_toolchain_config( |
| 470 |
name = "ndk_armeabi_v7a_toolchain_config", |
| 471 |
cpu = "armeabi-v7a", |
| 472 |
) |
| 473 |
|
| 474 |
# Based on: |
| 475 |
# https://skia.googlesource.com/skcms/+/ba39d81f9797aa973bdf01aa6b0363b280352fba/toolchain/BUILD.bazel#139 |
| 476 |
cc_toolchain( |
| 477 |
name = "linux_amd64_ndk_arm32", |
| 478 |
all_files = ":ndk_armeabi_v7a_toolchain_all_files", |
| 479 |
ar_files = ":ndk_armeabi_v7a_toolchain_all_files", |
| 480 |
compiler_files = ":ndk_armeabi_v7a_toolchain_all_files", |
| 481 |
dwp_files = ":not_implemented", |
| 482 |
dynamic_runtime_lib = "@ndk_linux_amd64//:armeabi_v7a_dynamic_runtime_libraries", |
| 483 |
linker_files = ":ndk_armeabi_v7a_toolchain_all_files", |
| 484 |
objcopy_files = ":not_implemented", |
| 485 |
static_runtime_lib = "@ndk_linux_amd64//:armeabi_v7a_static_runtime_libraries", |
| 486 |
strip_files = ":not_implemented", |
| 487 |
supports_param_files = False, |
| 488 |
toolchain_config = ":ndk_armeabi_v7a_toolchain_config", |
| 489 |
) |