OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//mojo/public/tools/bindings/mojom.gni") | |
6 | |
7 mojom("interfaces") { | |
8 sources = [ | |
9 "accelerator.mojom", | |
10 ] | |
11 public_deps = [ | |
12 "//ui/events/mojo:interfaces", | |
13 ] | |
14 } | |
15 | |
16 source_set("struct_traits") { | |
17 sources = [ | |
18 "accelerator_struct_traits.h", | |
19 ] | |
20 public_deps = [ | |
21 ":interfaces", | |
22 "//ui/base", | |
23 "//ui/events", | |
24 ] | |
25 } | |
26 | |
27 source_set("unittests") { | |
28 testonly = true | |
29 sources = [ | |
30 "accelerator_struct_traits_unittest.cc", | |
31 ] | |
32 deps = [ | |
msw
2017/03/16 22:50:39
optional nit: you might be able to omit the public
sky
2017/03/16 23:30:46
The reason to make the deps public_deps is that th
| |
33 ":interfaces", | |
34 ":struct_traits", | |
35 "//testing/gtest", | |
36 "//ui/base", | |
37 "//ui/events", | |
38 ] | |
39 } | |
OLD | NEW |