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

Side by Side Diff: SConstruct

Issue 4044003: Clean up definitions in simulator. ... (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/cpu-arm.cc » ('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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
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']
211 }, 210 },
212 'arch:mips': { 211 'arch:mips': {
213 'CPPDEFINES': ['V8_TARGET_ARCH_MIPS'], 212 'CPPDEFINES': ['V8_TARGET_ARCH_MIPS'],
214 'simulator:none': { 213 'simulator:none': {
215 'CCFLAGS': ['-EL', '-mips32r2', '-Wa,-mips32r2', '-fno-inline'], 214 'CCFLAGS': ['-EL', '-mips32r2', '-Wa,-mips32r2', '-fno-inline'],
216 'LDFLAGS': ['-EL'] 215 'LDFLAGS': ['-EL']
217 } 216 }
218 }, 217 },
219 'simulator:mips': { 218 'simulator:mips': {
220 'CCFLAGS': ['-m32'], 219 'CCFLAGS': ['-m32'],
221 'LINKFLAGS': ['-m32'], 220 'LINKFLAGS': ['-m32'],
222 'CPPDEFINES': ['USE_SIMULATOR']
223 }, 221 },
224 'arch:x64': { 222 'arch:x64': {
225 'CPPDEFINES': ['V8_TARGET_ARCH_X64'], 223 'CPPDEFINES': ['V8_TARGET_ARCH_X64'],
226 'CCFLAGS': ['-m64'], 224 'CCFLAGS': ['-m64'],
227 'LINKFLAGS': ['-m64'], 225 'LINKFLAGS': ['-m64'],
228 }, 226 },
229 'prof:oprofile': { 227 'prof:oprofile': {
230 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT'] 228 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT']
231 } 229 }
232 }, 230 },
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 # version of scons. Also, there's a bug in some revisions that 1137 # version of scons. Also, there's a bug in some revisions that
1140 # doesn't allow this flag to be set, so we swallow any exceptions. 1138 # doesn't allow this flag to be set, so we swallow any exceptions.
1141 # Lovely. 1139 # Lovely.
1142 try: 1140 try:
1143 SetOption('warn', 'no-deprecated') 1141 SetOption('warn', 'no-deprecated')
1144 except: 1142 except:
1145 pass 1143 pass
1146 1144
1147 1145
1148 Build() 1146 Build()
OLDNEW
« no previous file with comments | « no previous file | src/arm/cpu-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698