From fc586a86b614667a21e5a01aea3544ac0338de78 Mon Sep 17 00:00:00 2001 From: John Cater Date: Tue, 19 Mar 2019 07:36:56 -0700 Subject: [PATCH] Move cc_flags target into @bazel_tools//tools/cpp. Part of #6867. Closes #7750. PiperOrigin-RevId: 239186112 --- tools/cpp/BUILD | 6 ++++++ tools/cpp/BUILD.tpl | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/cpp/BUILD b/tools/cpp/BUILD index f675c55b8e159d..d84818fc44adbc 100644 --- a/tools/cpp/BUILD +++ b/tools/cpp/BUILD @@ -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") diff --git a/tools/cpp/BUILD.tpl b/tools/cpp/BUILD.tpl index ee9fd3d99cde2c..febd47ffd618a5 100644 --- a/tools/cpp/BUILD.tpl +++ b/tools/cpp/BUILD.tpl @@ -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")