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

Unified Diff: SConstruct

Issue 99355: Introduce processor detection in globals.h, instead of from the build system. (Closed)
Patch Set: Guard 64-bit literals around 64-bit. Switch to long. Created 11 years, 8 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 | src/codegen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: SConstruct
diff --git a/SConstruct b/SConstruct
index ac210d5afa53eb656e3d15e048641312b1a32f95..0c506790e803a9b2ccd2dc1739fa4778a36ac7cd 100644
--- a/SConstruct
+++ b/SConstruct
@@ -149,13 +149,13 @@ LIBRARY_FLAGS = {
}
},
'arch:ia32': {
- 'CPPDEFINES': ['V8_ARCH_IA32', 'ILP32']
+ 'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
},
'arch:arm': {
- 'CPPDEFINES': ['V8_ARCH_ARM', 'ILP32']
+ 'CPPDEFINES': ['V8_TARGET_ARCH_ARM']
},
'arch:x64': {
- 'CPPDEFINES': ['V8_ARCH_X64', 'LP64']
+ 'CPPDEFINES': ['V8_TARGET_ARCH_X64']
},
'prof:oprofile': {
'CPPDEFINES': ['ENABLE_OPROFILE_AGENT']
@@ -173,7 +173,7 @@ LIBRARY_FLAGS = {
'CCPDBFLAGS': ['/Zi']
},
'arch:ia32': {
- 'CPPDEFINES': ['V8_ARCH_IA32']
+ 'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
},
'mode:debug': {
'CCFLAGS': ['/Od', '/Gm'],
@@ -239,7 +239,7 @@ V8_EXTRA_FLAGS = {
'LIBS': ['winmm', 'ws2_32']
},
'arch:arm': {
- 'CPPDEFINES': ['V8_ARCH_ARM'],
+ 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'],
# /wd4996 is to silence the warning about sscanf
# used by the arm simulator.
'WARNINGFLAGS': ['/wd4996']
@@ -348,7 +348,7 @@ CCTEST_EXTRA_FLAGS = {
'CPPDEFINES': ['USING_V8_SHARED']
},
'arch:ia32': {
- 'CPPDEFINES': ['V8_ARCH_IA32']
+ 'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
}
}
}
@@ -442,7 +442,7 @@ SAMPLE_FLAGS = {
}
},
'arch:ia32': {
- 'CPPDEFINES': ['V8_ARCH_IA32']
+ 'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
},
'mode:debug': {
'CCFLAGS': ['/Od'],
« no previous file with comments | « no previous file | src/codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698