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

Side by Side Diff: SConstruct

Issue 3825001: Added USE_SIMULATOR macro that explicitly indicates that we wish to use the s... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/simulator-arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], 199 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'],
200 'unalignedaccesses:on' : { 200 'unalignedaccesses:on' : {
201 'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=1'] 201 'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=1']
202 }, 202 },
203 'unalignedaccesses:off' : { 203 'unalignedaccesses:off' : {
204 'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=0'] 204 'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=0']
205 } 205 }
206 }, 206 },
207 'simulator:arm': { 207 'simulator:arm': {
208 'CCFLAGS': ['-m32'], 208 'CCFLAGS': ['-m32'],
209 'LINKFLAGS': ['-m32'] 209 'LINKFLAGS': ['-m32'],
210 'CPPDEFINES': ['USE_SIMULATOR']
210 }, 211 },
211 'arch:mips': { 212 'arch:mips': {
212 'CPPDEFINES': ['V8_TARGET_ARCH_MIPS'], 213 'CPPDEFINES': ['V8_TARGET_ARCH_MIPS'],
213 'simulator:none': { 214 'simulator:none': {
214 'CCFLAGS': ['-EL', '-mips32r2', '-Wa,-mips32r2', '-fno-inline'], 215 'CCFLAGS': ['-EL', '-mips32r2', '-Wa,-mips32r2', '-fno-inline'],
215 'LDFLAGS': ['-EL'] 216 'LDFLAGS': ['-EL']
216 } 217 }
217 }, 218 },
218 'simulator:mips': { 219 'simulator:mips': {
219 'CCFLAGS': ['-m32'], 220 'CCFLAGS': ['-m32'],
220 'LINKFLAGS': ['-m32'] 221 'LINKFLAGS': ['-m32'],
222 'CPPDEFINES': ['USE_SIMULATOR']
221 }, 223 },
222 'arch:x64': { 224 'arch:x64': {
223 'CPPDEFINES': ['V8_TARGET_ARCH_X64'], 225 'CPPDEFINES': ['V8_TARGET_ARCH_X64'],
224 'CCFLAGS': ['-m64'], 226 'CCFLAGS': ['-m64'],
225 'LINKFLAGS': ['-m64'], 227 'LINKFLAGS': ['-m64'],
226 }, 228 },
227 'prof:oprofile': { 229 'prof:oprofile': {
228 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT'] 230 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT']
229 } 231 }
230 }, 232 },
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 # version of scons. Also, there's a bug in some revisions that 1139 # version of scons. Also, there's a bug in some revisions that
1138 # doesn't allow this flag to be set, so we swallow any exceptions. 1140 # doesn't allow this flag to be set, so we swallow any exceptions.
1139 # Lovely. 1141 # Lovely.
1140 try: 1142 try:
1141 SetOption('warn', 'no-deprecated') 1143 SetOption('warn', 'no-deprecated')
1142 except: 1144 except:
1143 pass 1145 pass
1144 1146
1145 1147
1146 Build() 1148 Build()
OLDNEW
« no previous file with comments | « no previous file | src/arm/simulator-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698