Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: ui/events/platform/BUILD.gn

Issue 305293002: Add GN build file for ui/aura target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert ui/gl change + exclude from android Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/platform/BUILD.gn
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..4c8a150618162ea5371a4c5e3086d33c10482e7e
--- /dev/null
+++ b/ui/events/platform/BUILD.gn
@@ -0,0 +1,34 @@
+# 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") {
+ output_name = "events_platform"
+
+ 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",
+ ]
+
+ defines = [
+ "EVENTS_IMPLEMENTATION",
+ ]
+
+ deps = [
+ "//base",
+ ]
+
+ if (use_x11) {
+ sources -= [
+ "platform_event_source_stub.cc",
+ ]
+ }
+}
« ui/aura/BUILD.gn ('K') | « ui/aura/BUILD.gn ('k') | ui/events/platform/x11/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698