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", |
+ ] |
+} |