diff options
author | hlopko <hlopko@google.com> | 2018-04-27 10:08:39 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-27 10:10:36 -0700 |
commit | fd9a0958a989cac1f08f15ab5643728469f9824e (patch) | |
tree | 0600eeeb986318512cb2b06fab27019293874ab6 /src/java_tools | |
parent | 7afd69d431880ac81d01dc5cfa7e36bab37e7405 (diff) |
Do not add flags from linking_mode_flags section when the toolchain defines
corresponding features.
Therefore when both linking_mode_flags { mode: DYNAMIC } and feature { name:
"dynamic_linking_mode" } are provided, bazel will only take flags from the
feature. The same applies to mode: STATIC and static_linkin_mode feature
respectively. mode: MOSTLY_STATIC_LIBRARIES is covered under
dynamic_linking_mode for action "c++-link-dynamic-library". mode: FULLY_STATIC is handled separately.
This is needed to provide a way of incremental migration towards
legacy-flags-free crosstool.
RELNOTES: None.
PiperOrigin-RevId: 194556688
Diffstat (limited to 'src/java_tools')
0 files changed, 0 insertions, 0 deletions