Add --incompatible_disable_runtimes_filegroups

This change adds cc_toolchain.static_runtime_lib and
cc_toolchain.dynamic_runtime_lib attributes and an incompatible flag that
disables deprecated cc_toolchain.static_runtime_libs and
cc_toolchain.dynamic_runtime_libs.

Issue for the incompatible flag: #6942
Tracking issue for legacy crosstool fields removal: #5883

RELNOTES: Added --incompatible_disable_runtimes_filegroups
(https://github.com/bazelbuild/bazel/issues/6942).
PiperOrigin-RevId: 226165743
This commit is contained in:
hlopko 2018-12-19 15:53:05 +01:00 committed by Marcel Hlopko
parent 46dc52e008
commit 2c36045d81
1 changed files with 2 additions and 0 deletions

View File

@ -360,7 +360,9 @@ message CToolchain {
// If specified, Blaze finds statically linked / dynamically linked runtime
// libraries in the declared crosstool filegroup. Otherwise, Blaze
// looks in "[static|dynamic]-runtime-libs-$TARGET_CPU".
// Deprecated, see https://github.com/bazelbuild/bazel/issues/6942
optional string static_runtimes_filegroup = 45;
// Deprecated, see https://github.com/bazelbuild/bazel/issues/6942
optional string dynamic_runtimes_filegroup = 46;
optional bool supports_incremental_linker = 41 [default = false];
// This should be true, if the toolchain supports the D flag to ar, which