summaryrefslogtreecommitdiffstats
path: root/ui/events/platform/BUILD.gn
diff options
context:
space:
mode:
authorBrett Wilson <brettw@chromium.org>2014-08-28 12:34:11 -0700
committerBrett Wilson <brettw@chromium.org>2014-08-28 19:45:25 +0000
commit5e4c24b9ed85b0a9bdb2cac1eab0e289ccf7fd2c (patch)
tree00eb37819fb93c09b8f7b3fe1a9ad466a62ba451 /ui/events/platform/BUILD.gn
parente5f75e0d602b5ca9f20e330b20d80d940d692def (diff)
downloadchromium_src-5e4c24b9ed85b0a9bdb2cac1eab0e289ccf7fd2c.zip
chromium_src-5e4c24b9ed85b0a9bdb2cac1eab0e289ccf7fd2c.tar.gz
chromium_src-5e4c24b9ed85b0a9bdb2cac1eab0e289ccf7fd2c.tar.bz2
Fix most of the "gn check" errors in ui/*
Some errors remain but these are circular includes that can't be fixed in the build files only. Enable views_unittests and wm_unittests now that they compile BUG= R=sky@chromium.org, tfarina@chromium.org Review URL: https://codereview.chromium.org/513313002 Cr-Commit-Position: refs/heads/master@{#292445}
Diffstat (limited to 'ui/events/platform/BUILD.gn')
-rw-r--r--ui/events/platform/BUILD.gn5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn
index 3a20219..4008a23 100644
--- a/ui/events/platform/BUILD.gn
+++ b/ui/events/platform/BUILD.gn
@@ -6,6 +6,9 @@ import("//build/config/ui.gni")
component("platform") {
sources = [
+ # Allow this target to include events_export.h without depending on the
+ # events target (which would be circular).
+ "../events_export.h",
"platform_event_dispatcher.h",
"platform_event_observer.h",
"platform_event_source.cc",
@@ -21,7 +24,7 @@ component("platform") {
]
deps = [
- "//base"
+ "//base",
]
if (use_x11) {