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