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

Side by Side Diff: SConstruct

Issue 7778013: NewGC: Merge bleeding edge up to 9009. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 3 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 | « Makefile ('k') | build/common.gypi » ('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 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 'unalignedaccesses:off' : { 146 'unalignedaccesses:off' : {
147 'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=0'] 147 'CPPDEFINES' : ['CAN_USE_UNALIGNED_ACCESSES=0']
148 }, 148 },
149 'armeabi:soft' : { 149 'armeabi:soft' : {
150 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0'], 150 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0'],
151 'simulator:none': { 151 'simulator:none': {
152 'CCFLAGS': ['-mfloat-abi=soft'], 152 'CCFLAGS': ['-mfloat-abi=soft'],
153 } 153 }
154 }, 154 },
155 'armeabi:softfp' : { 155 'armeabi:softfp' : {
156 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0', 'CAN_USE_VFP_INSTRUCTIONS'], 156 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0'],
157 'vfp3:on': {
158 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
159 },
157 'simulator:none': { 160 'simulator:none': {
158 'CCFLAGS': ['-mfloat-abi=softfp'], 161 'CCFLAGS': ['-mfloat-abi=softfp'],
159 } 162 }
160 }, 163 },
161 'armeabi:hard' : { 164 'armeabi:hard' : {
162 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=1', 'CAN_USE_VFP_INSTRUCTIONS'], 165 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=1'],
166 'vfp3:on': {
167 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
168 },
163 'simulator:none': { 169 'simulator:none': {
164 'CCFLAGS': ['-mfloat-abi=hard'], 170 'CCFLAGS': ['-mfloat-abi=hard'],
165 } 171 }
166 } 172 }
167 }, 173 },
168 'simulator:arm': { 174 'simulator:arm': {
169 'CCFLAGS': ['-m32'], 175 'CCFLAGS': ['-m32'],
170 'LINKFLAGS': ['-m32'], 176 'LINKFLAGS': ['-m32'],
171 }, 177 },
172 'arch:mips': { 178 'arch:mips': {
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 'CCFLAGS': ['-mfloat-abi=soft'], 495 'CCFLAGS': ['-mfloat-abi=soft'],
490 } 496 }
491 }, 497 },
492 'armeabi:softfp' : { 498 'armeabi:softfp' : {
493 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0'], 499 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=0'],
494 'simulator:none': { 500 'simulator:none': {
495 'CCFLAGS': ['-mfloat-abi=softfp'], 501 'CCFLAGS': ['-mfloat-abi=softfp'],
496 } 502 }
497 }, 503 },
498 'armeabi:hard' : { 504 'armeabi:hard' : {
499 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=1', 'CAN_USE_VFP_INSTRUCTIONS'], 505 'CPPDEFINES' : ['USE_EABI_HARDFLOAT=1'],
506 'vfp3:on': {
507 'CPPDEFINES' : ['CAN_USE_VFP_INSTRUCTIONS']
508 },
500 'simulator:none': { 509 'simulator:none': {
501 'CCFLAGS': ['-mfloat-abi=hard'], 510 'CCFLAGS': ['-mfloat-abi=hard'],
502 } 511 }
503 } 512 }
504 }, 513 },
505 'arch:ia32': { 514 'arch:ia32': {
506 'CCFLAGS': ['-m32'], 515 'CCFLAGS': ['-m32'],
507 'LINKFLAGS': ['-m32'] 516 'LINKFLAGS': ['-m32']
508 }, 517 },
509 'arch:x64': { 518 'arch:x64': {
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 'mips_arch_variant': { 1092 'mips_arch_variant': {
1084 'values': ['mips32r2', 'mips32r1'], 1093 'values': ['mips32r2', 'mips32r1'],
1085 'default': 'mips32r2', 1094 'default': 'mips32r2',
1086 'help': 'mips variant' 1095 'help': 'mips variant'
1087 }, 1096 },
1088 'compress_startup_data': { 1097 'compress_startup_data': {
1089 'values': ['off', 'bz2'], 1098 'values': ['off', 'bz2'],
1090 'default': 'off', 1099 'default': 'off',
1091 'help': 'compress startup data (snapshot) [Linux only]' 1100 'help': 'compress startup data (snapshot) [Linux only]'
1092 }, 1101 },
1102 'vfp3': {
1103 'values': ['on', 'off'],
1104 'default': 'on',
1105 'help': 'use vfp3 instructions when building the snapshot [Arm only]'
1106 },
1107
1093 } 1108 }
1094 1109
1095 ALL_OPTIONS = dict(PLATFORM_OPTIONS, **SIMPLE_OPTIONS) 1110 ALL_OPTIONS = dict(PLATFORM_OPTIONS, **SIMPLE_OPTIONS)
1096 1111
1097 1112
1098 def AddOptions(options, result): 1113 def AddOptions(options, result):
1099 guess_env = Environment(options=result) 1114 guess_env = Environment(options=result)
1100 for (name, option) in options.iteritems(): 1115 for (name, option) in options.iteritems():
1101 if 'guess' in option: 1116 if 'guess' in option:
1102 # Option has a guess function 1117 # Option has a guess function
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1527 # version of scons. Also, there's a bug in some revisions that 1542 # version of scons. Also, there's a bug in some revisions that
1528 # doesn't allow this flag to be set, so we swallow any exceptions. 1543 # doesn't allow this flag to be set, so we swallow any exceptions.
1529 # Lovely. 1544 # Lovely.
1530 try: 1545 try:
1531 SetOption('warn', 'no-deprecated') 1546 SetOption('warn', 'no-deprecated')
1532 except: 1547 except:
1533 pass 1548 pass
1534 1549
1535 1550
1536 Build() 1551 Build()
OLDNEW
« no previous file with comments | « Makefile ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698