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/defaults.gni b/pw_build/defaults.gni
index 2b20cc2..936015e 100644
--- a/pw_build/defaults.gni
+++ b/pw_build/defaults.gni
@@ -12,13 +12,10 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
-# Importing this file provides the $pw_build_defaults scope.
-# This includes target-agnostic default variables. It may also includes
-# target-specific default variables if $pw_target_toolchain or
-# $pw_target_defaults is set (and recognized).
+# gn-format disable
+import("//build_overrides/pigweed.gni")
 
-import("$dir_pigweed/modules.gni")
-
+import("$dir_pigweed/legacy_target.gni")
 declare_args() {
   # Default configs and dependencies targets provided by the toolchain. These
   # are applied to all of the pw_* target types. They are set from a toolchain's