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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/public/python/BUILD.gn » ('j') | mojo/public/python/mojo/bindings/reflection.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo.gyp
diff --git a/mojo/mojo.gyp b/mojo/mojo.gyp
index c94cf09f336d76813dfe24442d3b45d8bd118973..a9bf2b5e689a9f39c064a9787bed19e89a1b181b 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -89,6 +89,7 @@
}],
['component != "shared_library" and OS == "linux"', {
'dependencies': [
+ 'mojo_python_bindings',
'mojo_python_embedder',
'mojo_python_system',
'mojo_python',
@@ -582,6 +583,21 @@
'includes': [ '../third_party/cython/cython_compiler.gypi' ],
},
{
+ 'target_name': 'mojo_python_bindings',
+ 'type': 'none',
+ 'variables': {
+ 'python_base_module': 'mojo/bindings',
+ },
+ 'sources': [
+ 'public/python/mojo/bindings/__init__.py',
+ 'public/python/mojo/bindings/reflection.py',
+ ],
+ 'dependencies': [
+ 'mojo_python_system',
+ ],
+ 'includes': [ '../third_party/cython/python_module.gypi' ],
+ },
+ {
'target_name': 'mojo_python',
'type': 'none',
'variables': {
@@ -591,6 +607,7 @@
'public/python/mojo/__init__.py',
],
'dependencies': [
+ 'mojo_python_bindings',
'mojo_python_embedder',
'mojo_python_system',
],
« 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