OLD | NEW |
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 }, | 135 }, |
136 'prof:oprofile': { | 136 'prof:oprofile': { |
137 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT'] | 137 'CPPDEFINES': ['ENABLE_OPROFILE_AGENT'] |
138 } | 138 } |
139 }, | 139 }, |
140 'msvc': { | 140 'msvc': { |
141 'all': { | 141 'all': { |
142 'DIALECTFLAGS': ['/nologo'], | 142 'DIALECTFLAGS': ['/nologo'], |
143 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 143 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], |
144 'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'], | 144 'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'], |
145 'CPPDEFINES': ['WIN32', '_USE_32BIT_TIME_T', 'PCRE_STATIC'], | 145 'CPPDEFINES': ['WIN32', '_USE_32BIT_TIME_T'], |
146 'LINKFLAGS': ['/NOLOGO', '/MACHINE:X86', '/INCREMENTAL:NO', | 146 'LINKFLAGS': ['/NOLOGO', '/MACHINE:X86', '/INCREMENTAL:NO', |
147 '/NXCOMPAT', '/IGNORE:4221'], | 147 '/NXCOMPAT', '/IGNORE:4221'], |
148 'ARFLAGS': ['/NOLOGO'], | 148 'ARFLAGS': ['/NOLOGO'], |
149 'CCPDBFLAGS': ['/Zi'] | 149 'CCPDBFLAGS': ['/Zi'] |
150 }, | 150 }, |
151 'mode:debug': { | 151 'mode:debug': { |
152 'CCFLAGS': ['/Od', '/Gm'], | 152 'CCFLAGS': ['/Od', '/Gm'], |
153 'CPPDEFINES': ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'], | 153 'CPPDEFINES': ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'], |
154 'LINKFLAGS': ['/DEBUG'], | 154 'LINKFLAGS': ['/DEBUG'], |
155 'msvcrt:static': { | 155 'msvcrt:static': { |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 # version of scons. Also, there's a bug in some revisions that | 766 # version of scons. Also, there's a bug in some revisions that |
767 # doesn't allow this flag to be set, so we swallow any exceptions. | 767 # doesn't allow this flag to be set, so we swallow any exceptions. |
768 # Lovely. | 768 # Lovely. |
769 try: | 769 try: |
770 SetOption('warn', 'no-deprecated') | 770 SetOption('warn', 'no-deprecated') |
771 except: | 771 except: |
772 pass | 772 pass |
773 | 773 |
774 | 774 |
775 Build() | 775 Build() |
OLD | NEW |