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

Side by Side Diff: SConstruct

Issue 9372063: MIPS: Enable serialization for MIPS architecture. (Closed)
Patch Set: Rework on serialization handling of root references. Created 8 years, 9 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
« no previous file with comments | « no previous file | src/mips/assembler-mips.h » ('j') | src/mips/assembler-mips.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 'CCFLAGS': ['-mhard-float'], 205 'CCFLAGS': ['-mhard-float'],
206 'LINKFLAGS': ['-mhard-float'] 206 'LINKFLAGS': ['-mhard-float']
207 } 207 }
208 } 208 }
209 }, 209 },
210 'simulator:mips': { 210 'simulator:mips': {
211 'CCFLAGS': ['-m32'], 211 'CCFLAGS': ['-m32'],
212 'LINKFLAGS': ['-m32'], 212 'LINKFLAGS': ['-m32'],
213 'mipsabi:softfloat': { 213 'mipsabi:softfloat': {
214 'CPPDEFINES': ['__mips_soft_float=1'], 214 'CPPDEFINES': ['__mips_soft_float=1'],
215 'fpu:on': {
216 'CPPDEFINES' : ['CAN_USE_FPU_INSTRUCTIONS']
217 }
215 }, 218 },
216 'mipsabi:hardfloat': { 219 'mipsabi:hardfloat': {
217 'CPPDEFINES': ['__mips_hard_float=1'], 220 'CPPDEFINES': ['__mips_hard_float=1', 'CAN_USE_FPU_INSTRUCTIONS'],
218 } 221 }
219 }, 222 },
220 'arch:x64': { 223 'arch:x64': {
221 'CPPDEFINES': ['V8_TARGET_ARCH_X64'], 224 'CPPDEFINES': ['V8_TARGET_ARCH_X64'],
222 'CCFLAGS': ['-m64'], 225 'CCFLAGS': ['-m64'],
223 'LINKFLAGS': ['-m64'], 226 'LINKFLAGS': ['-m64'],
224 }, 227 },
225 'gdbjit:on': { 228 'gdbjit:on': {
226 'CPPDEFINES': ['ENABLE_GDB_JIT_INTERFACE'] 229 'CPPDEFINES': ['ENABLE_GDB_JIT_INTERFACE']
227 }, 230 },
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 }, 559 },
557 'library:static': { 560 'library:static': {
558 'LINKFLAGS': ['-static', '-static-libgcc'] 561 'LINKFLAGS': ['-static', '-static-libgcc']
559 }, 562 },
560 'mipsabi:softfloat': { 563 'mipsabi:softfloat': {
561 'CCFLAGS': ['-msoft-float'], 564 'CCFLAGS': ['-msoft-float'],
562 'LINKFLAGS': ['-msoft-float'] 565 'LINKFLAGS': ['-msoft-float']
563 }, 566 },
564 'mipsabi:hardfloat': { 567 'mipsabi:hardfloat': {
565 'CCFLAGS': ['-mhard-float'], 568 'CCFLAGS': ['-mhard-float'],
566 'LINKFLAGS': ['-mhard-float'] 569 'LINKFLAGS': ['-mhard-float'],
570 'fpu:on': {
571 'CPPDEFINES' : ['CAN_USE_FPU_INSTRUCTIONS']
572 }
567 } 573 }
568 } 574 }
569 }, 575 },
570 'simulator:arm': { 576 'simulator:arm': {
571 'CCFLAGS': ['-m32'], 577 'CCFLAGS': ['-m32'],
572 'LINKFLAGS': ['-m32'] 578 'LINKFLAGS': ['-m32']
573 }, 579 },
574 'simulator:mips': { 580 'simulator:mips': {
575 'CCFLAGS': ['-m32'], 581 'CCFLAGS': ['-m32'],
576 'LINKFLAGS': ['-m32'] 582 'LINKFLAGS': ['-m32']
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 'compress_startup_data': { 1127 'compress_startup_data': {
1122 'values': ['off', 'bz2'], 1128 'values': ['off', 'bz2'],
1123 'default': 'off', 1129 'default': 'off',
1124 'help': 'compress startup data (snapshot) [Linux only]' 1130 'help': 'compress startup data (snapshot) [Linux only]'
1125 }, 1131 },
1126 'vfp3': { 1132 'vfp3': {
1127 'values': ['on', 'off'], 1133 'values': ['on', 'off'],
1128 'default': 'on', 1134 'default': 'on',
1129 'help': 'use vfp3 instructions when building the snapshot [Arm only]' 1135 'help': 'use vfp3 instructions when building the snapshot [Arm only]'
1130 }, 1136 },
1137 'fpu': {
1138 'values': ['on', 'off'],
1139 'default': 'on',
1140 'help': 'use fpu instructions when building the snapshot [MIPS only]'
1141 },
1131 1142
1132 } 1143 }
1133 1144
1134 ALL_OPTIONS = dict(PLATFORM_OPTIONS, **SIMPLE_OPTIONS) 1145 ALL_OPTIONS = dict(PLATFORM_OPTIONS, **SIMPLE_OPTIONS)
1135 1146
1136 1147
1137 def AddOptions(options, result): 1148 def AddOptions(options, result):
1138 guess_env = Environment(options=result) 1149 guess_env = Environment(options=result)
1139 for (name, option) in options.iteritems(): 1150 for (name, option) in options.iteritems():
1140 if 'guess' in option: 1151 if 'guess' in option:
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 # version of scons. Also, there's a bug in some revisions that 1577 # version of scons. Also, there's a bug in some revisions that
1567 # doesn't allow this flag to be set, so we swallow any exceptions. 1578 # doesn't allow this flag to be set, so we swallow any exceptions.
1568 # Lovely. 1579 # Lovely.
1569 try: 1580 try:
1570 SetOption('warn', 'no-deprecated') 1581 SetOption('warn', 'no-deprecated')
1571 except: 1582 except:
1572 pass 1583 pass
1573 1584
1574 1585
1575 Build() 1586 Build()
OLDNEW
« no previous file with comments | « no previous file | src/mips/assembler-mips.h » ('j') | src/mips/assembler-mips.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698