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

Side by Side Diff: SConstruct

Issue 2424: Removed SCons warning flags duplication on Windows. It now uses... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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 | « no previous file | no next file » | 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 'CCFLAGS': ['-O2'] 56 'CCFLAGS': ['-O2']
57 }, 57 },
58 'wordsize:64': { 58 'wordsize:64': {
59 'CCFLAGS': ['-m32'], 59 'CCFLAGS': ['-m32'],
60 'LINKFLAGS': ['-m32'] 60 'LINKFLAGS': ['-m32']
61 } 61 }
62 }, 62 },
63 'msvc': { 63 'msvc': {
64 'all': { 64 'all': {
65 'DIALECTFLAGS': ['/nologo'], 65 'DIALECTFLAGS': ['/nologo'],
66 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'],
67 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 66 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
68 'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'], 67 'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'],
69 'CPPDEFINES': ['WIN32', '_USE_32BIT_TIME_T', 'PCRE_STATIC'], 68 'CPPDEFINES': ['WIN32', '_USE_32BIT_TIME_T', 'PCRE_STATIC'],
70 'LINKFLAGS': ['/NOLOGO', '/MACHINE:X86', '/INCREMENTAL:NO', 69 'LINKFLAGS': ['/NOLOGO', '/MACHINE:X86', '/INCREMENTAL:NO',
71 '/NXCOMPAT', '/IGNORE:4221'], 70 '/NXCOMPAT', '/IGNORE:4221'],
72 'ARFLAGS': ['/NOLOGO'], 71 'ARFLAGS': ['/NOLOGO'],
73 'CCPDBFLAGS': ['/Zi'] 72 'CCPDBFLAGS': ['/Zi']
74 }, 73 },
75 'mode:debug': { 74 'mode:debug': {
76 'CCFLAGS': ['/Od', '/Gm', '/MTd'], 75 'CCFLAGS': ['/Od', '/Gm', '/MTd'],
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 # version of scons. Also, there's a bug in some revisions that 525 # version of scons. Also, there's a bug in some revisions that
527 # doesn't allow this flag to be set, so we swallow any exceptions. 526 # doesn't allow this flag to be set, so we swallow any exceptions.
528 # Lovely. 527 # Lovely.
529 try: 528 try:
530 SetOption('warn', 'no-deprecated') 529 SetOption('warn', 'no-deprecated')
531 except: 530 except:
532 pass 531 pass
533 532
534 533
535 Build() 534 Build()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698