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

Unified Diff: mojo/mojo.gyp

Issue 578893002: mojo: Fix dependency for building python bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused variable 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 | third_party/cython/cp_python_binary_modules.py » ('j') | no next file with comments »
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 890af4e63cc53e99acee22f4fdda628091e83d31..7948336f52ddd86983b5edf23c873bb2d3856aa9 100644
--- a/mojo/mojo.gyp
+++ b/mojo/mojo.gyp
@@ -622,6 +622,39 @@
'mojo_python_embedder',
'mojo_python_system',
],
+ # The python module need to be copied to their destinations
+ 'actions': [
+ {
+ 'action_name': 'Copy system module.',
+ 'inputs': [
+ '<(DEPTH)/build/cp.py',
+ '<(PRODUCT_DIR)/libmojo_python_system.so',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/python/mojo/system.so',
+ ],
+ 'action': [
+ 'python',
+ '<@(_inputs)',
+ '<@(_outputs)',
+ ]
+ },
+ {
+ 'action_name': 'Copy embedder module.',
+ 'inputs': [
+ '<(DEPTH)/build/cp.py',
+ '<(PRODUCT_DIR)/libmojo_python_embedder.so',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/python/mojo/embedder.so',
+ ],
+ 'action': [
+ 'python',
+ '<@(_inputs)',
+ '<@(_outputs)',
+ ]
+ },
+ ],
'includes': [ '../third_party/cython/python_module.gypi' ],
},
],
« no previous file with comments | « no previous file | third_party/cython/cp_python_binary_modules.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698