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

Unified Diff: main.scons

Issue 8587046: Bypassing windows build path on windows32 Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: main.scons
diff --git a/main.scons b/main.scons
index 437aea449d8dea5a768d769c65b573df7bc47090..86cda2f755a4d697afa940856bb3804fa0fc157d 100644
--- a/main.scons
+++ b/main.scons
@@ -101,7 +101,9 @@ base_env = Environment(
build_utils.NormalizeToolchain(arch='x86', variant='glibc'),
},
ROOT_DIR = os.path.abspath(os.getcwd()),
- IS_WINDOWS = sys.platform in ['cygwin', 'win32'],
+ IS_WINDOWS = (sys.platform in ['cygwin', 'win32'] and
+ '64' in os.environ.get('PROCESSOR_ARCHITECTURE', '') or
+ '64' in os.environ.get('PROCESSOR_ARCHITEW6432', '')),
IS_LINUX = sys.platform == 'linux2',
IS_MAC = sys.platform == 'darwin',
JOB_COUNT = GetOption('num_jobs')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698