summaryrefslogtreecommitdiffstats
path: root/ui/events/platform/BUILD.gn
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-06 17:55:22 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-06 17:55:22 +0000
commitcfdfb15e535732776267075e35f0b44d51a751d5 (patch)
tree6544514b678cbd9c5eea64923e42527e0d2cdbd7 /ui/events/platform/BUILD.gn
parentd1d0d9e3685ca01cd34c119fc1f83e84fa5f2518 (diff)
downloadchromium_src-cfdfb15e535732776267075e35f0b44d51a751d5.zip
chromium_src-cfdfb15e535732776267075e35f0b44d51a751d5.tar.gz
chromium_src-cfdfb15e535732776267075e35f0b44d51a751d5.tar.bz2
GN: ui/events/platform target from r270816
This adds the //ui/events/platform target and adds a dependency from //ui/gl R=sadrul@chromium.org Review URL: https://codereview.chromium.org/317823009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275474 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/events/platform/BUILD.gn')
-rw-r--r--ui/events/platform/BUILD.gn30
1 files changed, 30 insertions, 0 deletions
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn
new file mode 100644
index 0000000..e842993
--- /dev/null
+++ b/ui/events/platform/BUILD.gn
@@ -0,0 +1,30 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/ui.gni")
+
+component("platform") {
+ deps = [
+ "//base"
+ ]
+
+ defines = [
+ "EVENTS_IMPLEMENTATION",
+ ]
+
+ sources = [
+ "platform_event_dispatcher.h",
+ "platform_event_observer.h",
+ "platform_event_source.cc",
+ "platform_event_source.h",
+ "platform_event_source_stub.cc",
+ "platform_event_types.h",
+ "scoped_event_dispatcher.cc",
+ "scoped_event_dispatcher.h",
+ ]
+
+ if (use_x11) {
+ sources -= [ "platform_event_source_stub.cc" ]
+ }
+}