OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 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': [ | 6 'includes': [ |
7 'mojo_variables.gypi', | 7 'mojo_variables.gypi', |
8 ], | 8 ], |
9 'target_defaults' : { | 9 'target_defaults' : { |
10 'include_dirs': [ | 10 'include_dirs': [ |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 # This comes from the mojo_interface_bindings_cpp_sources dependency. | 232 # This comes from the mojo_interface_bindings_cpp_sources dependency. |
233 '>@(mojom_generated_sources)', | 233 '>@(mojom_generated_sources)', |
234 ], | 234 ], |
235 'dependencies': [ | 235 'dependencies': [ |
236 '../base/base.gyp:base', | 236 '../base/base.gyp:base', |
237 'mojo_cpp_system', | 237 'mojo_cpp_system', |
238 'mojo_interface_bindings_cpp_sources', | 238 'mojo_interface_bindings_cpp_sources', |
239 ], | 239 ], |
240 }, | 240 }, |
241 { | 241 { |
242 # GN version: //mojo/public/cpp/bindings:wtf_support | |
243 'target_name': 'mojo_cpp_bindings_wtf_support', | |
244 'type': 'static_library', | |
245 'include_dirs': [ | |
246 '..' | |
247 ], | |
248 'sources': [ | |
249 'public/cpp/bindings/array_traits_wtf.h', | |
250 'public/cpp/bindings/array_traits_wtf_vector.h', | |
251 'public/cpp/bindings/lib/string_traits_wtf.cc', | |
252 'public/cpp/bindings/lib/wtf_serialization.h', | |
253 'public/cpp/bindings/string_traits_wtf.h', | |
254 'public/cpp/bindings/wtf_array.h', | |
255 ], | |
256 'dependencies': [ | |
257 'mojo_cpp_bindings', | |
258 '../third_party/WebKit/Source/config.gyp:config', | |
259 '../third_party/WebKit/Source/wtf/wtf.gyp:wtf', | |
260 ], | |
261 'export_dependent_settings': [ | |
262 'mojo_cpp_bindings', | |
263 '../third_party/WebKit/Source/config.gyp:config', | |
264 ], | |
265 'direct_dependent_settings': { | |
266 'variables': { | |
267 'clang_warning_flags_unset': [ '-Wglobal-constructors' ], | |
268 }, | |
269 }, | |
270 }, | |
271 { | |
272 # GN version: //mojo/message_pump | 242 # GN version: //mojo/message_pump |
273 'target_name': 'mojo_message_pump_lib', | 243 'target_name': 'mojo_message_pump_lib', |
274 'type': '<(component)', | 244 'type': '<(component)', |
275 'defines': [ | 245 'defines': [ |
276 'MOJO_MESSAGE_PUMP_IMPLEMENTATION', | 246 'MOJO_MESSAGE_PUMP_IMPLEMENTATION', |
277 ], | 247 ], |
278 'dependencies': [ | 248 'dependencies': [ |
279 '../base/base.gyp:base', | 249 '../base/base.gyp:base', |
280 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 250 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
281 '<(mojo_system_for_component)', | 251 '<(mojo_system_for_component)', |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 'public/cpp/bindings/tests/struct_with_traits.typemap', | 375 'public/cpp/bindings/tests/struct_with_traits.typemap', |
406 ], | 376 ], |
407 }, | 377 }, |
408 'sources': [ | 378 'sources': [ |
409 'public/interfaces/bindings/tests/struct_with_traits.mojom', | 379 'public/interfaces/bindings/tests/struct_with_traits.mojom', |
410 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc', | 380 'public/cpp/bindings/tests/struct_with_traits_impl_traits.cc', |
411 ], | 381 ], |
412 'includes': [ 'mojom_bindings_generator.gypi' ], | 382 'includes': [ 'mojom_bindings_generator.gypi' ], |
413 }, | 383 }, |
414 { | 384 { |
415 'target_name': 'mojo_public_test_interfaces_mojom_blink', | |
416 'type': 'none', | |
417 'variables': { | |
418 'for_blink': 'true', | |
419 'mojom_typemaps': [ | |
420 'public/cpp/bindings/tests/rect_blink.typemap', | |
421 'public/cpp/bindings/tests/test_native_types_blink.typemap', | |
422 ], | |
423 'mojom_files': '<(mojo_public_test_interfaces_mojom_files)', | |
424 }, | |
425 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], | |
426 }, | |
427 { | |
428 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces | 385 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces |
429 'target_name': 'mojo_public_test_interfaces', | 386 'target_name': 'mojo_public_test_interfaces', |
430 'type': 'static_library', | 387 'type': 'static_library', |
431 'export_dependent_settings': [ | 388 'export_dependent_settings': [ |
432 'mojo_cpp_bindings', | 389 'mojo_cpp_bindings', |
433 ], | 390 ], |
434 'sources': [ | 391 'sources': [ |
435 'public/cpp/bindings/tests/pickled_struct_chromium.cc', | 392 'public/cpp/bindings/tests/pickled_struct_chromium.cc', |
436 ], | 393 ], |
437 'dependencies': [ | 394 'dependencies': [ |
438 'mojo_public_test_interfaces_mojom', | 395 'mojo_public_test_interfaces_mojom', |
439 'mojo_cpp_bindings', | 396 'mojo_cpp_bindings', |
440 ], | 397 ], |
441 }, | 398 }, |
442 { | 399 { |
443 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_blin
k | |
444 'target_name': 'mojo_public_test_interfaces_blink', | |
445 'type': 'static_library', | |
446 'export_dependent_settings': [ | |
447 'mojo_public_test_interfaces_mojom_blink', | |
448 'mojo_cpp_bindings', | |
449 ], | |
450 'sources': [ | |
451 'public/cpp/bindings/tests/pickled_struct_blink.cc', | |
452 ], | |
453 'dependencies': [ | |
454 'mojo_public_test_interfaces_mojom_blink', | |
455 'mojo_cpp_bindings', | |
456 ], | |
457 }, | |
458 { | |
459 'target_name': 'mojo_public_test_associated_interfaces_mojom', | 400 'target_name': 'mojo_public_test_associated_interfaces_mojom', |
460 'type': 'none', | 401 'type': 'none', |
461 'variables': { | 402 'variables': { |
462 # These files are not included in the mojo_public_test_interfaces_mojom | 403 # These files are not included in the mojo_public_test_interfaces_mojom |
463 # target because associated interfaces are not supported by all bindings | 404 # target because associated interfaces are not supported by all bindings |
464 # languages yet. | 405 # languages yet. |
465 'mojom_files': [ | 406 'mojom_files': [ |
466 'public/interfaces/bindings/tests/test_associated_interfaces.mojom', | 407 'public/interfaces/bindings/tests/test_associated_interfaces.mojom', |
467 'public/interfaces/bindings/tests/validation_test_associated_interface
s.mojom', | 408 'public/interfaces/bindings/tests/validation_test_associated_interface
s.mojom', |
468 ], | 409 ], |
(...skipping 13 matching lines...) Expand all Loading... |
482 ], | 423 ], |
483 }, | 424 }, |
484 { | 425 { |
485 'target_name': 'mojo_public_test_wtf_types', | 426 'target_name': 'mojo_public_test_wtf_types', |
486 'type': 'static_library', | 427 'type': 'static_library', |
487 'sources': [ | 428 'sources': [ |
488 'public/interfaces/bindings/tests/test_wtf_types.mojom', | 429 'public/interfaces/bindings/tests/test_wtf_types.mojom', |
489 ], | 430 ], |
490 'includes': [ 'mojom_bindings_generator.gypi' ], | 431 'includes': [ 'mojom_bindings_generator.gypi' ], |
491 }, | 432 }, |
492 { | |
493 'target_name': 'mojo_public_test_wtf_types_blink', | |
494 'type': 'static_library', | |
495 'variables': { | |
496 'for_blink': 'true', | |
497 }, | |
498 'sources': [ | |
499 'public/interfaces/bindings/tests/test_wtf_types.mojom', | |
500 ], | |
501 'includes': [ 'mojom_bindings_generator.gypi' ], | |
502 }, | |
503 ], | 433 ], |
504 'conditions': [ | 434 'conditions': [ |
505 ['OS == "android"', { | 435 ['OS == "android"', { |
506 'targets': [ | 436 'targets': [ |
507 { | 437 { |
508 # GN version: //mojo/public/java:system | 438 # GN version: //mojo/public/java:system |
509 'target_name': 'mojo_public_java', | 439 'target_name': 'mojo_public_java', |
510 'type': 'none', | 440 'type': 'none', |
511 'variables': { | 441 'variables': { |
512 'chromium_code': 0, | 442 'chromium_code': 0, |
(...skipping 18 matching lines...) Expand all Loading... |
531 }, | 461 }, |
532 'dependencies': [ | 462 'dependencies': [ |
533 'mojo_interface_bindings_java_sources', | 463 'mojo_interface_bindings_java_sources', |
534 'mojo_public_java', | 464 'mojo_public_java', |
535 '<(DEPTH)/base/base.gyp:base_java', | 465 '<(DEPTH)/base/base.gyp:base_java', |
536 ], | 466 ], |
537 'includes': [ '../build/java.gypi' ], | 467 'includes': [ '../build/java.gypi' ], |
538 }, | 468 }, |
539 ], | 469 ], |
540 }], | 470 }], |
| 471 ['OS != "ios"', { |
| 472 'targets': [ |
| 473 { |
| 474 # GN version: //mojo/public/cpp/bindings:wtf_support |
| 475 'target_name': 'mojo_cpp_bindings_wtf_support', |
| 476 'type': 'static_library', |
| 477 'include_dirs': [ |
| 478 '..' |
| 479 ], |
| 480 'sources': [ |
| 481 'public/cpp/bindings/array_traits_wtf.h', |
| 482 'public/cpp/bindings/array_traits_wtf_vector.h', |
| 483 'public/cpp/bindings/lib/string_traits_wtf.cc', |
| 484 'public/cpp/bindings/lib/wtf_serialization.h', |
| 485 'public/cpp/bindings/string_traits_wtf.h', |
| 486 'public/cpp/bindings/wtf_array.h', |
| 487 ], |
| 488 'dependencies': [ |
| 489 'mojo_cpp_bindings', |
| 490 '../third_party/WebKit/Source/config.gyp:config', |
| 491 '../third_party/WebKit/Source/wtf/wtf.gyp:wtf', |
| 492 ], |
| 493 'export_dependent_settings': [ |
| 494 'mojo_cpp_bindings', |
| 495 '../third_party/WebKit/Source/config.gyp:config', |
| 496 ], |
| 497 'direct_dependent_settings': { |
| 498 'variables': { |
| 499 'clang_warning_flags_unset': [ '-Wglobal-constructors' ], |
| 500 }, |
| 501 }, |
| 502 }, |
| 503 { |
| 504 'target_name': 'mojo_public_test_interfaces_mojom_blink', |
| 505 'type': 'none', |
| 506 'variables': { |
| 507 'for_blink': 'true', |
| 508 'mojom_typemaps': [ |
| 509 'public/cpp/bindings/tests/rect_blink.typemap', |
| 510 'public/cpp/bindings/tests/test_native_types_blink.typemap', |
| 511 ], |
| 512 'mojom_files': '<(mojo_public_test_interfaces_mojom_files)', |
| 513 }, |
| 514 'includes': [ 'mojom_bindings_generator_explicit.gypi' ], |
| 515 }, |
| 516 { |
| 517 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces_
blink |
| 518 'target_name': 'mojo_public_test_interfaces_blink', |
| 519 'type': 'static_library', |
| 520 'export_dependent_settings': [ |
| 521 'mojo_public_test_interfaces_mojom_blink', |
| 522 'mojo_cpp_bindings', |
| 523 ], |
| 524 'sources': [ |
| 525 'public/cpp/bindings/tests/pickled_struct_blink.cc', |
| 526 ], |
| 527 'dependencies': [ |
| 528 'mojo_public_test_interfaces_mojom_blink', |
| 529 'mojo_cpp_bindings', |
| 530 ], |
| 531 }, |
| 532 { |
| 533 'target_name': 'mojo_public_test_wtf_types_blink', |
| 534 'type': 'static_library', |
| 535 'variables': { |
| 536 'for_blink': 'true', |
| 537 }, |
| 538 'sources': [ |
| 539 'public/interfaces/bindings/tests/test_wtf_types.mojom', |
| 540 ], |
| 541 'includes': [ 'mojom_bindings_generator.gypi' ], |
| 542 }, |
| 543 ], |
| 544 }], |
541 ], | 545 ], |
542 } | 546 } |
OLD | NEW |