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