aboutsummaryrefslogtreecommitdiff
path: root/pw_cpu_exception_armv7m
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2020-06-09 18:12:12 -0700
committerWyatt Hepler <hepler@google.com>2020-06-16 09:50:59 -0700
commitfb3d3fba791b5b200293d23f08b778ecae34e02f (patch)
tree4974cd6eddbe74ff37f19d8a14b0959a90ef2ebc /pw_cpu_exception_armv7m
parentedd2f148be609f3938eb5ab95b8738823463f621 (diff)
downloadpigweed-fb3d3fba791b5b200293d23f08b778ecae34e02f.tar.gz
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
Diffstat (limited to 'pw_cpu_exception_armv7m')
-rw-r--r--pw_cpu_exception_armv7m/BUILD.gn4
1 files changed, 4 insertions, 0 deletions
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")