File
Blob: build/config/BUILD.bazel
| 1 | load("@bazel_skylib//rules:common_settings.bzl", "string_flag") |
| 2 | |
| 3 | # Similar to --run_under flag to be able to run cross-compiled target binaries. |
| 4 | string_flag( |
| 5 | name = "target_run_under", |
| 6 | build_setting_default = "", |
| 7 | visibility = ["//visibility:public"], |
| 8 | ) |
| 9 | |
| 10 | # Dummy config settings for when workerd is built standalone |
| 11 | # These always return false since we don't want prebuilt behavior in standalone workerd |
| 12 | config_setting( |
| 13 | name = "no_build", |
| 14 | values = {"define": "never_match=true"}, # This will never match |
| 15 | visibility = ["//visibility:public"], |
| 16 | ) |
| 17 | |
| 18 | config_setting( |
| 19 | name = "prebuilt_binaries_arm64", |
| 20 | values = {"define": "never_match=true"}, # This will never match |
| 21 | visibility = ["//visibility:public"], |
| 22 | ) |