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

Unified Diff: build/common.gypi

Issue 151143002: Make gyp autodetection of host_arch work for 64-bit kernel and 32-bit userland (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 years, 11 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 | build/linux/detect_host_arch.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 48bda21526246ad03095a0f0e8c4de7a8904a897..91cfd0bd1540819ffb63f1815c69e32827ba17b3 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -103,12 +103,7 @@
['OS=="win" or OS=="mac" or OS=="ios"', {
'host_arch%': 'ia32',
}, {
- # This handles the Unix platforms for which there is some support.
- # Anything else gets passed through, which probably won't work
- # very well; such hosts should pass an explicit target_arch to
- # gyp.
- 'host_arch%':
- '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/i86pc/ia32/")',
+ 'host_arch%': '<!(python <(DEPTH)/build/linux/detect_host_arch.py)',
}],
# Embedded implies ozone.
« no previous file with comments | « no previous file | build/linux/detect_host_arch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698