Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Migrate users of C++ toolchain API for --incompatible_disable_depset_…
Browse files Browse the repository at this point in the history
…in_cc_user_flags

This is a migration needed do move g3 forward so unknown commit can be submitted,
and in case of Bazel users, to make them forward compatible with Bazel 0.20.
Migration details and discussion are over at github:

bazelbuild/bazel#6383

PiperOrigin-RevId: 217837227
  • Loading branch information
hlopko authored and reinhillmann committed Oct 24, 2018
1 parent 19e8b55 commit 994918b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TulsiGenerator/Bazel/tulsi/tulsi_aspects.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,13 @@ def _extract_compiler_defines(ctx):
c_variables = cc_common.create_compile_variables(
feature_configuration = feature_configuration,
cc_toolchain = cc_toolchain,
user_compile_flags = depset(copts + conlyopts),
user_compile_flags = copts + conlyopts,
)
cpp_variables = cc_common.create_compile_variables(
feature_configuration = feature_configuration,
cc_toolchain = cc_toolchain,
add_legacy_cxx_options = True,
user_compile_flags = depset(copts + cxxopts),
user_compile_flags = copts + cxxopts,
)
c_options = cc_common.get_memory_inefficient_command_line(
feature_configuration = feature_configuration,
Expand Down

0 comments on commit 994918b

Please sign in to comment.