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

Side by Side Diff: SConstruct

Issue 1940: Replaced calls to functions that msvc consider deprecated. Used... (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 | src/counters.h » ('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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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'], 66 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'],
67 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 67 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
68 'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'], 68 'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'],
69 'CPPDEFINES': ['WIN32', '_CRT_SECURE_NO_DEPRECATE', 69 'CPPDEFINES': ['WIN32', '_USE_32BIT_TIME_T', 'PCRE_STATIC'],
70 '_CRT_NONSTDC_NO_DEPRECATE', '_USE_32BIT_TIME_T',
71 'PCRE_STATIC'],
72 'LINKFLAGS': ['/NOLOGO', '/MACHINE:X86', '/INCREMENTAL:NO', 70 'LINKFLAGS': ['/NOLOGO', '/MACHINE:X86', '/INCREMENTAL:NO',
73 '/NXCOMPAT', '/IGNORE:4221'], 71 '/NXCOMPAT', '/IGNORE:4221'],
74 'ARFLAGS': ['/NOLOGO'], 72 'ARFLAGS': ['/NOLOGO'],
75 'CCPDBFLAGS': ['/Zi'] 73 'CCPDBFLAGS': ['/Zi']
76 }, 74 },
77 'mode:debug': { 75 'mode:debug': {
78 'CCFLAGS': ['/Od', '/Gm', '/MTd'], 76 'CCFLAGS': ['/Od', '/Gm', '/MTd'],
79 'CPPDEFINES': ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'], 77 'CPPDEFINES': ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'],
80 'LINKFLAGS': ['/DEBUG'] 78 'LINKFLAGS': ['/DEBUG']
81 }, 79 },
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 # 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
528 # 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.
529 # Lovely. 527 # Lovely.
530 try: 528 try:
531 SetOption('warn', 'no-deprecated') 529 SetOption('warn', 'no-deprecated')
532 except: 530 except:
533 pass 531 pass
534 532
535 533
536 Build() 534 Build()
OLDNEW
« no previous file with comments | « no previous file | src/counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698