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

Unified Diff: ports/python/nacl.patch

Issue 710193003: Reduce the number of times we build a host copy of python. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 6 years, 1 month 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
Index: ports/python/nacl.patch
diff --git a/ports/python/nacl.patch b/ports/python/nacl.patch
index 213b5bf50df75e10e880a894ec51e7283e6038b0..6a6bcee38641de681b818fa67bc27266e05025e8 100644
--- a/ports/python/nacl.patch
+++ b/ports/python/nacl.patch
@@ -482,8 +482,8 @@ index 2e32be2..29b7eef 100755
- done
+ case "$host" in
+ *-*-nacl*)
-+ interp=$(cd ../build-nacl-host && pwd)/python.exe
-+ if [ ! -f $interp ]; then interp=$(cd ../build-nacl-host && pwd)/python; fi
++ interp=$(cd ../../python-host/build_host && pwd)/python.exe
++ if [ ! -f $interp ]; then interp=$(cd ../../python-host/build_host && pwd)/python; fi
+ ;;
+ *)
+ for interp in python$PACKAGE_VERSION python2 python; do
@@ -588,7 +588,7 @@ index ee7e5fc..eacd03d 100644
- done
+ case "$host" in
+ *-*-nacl*)
-+ interp=$(cd ../build-nacl-host && pwd)/python
++ interp=$(cd ../../python-host/build_host && pwd)/python
+ ;;
+ *)
+ for interp in python$PACKAGE_VERSION python2 python; do
« README.rst ('K') | « ports/python/build.sh ('k') | ports/python/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698