From fb3d3fba791b5b200293d23f08b778ecae34e02f Mon Sep 17 00:00:00 2001 From: Armando Montanez Date: Tue, 9 Jun 2020 18:12:12 -0700 Subject: 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 --- pw_cpu_exception_armv7m/BUILD.gn | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pw_cpu_exception_armv7m') diff --git a/pw_cpu_exception_armv7m/BUILD.gn b/pw_cpu_exception_armv7m/BUILD.gn index bf79bc0de..7c45e0ec1 100644 --- a/pw_cpu_exception_armv7m/BUILD.gn +++ b/pw_cpu_exception_armv7m/BUILD.gn @@ -12,6 +12,10 @@ # License for the specific language governing permissions and limitations under # the License. +# gn-format disable +import("//build_overrides/pigweed.gni") + +import("$dir_pigweed/legacy_target.gni") import("$dir_pw_build/target_types.gni") import("$dir_pw_docgen/docs.gni") import("$dir_pw_unit_test/test.gni") -- cgit v1.2.3