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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 }, | 583 }, |
584 'sources': [ | 584 'sources': [ |
585 'public/python/mojo/__init__.py', | 585 'public/python/mojo/__init__.py', |
586 ], | 586 ], |
587 'dependencies': [ | 587 'dependencies': [ |
588 'mojo_python_embedder', | 588 'mojo_python_embedder', |
589 'mojo_python_system', | 589 'mojo_python_system', |
590 ], | 590 ], |
591 'includes': [ '../third_party/cython/python_module.gypi' ], | 591 'includes': [ '../third_party/cython/python_module.gypi' ], |
592 }, | 592 }, |
593 { | |
594 'target_name': 'mojo_python_unittests', | |
595 'type': 'none', | |
596 'actions': [ | |
597 { | |
598 'action_name': 'run_mojo_python_unittests', | |
599 'inputs': [ | |
600 'python/tests/test_core.py', | |
601 '<(SHARED_INTERMEDIATE_DIR)/mojo_python_py_module.stamp', | |
602 '<(PRODUCT_DIR)/python/mojo/__init__.py', | |
603 ], | |
604 'outputs': [ | |
605 'none', | |
606 ], | |
607 'action': [ | |
608 'python', '<@(_inputs)', '<(PRODUCT_DIR)/python', | |
609 ], | |
610 }, | |
611 ], | |
612 'dependency': [ | |
613 'mojo_python', | |
614 ], | |
615 }, | |
616 ], | 593 ], |
617 }], | 594 }], |
618 ], | 595 ], |
619 } | 596 } |
OLD | NEW |