Skip to content

Commit

Permalink
Move cc_flags target into @bazel_tools//tools/cpp.
Browse files Browse the repository at this point in the history
Part of #6867.

Closes #7750.

PiperOrigin-RevId: 239186112
  • Loading branch information
katre authored and copybara-github committed Mar 19, 2019
1 parent f1bbbff commit fc586a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions tools/cpp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -423,3 +423,9 @@ filegroup(
load(":compiler_flag.bzl", "compiler_flag")

compiler_flag(name = "compiler")

# Target that can provide the CC_FLAGS variable based on the current
# cc_toolchain.
load("@bazel_tools//tools/cpp:cc_flags_supplier.bzl", "cc_flags_supplier")

cc_flags_supplier(name = "cc_flags")
6 changes: 0 additions & 6 deletions tools/cpp/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,3 @@ toolchain(
toolchain = ":cc-compiler-armabi-v7a",
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
)

# Target that can provide the CC_FLAGS variable based on the current
# cc_toolchain.
load("@bazel_tools//tools/cpp:cc_flags_supplier.bzl", "cc_flags_supplier")

cc_flags_supplier(name = "cc_flags")

0 comments on commit fc586a8

Please sign in to comment.