Skip to content

Commit

Permalink
Add required dependencies so genrule can access CC and CC_FLAGS. (#2358)
Browse files Browse the repository at this point in the history
  • Loading branch information
katre authored and devjgm committed Mar 28, 2019
1 parent 8a7827e commit 92ae48e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/cloud/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ sed -e "s;@CMAKE_CXX_COMPILER_ID@;$(C_COMPILER);" \
-e "s;@GOOGLE_CLOUD_CPP_IS_RELEASE@;%s;" \
-e "s;@GOOGLE_CLOUD_CPP_GIT_HEAD@;$${V};" < $< > $@
""" % (GOOGLE_CLOUD_CPP_IS_RELEASE),
toolchains = [
"@bazel_tools//tools/cpp:current_cc_toolchain",
"@bazel_tools//tools/cpp:cc_flags",
],
)

genrule(
Expand Down

0 comments on commit 92ae48e

Please sign in to comment.