Marcel Hlopko | b4c0fb0 | 2019-05-27 03:54:06 -0700 | [diff] [blame] | 1 | load("@local_config_platform//:constraints.bzl", "HOST_CONSTRAINTS") |
hlopko | 1a25668 | 2019-10-24 07:01:01 -0700 | [diff] [blame] | 2 | |
Marcel Hlopko | b4c0fb0 | 2019-05-27 03:54:06 -0700 | [diff] [blame] | 3 | toolchain( |
| 4 | name = "cc-toolchain-%{name}", |
| 5 | exec_compatible_with = HOST_CONSTRAINTS, |
| 6 | target_compatible_with = HOST_CONSTRAINTS, |
| 7 | toolchain = "@local_config_cc//:cc-compiler-%{name}", |
| 8 | toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", |
| 9 | ) |
| 10 | |
| 11 | toolchain( |
| 12 | name = "cc-toolchain-armeabi-v7a", |
| 13 | exec_compatible_with = HOST_CONSTRAINTS, |
| 14 | target_compatible_with = [ |
Keith Smiley | 46e0be4 | 2022-04-25 06:20:42 -0700 | [diff] [blame] | 15 | "@platforms//cpu:armv7", |
hlopko | 71a213c | 2019-06-21 02:01:33 -0700 | [diff] [blame] | 16 | "@platforms//os:android", |
Marcel Hlopko | b4c0fb0 | 2019-05-27 03:54:06 -0700 | [diff] [blame] | 17 | ], |
rosica | 0eb7f21 | 2019-08-12 09:54:52 -0700 | [diff] [blame] | 18 | toolchain = "@local_config_cc//:cc-compiler-armeabi-v7a", |
Marcel Hlopko | b4c0fb0 | 2019-05-27 03:54:06 -0700 | [diff] [blame] | 19 | toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", |
| 20 | ) |