Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1511)

Side by Side Diff: mojo/mojo.gyp

Issue 545433002: mojo: Generate top level enums for python bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Follow sdefresne suugestions. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
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"', { 90 ['component != "shared_library" and OS == "linux"', {
91 'dependencies': [ 91 'dependencies': [
92 'mojo_python_bindings',
92 'mojo_python_embedder', 93 'mojo_python_embedder',
93 'mojo_python_system', 94 'mojo_python_system',
94 'mojo_python', 95 'mojo_python',
95 ], 96 ],
96 }], 97 }],
97 ] 98 ]
98 }, 99 },
99 { 100 {
100 # GN version: //mojo/shell:external_service_bindings 101 # GN version: //mojo/shell:external_service_bindings
101 'target_name': 'mojo_external_service_bindings', 102 'target_name': 'mojo_external_service_bindings',
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 }, 576 },
576 'sources': [ 577 'sources': [
577 'python/system/mojo/embedder.pyx', 578 'python/system/mojo/embedder.pyx',
578 ], 579 ],
579 'dependencies': [ 580 'dependencies': [
580 'mojo_base.gyp:mojo_system_impl', 581 'mojo_base.gyp:mojo_system_impl',
581 ], 582 ],
582 'includes': [ '../third_party/cython/cython_compiler.gypi' ], 583 'includes': [ '../third_party/cython/cython_compiler.gypi' ],
583 }, 584 },
584 { 585 {
586 'target_name': 'mojo_python_bindings',
587 'type': 'none',
588 'variables': {
589 'python_base_module': 'mojo/bindings',
590 },
591 'sources': [
592 'public/python/mojo/bindings/__init__.py',
593 'public/python/mojo/bindings/reflection.py',
594 ],
595 'dependencies': [
596 'mojo_python_system',
597 ],
598 'includes': [ '../third_party/cython/python_module.gypi' ],
599 },
600 {
585 'target_name': 'mojo_python', 601 'target_name': 'mojo_python',
586 'type': 'none', 602 'type': 'none',
587 'variables': { 603 'variables': {
588 'python_base_module': 'mojo', 604 'python_base_module': 'mojo',
589 }, 605 },
590 'sources': [ 606 'sources': [
591 'public/python/mojo/__init__.py', 607 'public/python/mojo/__init__.py',
592 ], 608 ],
593 'dependencies': [ 609 'dependencies': [
610 'mojo_python_bindings',
594 'mojo_python_embedder', 611 'mojo_python_embedder',
595 'mojo_python_system', 612 'mojo_python_system',
596 ], 613 ],
597 'includes': [ '../third_party/cython/python_module.gypi' ], 614 'includes': [ '../third_party/cython/python_module.gypi' ],
598 }, 615 },
599 ], 616 ],
600 }], 617 }],
601 ], 618 ],
602 } 619 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/python/BUILD.gn » ('j') | mojo/public/python/mojo/bindings/reflection.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698