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

Side by Side Diff: SConstruct

Issue 5664: Changed optimization from /Ox to the (more) commonly used /O2 (which includes... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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 | tools/visual_studio/release.vsprops » ('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 2008 the V8 project authors. All rights reserved. 1 # Copyright 2008 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 '/NXCOMPAT', '/IGNORE:4221'], 70 '/NXCOMPAT', '/IGNORE:4221'],
71 'ARFLAGS': ['/NOLOGO'], 71 'ARFLAGS': ['/NOLOGO'],
72 'CCPDBFLAGS': ['/Zi'] 72 'CCPDBFLAGS': ['/Zi']
73 }, 73 },
74 'mode:debug': { 74 'mode:debug': {
75 'CCFLAGS': ['/Od', '/Gm', '/MTd'], 75 'CCFLAGS': ['/Od', '/Gm', '/MTd'],
76 'CPPDEFINES': ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'], 76 'CPPDEFINES': ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'],
77 'LINKFLAGS': ['/DEBUG'] 77 'LINKFLAGS': ['/DEBUG']
78 }, 78 },
79 'mode:release': { 79 'mode:release': {
80 'CCFLAGS': ['/Ox', '/MT', '/GF'], 80 'CCFLAGS': ['/O2', '/MT', '/GL'],
81 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF'] 81 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG'],
82 'ARFLAGS': ['/LTCG']
82 } 83 }
83 } 84 }
84 } 85 }
85 86
86 87
87 V8_EXTRA_FLAGS = { 88 V8_EXTRA_FLAGS = {
88 'gcc': { 89 'gcc': {
89 'all': { 90 'all': {
90 'CXXFLAGS': [], #['-fvisibility=hidden'], 91 'CXXFLAGS': [], #['-fvisibility=hidden'],
91 'WARNINGFLAGS': ['-pedantic', '-Wall', '-Werror', '-W', 92 'WARNINGFLAGS': ['-pedantic', '-Wall', '-Werror', '-W',
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 'all': { 199 'all': {
199 'CCFLAGS': ['/nologo'], 200 'CCFLAGS': ['/nologo'],
200 }, 201 },
201 'library:shared': { 202 'library:shared': {
202 'CPPDEFINES': ['USING_V8_SHARED'] 203 'CPPDEFINES': ['USING_V8_SHARED']
203 }, 204 },
204 'prof:on': { 205 'prof:on': {
205 'LINKFLAGS': ['/MAP'] 206 'LINKFLAGS': ['/MAP']
206 }, 207 },
207 'mode:release': { 208 'mode:release': {
208 'CCFLAGS': ['/Ox', '/MT', '/GF'], 209 'CCFLAGS': ['/O2', '/MT'],
209 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF'] 210 'LINKFLAGS': ['/OPT:REF', '/OPT:ICF', '/LTCG']
210 }, 211 },
211 'mode:debug': { 212 'mode:debug': {
212 'CCFLAGS': ['/Od', '/MTd'], 213 'CCFLAGS': ['/Od', '/MTd'],
213 'LINKFLAGS': ['/DEBUG'] 214 'LINKFLAGS': ['/DEBUG']
214 } 215 }
215 } 216 }
216 } 217 }
217 218
218 219
219 SUFFIXES = { 220 SUFFIXES = {
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 # version of scons. Also, there's a bug in some revisions that 543 # version of scons. Also, there's a bug in some revisions that
543 # doesn't allow this flag to be set, so we swallow any exceptions. 544 # doesn't allow this flag to be set, so we swallow any exceptions.
544 # Lovely. 545 # Lovely.
545 try: 546 try:
546 SetOption('warn', 'no-deprecated') 547 SetOption('warn', 'no-deprecated')
547 except: 548 except:
548 pass 549 pass
549 550
550 551
551 Build() 552 Build()
OLDNEW
« no previous file with comments | « no previous file | tools/visual_studio/release.vsprops » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698