OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
| 6 'includes': [ |
| 7 'mojo_variables.gypi', |
| 8 ], |
6 'targets': [ | 9 'targets': [ |
7 { | 10 { |
8 # GN version: //mojo/converters/input_events | |
9 'target_name': 'mojo_input_events_lib', | |
10 'type': '<(component)', | |
11 'defines': [ | |
12 'MOJO_INPUT_EVENTS_IMPLEMENTATION', | |
13 ], | |
14 'dependencies': [ | |
15 '../base/base.gyp:base', | |
16 '../ui/events/events.gyp:events', | |
17 '../ui/gfx/gfx.gyp:gfx_geometry', | |
18 'mojo_geometry_lib', | |
19 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', | |
20 'services/public/mojo_services_public.gyp:mojo_input_events_bindings', | |
21 '<(mojo_system_for_component)', | |
22 ], | |
23 'sources': [ | |
24 'converters/input_events/input_events_type_converters.cc', | |
25 'converters/input_events/input_events_type_converters.h', | |
26 'converters/input_events/mojo_extended_key_event_data.cc', | |
27 'converters/input_events/mojo_extended_key_event_data.h', | |
28 'converters/input_events/mojo_input_events_export.h', | |
29 ], | |
30 'conditions': [ | |
31 ['component=="shared_library"', { | |
32 'dependencies': [ | |
33 'mojo_base.gyp:mojo_environment_chromium', | |
34 ], | |
35 }], | |
36 ], | |
37 }, | |
38 { | |
39 # GN version: //mojo/converters/geometry | |
40 'target_name': 'mojo_geometry_lib', | |
41 'type': '<(component)', | |
42 'defines': [ | |
43 'MOJO_GEOMETRY_IMPLEMENTATION', | |
44 ], | |
45 'dependencies': [ | |
46 '../skia/skia.gyp:skia', | |
47 '../ui/gfx/gfx.gyp:gfx', | |
48 '../ui/gfx/gfx.gyp:gfx_geometry', | |
49 'services/public/mojo_services_public.gyp:mojo_geometry_bindings', | |
50 '<(mojo_system_for_component)', | |
51 ], | |
52 'export_dependent_settings': [ | |
53 '../ui/gfx/gfx.gyp:gfx', | |
54 ], | |
55 'sources': [ | |
56 'converters/geometry/geometry_type_converters.cc', | |
57 'converters/geometry/geometry_type_converters.h', | |
58 'converters/geometry/mojo_geometry_export.h', | |
59 ], | |
60 'conditions': [ | |
61 ['component=="shared_library"', { | |
62 'dependencies': [ | |
63 'mojo_base.gyp:mojo_environment_chromium', | |
64 ], | |
65 }], | |
66 ], | |
67 }, | |
68 { | |
69 # GN version: //mojo/converters/surfaces | 11 # GN version: //mojo/converters/surfaces |
70 'target_name': 'mojo_surfaces_lib', | 12 'target_name': 'mojo_surfaces_lib', |
71 'type': '<(component)', | 13 'type': '<(component)', |
72 'defines': [ | 14 'defines': [ |
73 'MOJO_SURFACES_IMPLEMENTATION', | 15 'MOJO_SURFACES_IMPLEMENTATION', |
74 ], | 16 ], |
75 'dependencies': [ | 17 'dependencies': [ |
76 '../base/base.gyp:base', | 18 '../base/base.gyp:base', |
77 '../cc/cc.gyp:cc', | 19 '../cc/cc.gyp:cc', |
78 '../cc/cc.gyp:cc_surfaces', | 20 '../cc/cc.gyp:cc_surfaces', |
79 '../skia/skia.gyp:skia', | 21 '../skia/skia.gyp:skia', |
80 '../gpu/gpu.gyp:gpu', | 22 '../gpu/gpu.gyp:gpu', |
81 '../ui/gfx/gfx.gyp:gfx', | 23 '../ui/gfx/gfx.gyp:gfx', |
82 '../ui/gfx/gfx.gyp:gfx_geometry', | 24 '../ui/gfx/gfx.gyp:gfx_geometry', |
83 'mojo_geometry_lib', | 25 'mojo_geometry_converters.gyp:mojo_geometry_lib', |
84 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', | 26 'services/public/mojo_services_public.gyp:mojo_gpu_bindings', |
85 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', | 27 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
86 '<(mojo_system_for_component)', | 28 '<(mojo_system_for_component)', |
87 ], | 29 ], |
88 'export_dependent_settings': [ | 30 'export_dependent_settings': [ |
89 'mojo_geometry_lib', | 31 'mojo_geometry_converters.gyp:mojo_geometry_lib', |
90 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', | 32 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
91 ], | 33 ], |
92 'sources': [ | 34 'sources': [ |
93 'converters/surfaces/surfaces_type_converters.cc', | 35 'converters/surfaces/surfaces_type_converters.cc', |
94 'converters/surfaces/surfaces_type_converters.h', | 36 'converters/surfaces/surfaces_type_converters.h', |
95 'converters/surfaces/surfaces_utils.cc', | 37 'converters/surfaces/surfaces_utils.cc', |
96 'converters/surfaces/surfaces_utils.h', | 38 'converters/surfaces/surfaces_utils.h', |
97 'converters/surfaces/mojo_surfaces_export.h', | 39 'converters/surfaces/mojo_surfaces_export.h', |
98 ], | 40 ], |
99 'conditions': [ | 41 'conditions': [ |
(...skipping 14 matching lines...) Expand all Loading... |
114 '../cc/cc.gyp:cc', | 56 '../cc/cc.gyp:cc', |
115 '../cc/cc.gyp:cc_surfaces', | 57 '../cc/cc.gyp:cc_surfaces', |
116 '../gpu/gpu.gyp:gpu', | 58 '../gpu/gpu.gyp:gpu', |
117 '../skia/skia.gyp:skia', | 59 '../skia/skia.gyp:skia', |
118 '../testing/gtest.gyp:gtest', | 60 '../testing/gtest.gyp:gtest', |
119 '../ui/gfx/gfx.gyp:gfx', | 61 '../ui/gfx/gfx.gyp:gfx', |
120 '../ui/gfx/gfx.gyp:gfx_geometry', | 62 '../ui/gfx/gfx.gyp:gfx_geometry', |
121 '../ui/gfx/gfx.gyp:gfx_test_support', | 63 '../ui/gfx/gfx.gyp:gfx_test_support', |
122 'edk/mojo_edk.gyp:mojo_run_all_unittests', | 64 'edk/mojo_edk.gyp:mojo_run_all_unittests', |
123 'mojo_base.gyp:mojo_environment_chromium', | 65 'mojo_base.gyp:mojo_environment_chromium', |
124 'mojo_geometry_lib', | 66 'mojo_geometry_converters.gyp:mojo_geometry_lib', |
125 'mojo_surfaces_lib', | 67 'mojo_surfaces_lib', |
126 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', | 68 'services/public/mojo_services_public.gyp:mojo_surfaces_bindings', |
127 ], | 69 ], |
128 'sources': [ | 70 'sources': [ |
129 'converters/surfaces/tests/surface_unittest.cc', | 71 'converters/surfaces/tests/surface_unittest.cc', |
130 ], | 72 ], |
131 'conditions': [ | 73 'conditions': [ |
132 ['component=="shared_library"', { | 74 ['component=="shared_library"', { |
133 'dependencies': [ | 75 'dependencies': [ |
134 'mojo_base.gyp:mojo_environment_chromium', | 76 'mojo_base.gyp:mojo_environment_chromium', |
135 ], | 77 ], |
136 }], | 78 }], |
137 ], | 79 ], |
138 }, | 80 }, |
139 ], | 81 ], |
140 } | 82 } |
OLD | NEW |