OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2014 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 # GYP version: mojo/mojo_converters.gypi:mojo_converters | |
6 component("converters") { | |
msw
2014/10/09 19:23:09
Should we have consistent naming between GYP's "mo
jamesr
2014/10/09 19:30:54
The unit test executable names all have mojo_ pref
msw
2014/10/10 00:28:58
Thanks for the naming explanations, that makes sen
| |
7 public_deps = [ | |
8 "//ui/gfx", | |
9 ] | |
10 deps = [ | |
11 "//base", | |
12 "//cc", | |
13 "//cc/surfaces", | |
14 "//gpu", | |
15 "//skia", | |
16 "//ui/events", | |
17 "//ui/gfx/geometry", | |
18 "//mojo/environment:chromium", | |
19 "//mojo/public/c/system:for_component", | |
20 "//mojo/services/public/interfaces/geometry", | |
21 "//mojo/services/public/interfaces/input_events", | |
22 "//mojo/services/public/interfaces/surfaces:surface_id", | |
23 "//mojo/services/public/interfaces/surfaces", | |
24 ] | |
25 | |
26 defines = [ | |
27 "MOJO_CONVERTERS_IMPLEMENTATION", | |
jamesr
2014/10/09 19:30:54
why put all converters in one component? seems lik
msw
2014/10/10 00:28:58
Done, I misunderstood this as your intention, but
| |
28 ] | |
29 | |
30 sources = [ | |
31 "geometry_type_converters.cc", | |
32 "geometry_type_converters.h", | |
33 "input_event_names.h", | |
34 "input_events_type_converters.cc", | |
35 "input_events_type_converters.h", | |
36 "mojo_converters_export.h", | |
37 "mojo_extended_key_event_data.cc", | |
38 "mojo_extended_key_event_data.h", | |
39 "surfaces_type_converters.cc", | |
40 "surfaces_type_converters.h", | |
41 "surfaces_utils.cc", | |
42 "surfaces_utils.h", | |
43 ] | |
44 } | |
45 | |
46 # GYP version: mojo/mojo_converters.gypi:mojo_converters_unittests | |
47 test("converters_unittests") { | |
msw
2014/10/09 19:23:09
Should I split the test target into it's own sub-d
| |
48 deps = [ | |
49 "//base", | |
50 "//base/test:test_support", | |
51 "//cc", | |
52 "//cc/surfaces", | |
53 "//gpu", | |
54 "//mojo/converters", | |
55 "//mojo/edk/test:run_all_unittests", | |
56 "//mojo/environment:chromium", | |
57 "//mojo/services/public/interfaces/geometry", | |
58 "//mojo/services/public/interfaces/surfaces", | |
59 "//skia", | |
60 "//testing/gtest", | |
61 "//ui/gfx", | |
62 "//ui/gfx/geometry", | |
63 "//ui/gfx:test_support", | |
64 ] | |
65 | |
66 sources = [ | |
67 "surface_unittest.cc" | |
68 ] | |
69 } | |
OLD | NEW |