| startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1 | |
| common --enable_platform_specific_config | |
| # Improve caching, but allow integration tests to find `bazel` in PATH. | |
| # Doesn't work on Windows as protoc requires DLLs outside the default PATH. | |
| common:macos --incompatible_strict_action_env | |
| common:linux --incompatible_strict_action_env | |
| common --test_env=PATH | |
| test --test_output=errors | |
| # Workaround for https://github.com/bazelbuild/continuous-integration/issues/2269. | |
| build:macos --copt=-Dfdopen=fdopen | |
| build:macos --host_copt=-Dfdopen=fdopen | |
| # Go requires a C toolchain that accepts options and emits errors like | |
| # gcc or clang. The Go SDK does not support MSVC. | |
| build:windows --cpu=x64_windows | |
| build:windows --compiler=mingw-gcc | |
| # NOTE(bazelbuild/bazel#10529): bazel doesn't register the mingw toolchain automatically. | |
| # We also need the host and target platforms to have the mingw constraint value. | |
| build:windows --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows_mingw | |
| build:windows --host_platform=@io_bazel_rules_go//go/toolchain:windows_amd64_cgo | |
| build:windows --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64_cgo | |
| build:windows --incompatible_enable_cc_toolchain_resolution | |
| build:check --all_incompatible_changes | |
| common:ci --color=no | |
| build:ci --verbose_failures | |
| build:ci --sandbox_debug | |
| build:ci --spawn_strategy=standalone | |
| build:ci --genrule_strategy=standalone | |
| test:ci --test_strategy=standalone | |
| # Incompatible flags to test in a dedicated CI pipeline. | |
| build:incompatible --incompatible_load_proto_rules_from_bzl | |
| build:incompatible --incompatible_enable_cc_toolchain_resolution | |
| build:incompatible --incompatible_config_setting_private_default_visibility | |
| build:incompatible --incompatible_enforce_config_setting_visibility | |
| build:incompatible --incompatible_disallow_empty_glob | |
| build:incompatible --incompatible_disable_starlark_host_transitions | |
| build:incompatible --nolegacy_external_runfiles | |
| build:incompatible --incompatible_enable_proto_toolchain_resolution | |
| build:incompatible --incompatible_auto_exec_groups | |
| # Also enable all incompatible flags in go_bazel_test by default. | |
| test:incompatible --test_env=GO_BAZEL_TEST_BAZELFLAGS='--incompatible_disallow_empty_glob --incompatible_load_proto_rules_from_bzl --incompatible_enable_cc_toolchain_resolution --incompatible_config_setting_private_default_visibility --incompatible_enforce_config_setting_visibility --incompatible_disable_starlark_host_transitions --nolegacy_external_runfiles --incompatible_enable_proto_toolchain_resolution --incompatible_auto_exec_groups' |