Don't declare pigweed variables as globals
Require targets to explicitly import pigweed variable definitions. This
moves out some necessary logic from the BUILDCONFIG.gn file.
Change-Id: If9c9fe5a680cc9d897a0e8a55889873be618ed84
diff --git a/pw_build/BUILD.gn b/pw_build/BUILD.gn
index c2566d2..7e9ec54 100644
--- a/pw_build/BUILD.gn
+++ b/pw_build/BUILD.gn
@@ -12,8 +12,11 @@
# License for the specific language governing permissions and limitations under
# the License.
-import("$dir_pw_docgen/docs.gni")
+# gn-format disable
+import("//build_overrides/pigweed.gni")
+import("$dir_pigweed/legacy_target.gni")
+import("$dir_pw_docgen/docs.gni")
config("colorize_output") {
cflags = [
# Colorize output. Ninja's Clang invocation disables color by default.