OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'mojo_apps.gypi', | 10 'mojo_apps.gypi', |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 { | 243 { |
244 'target_name': 'mojo_shell_lib', | 244 'target_name': 'mojo_shell_lib', |
245 'type': 'static_library', | 245 'type': 'static_library', |
246 'dependencies': [ | 246 'dependencies': [ |
247 '../base/base.gyp:base', | 247 '../base/base.gyp:base', |
248 '../net/net.gyp:net', | 248 '../net/net.gyp:net', |
249 '../url/url.gyp:url_lib', | 249 '../url/url.gyp:url_lib', |
250 'mojo_bindings', | 250 'mojo_bindings', |
251 'mojo_gles2_impl', | 251 'mojo_gles2_impl', |
252 'mojo_native_viewport_service', | 252 'mojo_native_viewport_service', |
| 253 'mojo_shell_bindings', |
253 'mojo_system', | 254 'mojo_system', |
254 'mojo_system_impl', | 255 'mojo_system_impl', |
255 ], | 256 ], |
256 'sources': [ | 257 'sources': [ |
257 'shell/app_container.cc', | |
258 'shell/app_container.h', | |
259 'shell/context.cc', | 258 'shell/context.cc', |
260 'shell/context.h', | 259 'shell/context.h', |
261 'shell/init.cc', | 260 'shell/init.cc', |
262 'shell/init.h', | 261 'shell/init.h', |
263 'shell/loader.cc', | 262 'shell/loader.cc', |
264 'shell/loader.h', | 263 'shell/loader.h', |
265 'shell/network_delegate.cc', | 264 'shell/network_delegate.cc', |
266 'shell/network_delegate.h', | 265 'shell/network_delegate.h', |
267 'shell/run.cc', | 266 'shell/run.cc', |
268 'shell/run.h', | 267 'shell/run.h', |
269 'shell/storage.cc', | 268 'shell/storage.cc', |
270 'shell/storage.h', | 269 'shell/storage.h', |
| 270 'shell/service_manager.cc', |
| 271 'shell/service_manager.h', |
271 'shell/switches.cc', | 272 'shell/switches.cc', |
272 'shell/switches.h', | 273 'shell/switches.h', |
273 'shell/task_runners.cc', | 274 'shell/task_runners.cc', |
274 'shell/task_runners.h', | 275 'shell/task_runners.h', |
275 'shell/url_request_context_getter.cc', | 276 'shell/url_request_context_getter.cc', |
276 'shell/url_request_context_getter.h', | 277 'shell/url_request_context_getter.h', |
277 ], | 278 ], |
278 'conditions': [ | 279 'conditions': [ |
279 ['OS == "win"', { | 280 ['OS == "win"', { |
280 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 281 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
281 'msvs_disabled_warnings': [ | 282 'msvs_disabled_warnings': [ |
282 4267, | 283 4267, |
283 ], | 284 ], |
284 }], | 285 }], |
285 ], | 286 ], |
286 }, | 287 }, |
287 { | 288 { |
| 289 'target_name': 'mojo_shell_bindings', |
| 290 'type': 'static_library', |
| 291 'sources': [ |
| 292 'shell/shell.mojom', |
| 293 ], |
| 294 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
| 295 'export_dependent_settings': [ |
| 296 'mojo_bindings', |
| 297 'mojo_system', |
| 298 ], |
| 299 }, |
| 300 { |
288 'target_name': 'mojo_shell', | 301 'target_name': 'mojo_shell', |
289 'type': 'executable', | 302 'type': 'executable', |
290 'dependencies': [ | 303 'dependencies': [ |
291 '../base/base.gyp:base', | 304 '../base/base.gyp:base', |
292 '../ui/gl/gl.gyp:gl', | 305 '../ui/gl/gl.gyp:gl', |
293 '../url/url.gyp:url_lib', | 306 '../url/url.gyp:url_lib', |
294 'mojo_common_lib', | 307 'mojo_common_lib', |
295 'mojo_shell_lib', | 308 'mojo_shell_lib', |
296 'mojo_system', | 309 'mojo_system', |
297 'mojo_system_impl', | 310 'mojo_system_impl', |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 'target_name': 'libmojo_shell', | 364 'target_name': 'libmojo_shell', |
352 'type': 'shared_library', | 365 'type': 'shared_library', |
353 'dependencies': [ | 366 'dependencies': [ |
354 '../base/base.gyp:base', | 367 '../base/base.gyp:base', |
355 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 368 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
356 '../ui/gfx/gfx.gyp:gfx', | 369 '../ui/gfx/gfx.gyp:gfx', |
357 '../ui/gl/gl.gyp:gl', | 370 '../ui/gl/gl.gyp:gl', |
358 'mojo_common_lib', | 371 'mojo_common_lib', |
359 'mojo_jni_headers', | 372 'mojo_jni_headers', |
360 'mojo_shell_lib', | 373 'mojo_shell_lib', |
| 374 'mojo_shell_bindings', |
| 375 'mojo_native_viewport_service', |
361 ], | 376 ], |
362 'sources': [ | 377 'sources': [ |
363 'shell/android/library_loader.cc', | 378 'shell/android/library_loader.cc', |
364 'shell/android/mojo_main.cc', | 379 'shell/android/mojo_main.cc', |
365 'shell/android/mojo_main.h', | 380 'shell/android/mojo_main.h', |
366 ], | 381 ], |
367 }, | 382 }, |
368 { | 383 { |
369 'target_name': 'mojo_shell_apk', | 384 'target_name': 'mojo_shell_apk', |
370 'type': 'none', | 385 'type': 'none', |
371 'dependencies': [ | 386 'dependencies': [ |
372 '../base/base.gyp:base_java', | 387 '../base/base.gyp:base_java', |
373 '../net/net.gyp:net_java', | 388 '../net/net.gyp:net_java', |
374 'mojo_native_viewport_java', | 389 'mojo_native_viewport_java', |
375 'libmojo_shell', | 390 'libmojo_shell', |
376 ], | 391 ], |
377 'variables': { | 392 'variables': { |
378 'apk_name': 'MojoShell', | 393 'apk_name': 'MojoShell', |
379 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 394 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
380 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 395 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
381 'native_lib_target': 'libmojo_shell', | 396 'native_lib_target': 'libmojo_shell', |
382 }, | 397 }, |
383 'includes': [ '../build/java_apk.gypi' ], | 398 'includes': [ '../build/java_apk.gypi' ], |
384 } | 399 } |
385 ], | 400 ], |
386 }], | 401 }], |
387 ], | 402 ], |
388 } | 403 } |
OLD | NEW |