OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'mojo_echo_bindings', | 4 'target_name': 'mojo_echo_bindings', |
5 'type': 'static_library', | 5 'type': 'static_library', |
6 'sources': [ | 6 'sources': [ |
7 'services/dbus_echo/echo.mojom', | 7 'services/dbus_echo/echo.mojom', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'mojom_base_output_dir': 'mojo', | 10 'mojom_base_output_dir': 'mojo', |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 ], | 112 ], |
113 }], | 113 }], |
114 ['OS=="android"', { | 114 ['OS=="android"', { |
115 'dependencies': [ | 115 'dependencies': [ |
116 'mojo_jni_headers', | 116 'mojo_jni_headers', |
117 ], | 117 ], |
118 }], | 118 }], |
119 ], | 119 ], |
120 }, | 120 }, |
121 { | 121 { |
| 122 'target_name': 'mojo_view_manager_bindings', |
| 123 'type': 'static_library', |
| 124 'sources': [ |
| 125 'services/public/interfaces/view_manager/view_manager.mojom', |
| 126 ], |
| 127 'variables': { |
| 128 'mojom_base_output_dir': 'mojo', |
| 129 }, |
| 130 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 131 'export_dependent_settings': [ |
| 132 'mojo_cpp_bindings', |
| 133 ], |
| 134 'dependencies': [ |
| 135 'mojo_cpp_bindings', |
| 136 ], |
| 137 }, |
| 138 { |
122 'target_name': 'mojo_view_manager_lib', | 139 'target_name': 'mojo_view_manager_lib', |
123 'type': 'static_library', | 140 'type': 'static_library', |
124 'dependencies': [ | 141 'dependencies': [ |
125 '../base/base.gyp:base', | 142 '../base/base.gyp:base', |
| 143 'mojo_view_manager_bindings', |
126 ], | 144 ], |
127 'sources': [ | 145 'sources': [ |
128 'services/public/cpp/view_manager/lib/view.cc', | 146 'services/public/cpp/view_manager/lib/view.cc', |
129 'services/public/cpp/view_manager/lib/view_manager.cc', | 147 'services/public/cpp/view_manager/lib/view_manager.cc', |
| 148 'services/public/cpp/view_manager/lib/view_manager_private.cc', |
| 149 'services/public/cpp/view_manager/lib/view_manager_private.h', |
| 150 'services/public/cpp/view_manager/lib/view_manager_synchronizer.cc', |
| 151 'services/public/cpp/view_manager/lib/view_manager_synchronizer.h', |
130 'services/public/cpp/view_manager/lib/view_tree_host.cc', | 152 'services/public/cpp/view_manager/lib/view_tree_host.cc', |
131 'services/public/cpp/view_manager/lib/view_tree_node.cc', | 153 'services/public/cpp/view_manager/lib/view_tree_node.cc', |
132 'services/public/cpp/view_manager/lib/view_tree_node_observer.cc', | 154 'services/public/cpp/view_manager/lib/view_tree_node_observer.cc', |
133 'services/public/cpp/view_manager/lib/view_tree_node_private.cc', | 155 'services/public/cpp/view_manager/lib/view_tree_node_private.cc', |
134 'services/public/cpp/view_manager/lib/view_tree_node_private.h', | 156 'services/public/cpp/view_manager/lib/view_tree_node_private.h', |
135 'services/public/cpp/view_manager/view.h', | 157 'services/public/cpp/view_manager/view.h', |
136 'services/public/cpp/view_manager/view_manager.h', | 158 'services/public/cpp/view_manager/view_manager.h', |
137 'services/public/cpp/view_manager/view_tree_host.h', | 159 'services/public/cpp/view_manager/view_tree_host.h', |
138 'services/public/cpp/view_manager/view_tree_node.h', | 160 'services/public/cpp/view_manager/view_tree_node.h', |
139 'services/public/cpp/view_manager/view_tree_node_observer.h', | 161 'services/public/cpp/view_manager/view_tree_node_observer.h', |
140 ], | 162 ], |
141 }, | 163 }, |
142 { | 164 { |
143 'target_name': 'mojo_view_manager_lib_unittests', | 165 'target_name': 'mojo_view_manager_lib_unittests', |
144 'type': 'executable', | 166 'type': 'executable', |
145 'dependencies': [ | 167 'dependencies': [ |
146 '../base/base.gyp:base', | 168 '../base/base.gyp:base', |
147 '../base/base.gyp:test_support_base', | 169 '../base/base.gyp:test_support_base', |
148 '../testing/gtest.gyp:gtest', | 170 '../testing/gtest.gyp:gtest', |
| 171 'mojo_environment_chromium', |
149 'mojo_run_all_unittests', | 172 'mojo_run_all_unittests', |
150 'mojo_view_manager_lib', | 173 'mojo_view_manager_lib', |
151 ], | 174 ], |
152 'sources': [ | 175 'sources': [ |
153 'services/public/cpp/view_manager/tests/view_unittest.cc', | 176 'services/public/cpp/view_manager/tests/view_unittest.cc', |
154 'services/public/cpp/view_manager/tests/view_manager_unittest.cc', | 177 'services/public/cpp/view_manager/tests/view_manager_unittest.cc', |
155 'services/public/cpp/view_manager/tests/view_tree_host_unittest.cc', | 178 'services/public/cpp/view_manager/tests/view_tree_host_unittest.cc', |
156 'services/public/cpp/view_manager/tests/view_tree_node_unittest.cc', | 179 'services/public/cpp/view_manager/tests/view_tree_node_unittest.cc', |
157 ], | 180 ], |
158 }, | 181 }, |
159 ], | 182 ], |
160 'conditions': [ | 183 'conditions': [ |
161 ['use_aura==1', { | 184 ['use_aura==1', { |
162 'targets': [ | 185 'targets': [ |
163 { | 186 { |
164 'target_name': 'mojo_view_manager_bindings', | |
165 'type': 'static_library', | |
166 'sources': [ | |
167 'services/public/interfaces/view_manager/view_manager.mojom', | |
168 ], | |
169 'variables': { | |
170 'mojom_base_output_dir': 'mojo', | |
171 }, | |
172 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | |
173 'export_dependent_settings': [ | |
174 'mojo_cpp_bindings', | |
175 ], | |
176 'dependencies': [ | |
177 'mojo_cpp_bindings', | |
178 ], | |
179 }, | |
180 { | |
181 'target_name': 'mojo_view_manager', | 187 'target_name': 'mojo_view_manager', |
182 'type': '<(component)', | 188 'type': '<(component)', |
183 'dependencies': [ | 189 'dependencies': [ |
184 '../base/base.gyp:base', | 190 '../base/base.gyp:base', |
185 '../skia/skia.gyp:skia', | 191 '../skia/skia.gyp:skia', |
186 '../ui/aura/aura.gyp:aura', | 192 '../ui/aura/aura.gyp:aura', |
187 '../ui/gfx/gfx.gyp:gfx_geometry', | 193 '../ui/gfx/gfx.gyp:gfx_geometry', |
188 'mojo_common_lib', | 194 'mojo_common_lib', |
189 'mojo_environment_chromium', | 195 'mojo_environment_chromium', |
190 'mojo_launcher_bindings', | 196 'mojo_launcher_bindings', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 'mojo_system_impl', | 262 'mojo_system_impl', |
257 ], | 263 ], |
258 'sources': [ | 264 'sources': [ |
259 'services/dbus_echo/dbus_echo_service.cc', | 265 'services/dbus_echo/dbus_echo_service.cc', |
260 ], | 266 ], |
261 }, | 267 }, |
262 ], | 268 ], |
263 }], | 269 }], |
264 ], | 270 ], |
265 } | 271 } |
OLD | NEW |