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