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