[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 4 | 'target_name': 'mojo_echo_bindings', |
| 5 | 'type': 'static_library', |
| 6 | 'sources': [ |
| 7 | 'services/dbus_echo/echo.mojom', |
| 8 | ], |
| 9 | 'variables': { |
| 10 | 'mojom_base_output_dir': 'mojo', |
| 11 | }, |
| 12 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 13 | 'export_dependent_settings': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 14 | 'mojo_cpp_bindings', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 15 | ], |
| 16 | 'dependencies': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 17 | 'mojo_cpp_bindings', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 18 | ], |
| 19 | }, |
| 20 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 21 | 'target_name': 'mojo_gles2_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 22 | 'type': 'static_library', |
| 23 | 'sources': [ |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 24 | 'services/gles2/command_buffer.mojom', |
| 25 | 'services/gles2/command_buffer_type_conversions.cc', |
| 26 | 'services/gles2/command_buffer_type_conversions.h', |
[email protected] | a0e753b | 2014-04-03 23:44:28 | [diff] [blame] | 27 | 'services/gles2/mojo_buffer_backing.cc', |
| 28 | 'services/gles2/mojo_buffer_backing.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 29 | ], |
[email protected] | 69a0a13 | 2014-03-26 16:45:02 | [diff] [blame] | 30 | 'variables': { |
| 31 | 'mojom_base_output_dir': 'mojo', |
| 32 | }, |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 33 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 34 | 'export_dependent_settings': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 35 | 'mojo_cpp_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 36 | ], |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 37 | 'dependencies': [ |
[email protected] | a0e753b | 2014-04-03 23:44:28 | [diff] [blame] | 38 | '../gpu/gpu.gyp:command_buffer_common', |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 39 | 'mojo_cpp_bindings', |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 40 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 41 | }, |
| 42 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 43 | 'target_name': 'mojo_gles2_service', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 44 | 'type': 'static_library', |
| 45 | 'dependencies': [ |
| 46 | '../base/base.gyp:base', |
| 47 | '../gpu/gpu.gyp:command_buffer_service', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 48 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 49 | '../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 50 | '../ui/gl/gl.gyp:gl', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 51 | 'mojo_gles2_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 52 | ], |
| 53 | 'export_dependent_settings': [ |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 54 | 'mojo_gles2_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 55 | ], |
| 56 | 'sources': [ |
[email protected] | 6878086 | 2014-02-07 00:25:07 | [diff] [blame] | 57 | 'services/gles2/command_buffer_impl.cc', |
| 58 | 'services/gles2/command_buffer_impl.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 59 | ], |
| 60 | }, |
| 61 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 62 | 'target_name': 'mojo_native_viewport_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 63 | 'type': 'static_library', |
| 64 | 'sources': [ |
| 65 | 'services/native_viewport/native_viewport.mojom', |
| 66 | ], |
[email protected] | 69a0a13 | 2014-03-26 16:45:02 | [diff] [blame] | 67 | 'variables': { |
| 68 | 'mojom_base_output_dir': 'mojo', |
| 69 | }, |
[email protected] | 352ed67c | 2014-04-04 21:11:21 | [diff] [blame] | 70 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 71 | 'export_dependent_settings': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 72 | 'mojo_cpp_bindings', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 73 | ], |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 74 | 'dependencies': [ |
[email protected] | 9a1526b | 2014-04-30 05:27:06 | [diff] [blame] | 75 | 'mojo_cpp_bindings', |
[email protected] | 88579880 | 2014-03-12 16:14:21 | [diff] [blame] | 76 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 77 | }, |
| 78 | { |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 79 | 'target_name': 'mojo_native_viewport_service', |
[email protected] | 8c17298b | 2014-04-21 21:12:08 | [diff] [blame] | 80 | # This is linked directly into the embedder, so we make it a component. |
| 81 | 'type': '<(component)', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 82 | 'dependencies': [ |
| 83 | '../base/base.gyp:base', |
| 84 | '../ui/events/events.gyp:events', |
| 85 | '../ui/gfx/gfx.gyp:gfx', |
[email protected] | b5e2d78 | 2013-12-18 21:01:15 | [diff] [blame] | 86 | '../ui/gfx/gfx.gyp:gfx_geometry', |
[email protected] | edce754 | 2013-12-18 02:07:37 | [diff] [blame] | 87 | 'mojo_common_lib', |
[email protected] | 0d37563e | 2014-01-14 16:27:51 | [diff] [blame] | 88 | 'mojo_environment_chromium', |
[email protected] | 99e508a4 | 2013-12-04 01:15:09 | [diff] [blame] | 89 | 'mojo_gles2_service', |
| 90 | 'mojo_native_viewport_bindings', |
[email protected] | 5d90df5 | 2014-03-27 04:16:00 | [diff] [blame] | 91 | 'mojo_shell_client', |
[email protected] | 3a73473 | 2014-04-15 03:14:25 | [diff] [blame] | 92 | 'mojo_system_impl', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 93 | ], |
[email protected] | edce754 | 2013-12-18 02:07:37 | [diff] [blame] | 94 | 'defines': [ |
| 95 | 'MOJO_NATIVE_VIEWPORT_IMPLEMENTATION', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 96 | ], |
| 97 | 'sources': [ |
[email protected] | bddb284 | 2014-01-27 22:38:19 | [diff] [blame] | 98 | 'services/native_viewport/geometry_conversions.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 99 | 'services/native_viewport/native_viewport.h', |
| 100 | 'services/native_viewport/native_viewport_android.cc', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 101 | 'services/native_viewport/native_viewport_mac.mm', |
[email protected] | edce754 | 2013-12-18 02:07:37 | [diff] [blame] | 102 | 'services/native_viewport/native_viewport_service.cc', |
| 103 | 'services/native_viewport/native_viewport_service.h', |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 104 | 'services/native_viewport/native_viewport_stub.cc', |
| 105 | 'services/native_viewport/native_viewport_win.cc', |
| 106 | 'services/native_viewport/native_viewport_x11.cc', |
| 107 | ], |
| 108 | 'conditions': [ |
| 109 | ['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', { |
| 110 | 'sources!': [ |
| 111 | 'services/native_viewport/native_viewport_stub.cc', |
| 112 | ], |
| 113 | }], |
| 114 | ['OS=="android"', { |
| 115 | 'dependencies': [ |
| 116 | 'mojo_jni_headers', |
| 117 | ], |
| 118 | }], |
| 119 | ], |
| 120 | }, |
[email protected] | 587ddac8 | 2014-04-21 21:18:56 | [diff] [blame] | 121 | { |
[email protected] | ef8c7ed | 2014-05-02 16:41:49 | [diff] [blame^] | 122 | 'target_name': 'mojo_view_manager_common', |
| 123 | 'type': 'static_library', |
| 124 | 'sources': [ |
| 125 | 'services/public/cpp/view_manager/view_manager_types.h', |
| 126 | ], |
| 127 | }, |
| 128 | { |
[email protected] | 1ab0b22 | 2014-05-01 04:23:47 | [diff] [blame] | 129 | 'target_name': 'mojo_view_manager_bindings', |
| 130 | 'type': 'static_library', |
| 131 | 'sources': [ |
| 132 | 'services/public/interfaces/view_manager/view_manager.mojom', |
| 133 | ], |
| 134 | 'variables': { |
| 135 | 'mojom_base_output_dir': 'mojo', |
| 136 | }, |
| 137 | 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| 138 | 'export_dependent_settings': [ |
| 139 | 'mojo_cpp_bindings', |
| 140 | ], |
| 141 | 'dependencies': [ |
| 142 | 'mojo_cpp_bindings', |
| 143 | ], |
| 144 | }, |
| 145 | { |
[email protected] | 587ddac8 | 2014-04-21 21:18:56 | [diff] [blame] | 146 | 'target_name': 'mojo_view_manager_lib', |
| 147 | 'type': 'static_library', |
| 148 | 'dependencies': [ |
| 149 | '../base/base.gyp:base', |
[email protected] | 1ab0b22 | 2014-05-01 04:23:47 | [diff] [blame] | 150 | 'mojo_view_manager_bindings', |
[email protected] | ef8c7ed | 2014-05-02 16:41:49 | [diff] [blame^] | 151 | 'mojo_view_manager_common', |
[email protected] | 587ddac8 | 2014-04-21 21:18:56 | [diff] [blame] | 152 | ], |
| 153 | 'sources': [ |
| 154 | 'services/public/cpp/view_manager/lib/view.cc', |
| 155 | 'services/public/cpp/view_manager/lib/view_manager.cc', |
[email protected] | 1ab0b22 | 2014-05-01 04:23:47 | [diff] [blame] | 156 | 'services/public/cpp/view_manager/lib/view_manager_private.cc', |
| 157 | 'services/public/cpp/view_manager/lib/view_manager_private.h', |
| 158 | 'services/public/cpp/view_manager/lib/view_manager_synchronizer.cc', |
| 159 | 'services/public/cpp/view_manager/lib/view_manager_synchronizer.h', |
[email protected] | 587ddac8 | 2014-04-21 21:18:56 | [diff] [blame] | 160 | 'services/public/cpp/view_manager/lib/view_tree_host.cc', |
| 161 | 'services/public/cpp/view_manager/lib/view_tree_node.cc', |
| 162 | 'services/public/cpp/view_manager/lib/view_tree_node_observer.cc', |
| 163 | 'services/public/cpp/view_manager/lib/view_tree_node_private.cc', |
| 164 | 'services/public/cpp/view_manager/lib/view_tree_node_private.h', |
| 165 | 'services/public/cpp/view_manager/view.h', |
| 166 | 'services/public/cpp/view_manager/view_manager.h', |
[email protected] | ef8c7ed | 2014-05-02 16:41:49 | [diff] [blame^] | 167 | 'services/public/cpp/view_manager/view_manager_types.h', |
[email protected] | 587ddac8 | 2014-04-21 21:18:56 | [diff] [blame] | 168 | 'services/public/cpp/view_manager/view_tree_host.h', |
| 169 | 'services/public/cpp/view_manager/view_tree_node.h', |
| 170 | 'services/public/cpp/view_manager/view_tree_node_observer.h', |
| 171 | ], |
| 172 | }, |
| 173 | { |
| 174 | 'target_name': 'mojo_view_manager_lib_unittests', |
| 175 | 'type': 'executable', |
| 176 | 'dependencies': [ |
| 177 | '../base/base.gyp:base', |
| 178 | '../base/base.gyp:test_support_base', |
| 179 | '../testing/gtest.gyp:gtest', |
[email protected] | 1ab0b22 | 2014-05-01 04:23:47 | [diff] [blame] | 180 | 'mojo_environment_chromium', |
[email protected] | 587ddac8 | 2014-04-21 21:18:56 | [diff] [blame] | 181 | 'mojo_run_all_unittests', |
| 182 | 'mojo_view_manager_lib', |
| 183 | ], |
| 184 | 'sources': [ |
| 185 | 'services/public/cpp/view_manager/tests/view_unittest.cc', |
| 186 | 'services/public/cpp/view_manager/tests/view_manager_unittest.cc', |
| 187 | 'services/public/cpp/view_manager/tests/view_tree_host_unittest.cc', |
| 188 | 'services/public/cpp/view_manager/tests/view_tree_node_unittest.cc', |
| 189 | ], |
| 190 | }, |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 191 | ], |
[email protected] | d0012d1f | 2014-04-22 21:58:10 | [diff] [blame] | 192 | 'conditions': [ |
| 193 | ['use_aura==1', { |
| 194 | 'targets': [ |
| 195 | { |
[email protected] | d0012d1f | 2014-04-22 21:58:10 | [diff] [blame] | 196 | 'target_name': 'mojo_view_manager', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 197 | 'type': '<(component)', |
[email protected] | d0012d1f | 2014-04-22 21:58:10 | [diff] [blame] | 198 | 'dependencies': [ |
| 199 | '../base/base.gyp:base', |
| 200 | '../skia/skia.gyp:skia', |
| 201 | '../ui/aura/aura.gyp:aura', |
| 202 | '../ui/gfx/gfx.gyp:gfx_geometry', |
| 203 | 'mojo_common_lib', |
| 204 | 'mojo_environment_chromium', |
| 205 | 'mojo_launcher_bindings', |
| 206 | 'mojo_native_viewport_bindings', |
| 207 | 'mojo_shell_client', |
| 208 | 'mojo_system_impl', |
| 209 | 'mojo_view_manager_bindings', |
[email protected] | ef8c7ed | 2014-05-02 16:41:49 | [diff] [blame^] | 210 | 'mojo_view_manager_common', |
[email protected] | d0012d1f | 2014-04-22 21:58:10 | [diff] [blame] | 211 | ], |
| 212 | 'sources': [ |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 213 | 'services/view_manager/ids.h', |
| 214 | 'services/view_manager/node.cc', |
| 215 | 'services/view_manager/node.h', |
| 216 | 'services/view_manager/node_delegate.h', |
| 217 | 'services/view_manager/root_node_manager.cc', |
| 218 | 'services/view_manager/root_node_manager.h', |
[email protected] | 504bf75c | 2014-04-25 15:11:07 | [diff] [blame] | 219 | 'services/view_manager/view.cc', |
| 220 | 'services/view_manager/view.h', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 221 | 'services/view_manager/view_manager.cc', |
[email protected] | d0012d1f | 2014-04-22 21:58:10 | [diff] [blame] | 222 | 'services/view_manager/view_manager_connection.cc', |
| 223 | 'services/view_manager/view_manager_connection.h', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 224 | 'services/view_manager/view_manager_export.h', |
| 225 | ], |
| 226 | 'defines': [ |
| 227 | 'MOJO_VIEW_MANAGER_IMPLEMENTATION', |
| 228 | ], |
| 229 | }, |
| 230 | { |
| 231 | 'target_name': 'mojo_view_manager_unittests', |
| 232 | 'type': 'executable', |
| 233 | 'dependencies': [ |
| 234 | '../base/base.gyp:base', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 235 | '../base/base.gyp:run_all_unittests', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 236 | '../skia/skia.gyp:skia', |
| 237 | '../testing/gtest.gyp:gtest', |
| 238 | '../ui/aura/aura.gyp:aura', |
| 239 | 'mojo_environment_chromium', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 240 | 'mojo_shell_client', |
[email protected] | 1124dea0 | 2014-04-29 19:31:23 | [diff] [blame] | 241 | 'mojo_shell_test_support', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 242 | 'mojo_system_impl', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 243 | 'mojo_view_manager_bindings', |
[email protected] | ef8c7ed | 2014-05-02 16:41:49 | [diff] [blame^] | 244 | 'mojo_view_manager_common', |
[email protected] | 36c2077c | 2014-04-23 22:36:03 | [diff] [blame] | 245 | ], |
| 246 | 'sources': [ |
| 247 | 'services/view_manager/view_manager_connection_unittest.cc', |
[email protected] | d0012d1f | 2014-04-22 21:58:10 | [diff] [blame] | 248 | ], |
| 249 | }, |
| 250 | { |
| 251 | 'target_name': 'package_mojo_view_manager', |
| 252 | 'variables': { |
| 253 | 'app_name': 'mojo_view_manager', |
| 254 | }, |
| 255 | 'includes': [ 'build/package_app.gypi' ], |
| 256 | }, |
| 257 | ], |
| 258 | }], |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 259 | ['OS=="linux"', { |
| 260 | 'targets': [ |
| 261 | { |
| 262 | 'target_name': 'mojo_dbus_echo_service', |
| 263 | 'type': 'executable', |
| 264 | 'dependencies': [ |
| 265 | '../base/base.gyp:base', |
| 266 | '../build/linux/system.gyp:dbus', |
| 267 | '../dbus/dbus.gyp:dbus', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 268 | 'mojo_common_lib', |
[email protected] | 8110218d | 2014-05-01 23:30:06 | [diff] [blame] | 269 | 'mojo_dbus_service', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 270 | 'mojo_echo_bindings', |
[email protected] | 8110218d | 2014-05-01 23:30:06 | [diff] [blame] | 271 | 'mojo_environment_chromium', |
[email protected] | 65eedf7 | 2014-04-28 11:53:16 | [diff] [blame] | 272 | 'mojo_shell_client', |
| 273 | 'mojo_system_impl', |
| 274 | ], |
| 275 | 'sources': [ |
| 276 | 'services/dbus_echo/dbus_echo_service.cc', |
| 277 | ], |
| 278 | }, |
| 279 | ], |
| 280 | }], |
[email protected] | d0012d1f | 2014-04-22 21:58:10 | [diff] [blame] | 281 | ], |
[email protected] | 3cf4aad | 2013-12-01 17:27:25 | [diff] [blame] | 282 | } |