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

Fix build options for non transitive load for bazel 0.25 #316

Merged
merged 9 commits into from
May 10, 2019
14 changes: 7 additions & 7 deletions opencensus/copts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ We use the same flags as absl, plus turn some warnings into errors.
"""

load(
"@com_google_absl//absl:copts/configure_copts.bzl",
"ABSL_GCC_FLAGS",
"ABSL_GCC_TEST_FLAGS",
"ABSL_LLVM_FLAGS",
"ABSL_LLVM_TEST_FLAGS",
"ABSL_MSVC_FLAGS",
"ABSL_MSVC_TEST_FLAGS",
"@com_google_absl//absl:copts/GENERATED_copts.bzl",
ABSL_GCC_FLAGS = "ABSL_GCC_FLAGS",
g-easy marked this conversation as resolved.
Show resolved Hide resolved
ABSL_GCC_TEST_FLAGS = "ABSL_GCC_TEST_FLAGS",
ABSL_LLVM_FLAGS = "ABSL_LLVM_FLAGS",
ABSL_LLVM_TEST_FLAGS = "ABSL_LLVM_TEST_FLAGS",
ABSL_MSVC_FLAGS = "ABSL_MSVC_FLAGS",
ABSL_MSVC_TEST_FLAGS = "ABSL_MSVC_TEST_FLAGS",
)

WERROR = ["-Werror=return-type", "-Werror=switch"]
Expand Down