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

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

Issue 2749183005: Adds mojom structure for ui::Accelerator and struct traits (Closed)
Patch Set: feedback 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
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/accelerators/mojo/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3dd72e7416aa68e08d00d7c497415ce0a47e632d
--- /dev/null
+++ b/ui/base/accelerators/mojo/BUILD.gn
@@ -0,0 +1,39 @@
+# 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",
+ ]
+ 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",
+ ]
+}
« no previous file with comments | « 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