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

Unified Diff: ui/base/accelerators/mojo/BUILD.gn

Issue 2749183005: Adds mojom structure for ui::Accelerator and struct traits (Closed)
Patch Set: Created 3 years, 9 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/base/accelerators/mojo/BUILD.gn
diff --git a/ui/base/accelerators/mojo/BUILD.gn b/ui/base/accelerators/mojo/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..c2cb4923850f09e52b658a6854afa56bc1f08775
--- /dev/null
+++ b/ui/base/accelerators/mojo/BUILD.gn
@@ -0,0 +1,40 @@
+# Copyright 2017 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("//mojo/public/tools/bindings/mojom.gni")
+
+mojom("interfaces") {
+ sources = [
+ "accelerator.mojom",
+ ]
+
Tom Sepez 2017/03/16 21:48:09 nit: stray blank line.
sky 2017/03/16 22:02:44 Done.
+ public_deps = [
+ "//ui/events/mojo:interfaces",
+ ]
+}
+
+source_set("struct_traits") {
+ sources = [
+ "accelerator_struct_traits.h",
+ ]
+ public_deps = [
+ ":interfaces",
+ "//ui/base",
+ "//ui/events",
+ ]
+}
+
+source_set("unittests") {
+ testonly = true
+ sources = [
+ "accelerator_struct_traits_unittest.cc",
+ ]
+ deps = [
+ ":interfaces",
+ ":struct_traits",
+ "//testing/gtest",
+ "//ui/base",
+ "//ui/events",
+ ]
+}
« ui/base/BUILD.gn ('K') | « ui/base/BUILD.gn ('k') | ui/base/accelerators/mojo/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698