| 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 'target_defaults': { | 6 'target_defaults': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 ['mojo_shell_debug_url != ""', { | 8 ['mojo_shell_debug_url != ""', { |
| 9 'defines': [ | 9 'defines': [ |
| 10 'MOJO_SHELL_DEBUG=1', | 10 'MOJO_SHELL_DEBUG=1', |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 'mojo_view_manager', | 80 'mojo_view_manager', |
| 81 'mojo_view_manager_unittests', | 81 'mojo_view_manager_unittests', |
| 82 ], | 82 ], |
| 83 }], | 83 }], |
| 84 ['OS == "linux"', { | 84 ['OS == "linux"', { |
| 85 'dependencies': [ | 85 'dependencies': [ |
| 86 'mojo_dbus_echo', | 86 'mojo_dbus_echo', |
| 87 'mojo_dbus_echo_service', | 87 'mojo_dbus_echo_service', |
| 88 ], | 88 ], |
| 89 }], | 89 }], |
| 90 ['component != "shared_library" and OS == "linux"', { | |
| 91 'dependencies': [ | |
| 92 'mojo_python_embedder', | |
| 93 'mojo_python_system', | |
| 94 'mojo_python', | |
| 95 ], | |
| 96 }], | |
| 97 ] | 90 ] |
| 98 }, | 91 }, |
| 99 { | 92 { |
| 100 # GN version: //mojo/shell:external_service_bindings | 93 # GN version: //mojo/shell:external_service_bindings |
| 101 'target_name': 'mojo_external_service_bindings', | 94 'target_name': 'mojo_external_service_bindings', |
| 102 'type': 'static_library', | 95 'type': 'static_library', |
| 103 'sources': [ | 96 'sources': [ |
| 104 'shell/external_service.mojom', | 97 'shell/external_service.mojom', |
| 105 ], | 98 ], |
| 106 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 99 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 'views/mojo_views_export.h', | 524 'views/mojo_views_export.h', |
| 532 'views/views_init_internal.cc', | 525 'views/views_init_internal.cc', |
| 533 'views/views_init_internal.h', | 526 'views/views_init_internal.h', |
| 534 ], | 527 ], |
| 535 'defines': [ | 528 'defines': [ |
| 536 'MOJO_VIEWS_IMPLEMENTATION', | 529 'MOJO_VIEWS_IMPLEMENTATION', |
| 537 ], | 530 ], |
| 538 }, | 531 }, |
| 539 ], | 532 ], |
| 540 }], | 533 }], |
| 541 ['component!="shared_library" and OS=="linux"', { | |
| 542 'targets': [ | |
| 543 { | |
| 544 'target_name': 'mojo_python_system', | |
| 545 'variables': { | |
| 546 'python_base_module': 'mojo', | |
| 547 'python_cython_module': 'system', | |
| 548 }, | |
| 549 'sources': [ | |
| 550 'public/python/mojo/c_core.pxd', | |
| 551 'public/python/mojo/system.pyx', | |
| 552 ], | |
| 553 'dependencies': [ | |
| 554 'mojo_base.gyp:mojo_system', | |
| 555 ], | |
| 556 'includes': [ '../third_party/cython/cython_compiler.gypi' ], | |
| 557 }, | |
| 558 { | |
| 559 'target_name': 'mojo_python_embedder', | |
| 560 'type': 'loadable_module', | |
| 561 'variables': { | |
| 562 'python_base_module': 'mojo', | |
| 563 'python_cython_module': 'embedder', | |
| 564 }, | |
| 565 'sources': [ | |
| 566 'python/system/mojo/embedder.pyx', | |
| 567 ], | |
| 568 'dependencies': [ | |
| 569 'mojo_base.gyp:mojo_system_impl', | |
| 570 ], | |
| 571 'includes': [ '../third_party/cython/cython_compiler.gypi' ], | |
| 572 }, | |
| 573 { | |
| 574 'target_name': 'mojo_python', | |
| 575 'type': 'none', | |
| 576 'variables': { | |
| 577 'python_base_module': 'mojo', | |
| 578 }, | |
| 579 'sources': [ | |
| 580 'public/python/mojo/__init__.py', | |
| 581 ], | |
| 582 'dependencies': [ | |
| 583 'mojo_python_embedder', | |
| 584 'mojo_python_system', | |
| 585 ], | |
| 586 'includes': [ '../third_party/cython/python_module.gypi' ], | |
| 587 }, | |
| 588 { | |
| 589 'target_name': 'mojo_python_unittests', | |
| 590 'type': 'none', | |
| 591 'actions': [ | |
| 592 { | |
| 593 'action_name': 'run_mojo_python_unittests', | |
| 594 'inputs': [ | |
| 595 'python/tests/test_core.py', | |
| 596 '<(SHARED_INTERMEDIATE_DIR)/mojo_python_py_module.stamp', | |
| 597 ], | |
| 598 'outputs': [ | |
| 599 'none', | |
| 600 ], | |
| 601 'action': [ | |
| 602 'python', '<@(_inputs)', '<(PRODUCT_DIR)/python', | |
| 603 ], | |
| 604 }, | |
| 605 ], | |
| 606 'dependency': [ | |
| 607 'mojo_python', | |
| 608 ], | |
| 609 }, | |
| 610 ], | |
| 611 }], | |
| 612 ], | 534 ], |
| 613 } | 535 } |
| OLD | NEW |