| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  167       'LINKFLAGS':    ['-m32'] |  167       'LINKFLAGS':    ['-m32'] | 
|  168     }, |  168     }, | 
|  169     'arch:arm': { |  169     'arch:arm': { | 
|  170       'CPPDEFINES':   ['V8_TARGET_ARCH_ARM'] |  170       'CPPDEFINES':   ['V8_TARGET_ARCH_ARM'] | 
|  171     }, |  171     }, | 
|  172     'simulator:arm': { |  172     'simulator:arm': { | 
|  173       'CCFLAGS':      ['-m32'], |  173       'CCFLAGS':      ['-m32'], | 
|  174       'LINKFLAGS':    ['-m32'] |  174       'LINKFLAGS':    ['-m32'] | 
|  175     }, |  175     }, | 
|  176     'arch:x64': { |  176     'arch:x64': { | 
|  177       'CPPDEFINES':   ['V8_TARGET_ARCH_X64'], |  177       'CPPDEFINES':   ['V8_TARGET_ARCH_X64', 'V8_LONG_SMI'], | 
|  178       'CCFLAGS':      ['-m64'], |  178       'CCFLAGS':      ['-m64'], | 
|  179       'LINKFLAGS':    ['-m64'], |  179       'LINKFLAGS':    ['-m64'], | 
|  180     }, |  180     }, | 
|  181     'prof:oprofile': { |  181     'prof:oprofile': { | 
|  182       'CPPDEFINES':   ['ENABLE_OPROFILE_AGENT'] |  182       'CPPDEFINES':   ['ENABLE_OPROFILE_AGENT'] | 
|  183     } |  183     } | 
|  184   }, |  184   }, | 
|  185   'msvc': { |  185   'msvc': { | 
|  186     'all': { |  186     'all': { | 
|  187       'CCFLAGS':      ['$DIALECTFLAGS', '$WARNINGFLAGS'], |  187       'CCFLAGS':      ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 
|  188       'CXXFLAGS':     ['$CCFLAGS', '/GR-', '/Gy'], |  188       'CXXFLAGS':     ['$CCFLAGS', '/GR-', '/Gy'], | 
|  189       'CPPDEFINES':   ['WIN32'], |  189       'CPPDEFINES':   ['WIN32'], | 
|  190       'LINKFLAGS':    ['/INCREMENTAL:NO', '/NXCOMPAT', '/IGNORE:4221'], |  190       'LINKFLAGS':    ['/INCREMENTAL:NO', '/NXCOMPAT', '/IGNORE:4221'], | 
|  191       'CCPDBFLAGS':   ['/Zi'] |  191       'CCPDBFLAGS':   ['/Zi'] | 
|  192     }, |  192     }, | 
|  193     'verbose:off': { |  193     'verbose:off': { | 
|  194       'DIALECTFLAGS': ['/nologo'], |  194       'DIALECTFLAGS': ['/nologo'], | 
|  195       'ARFLAGS':      ['/NOLOGO'] |  195       'ARFLAGS':      ['/NOLOGO'] | 
|  196     }, |  196     }, | 
|  197     'arch:ia32': { |  197     'arch:ia32': { | 
|  198       'CPPDEFINES':   ['V8_TARGET_ARCH_IA32', '_USE_32BIT_TIME_T'], |  198       'CPPDEFINES':   ['V8_TARGET_ARCH_IA32', '_USE_32BIT_TIME_T'], | 
|  199       'LINKFLAGS':    ['/MACHINE:X86'], |  199       'LINKFLAGS':    ['/MACHINE:X86'], | 
|  200       'ARFLAGS':      ['/MACHINE:X86'] |  200       'ARFLAGS':      ['/MACHINE:X86'] | 
|  201     }, |  201     }, | 
|  202     'arch:x64': { |  202     'arch:x64': { | 
|  203       'CPPDEFINES':   ['V8_TARGET_ARCH_X64'], |  203       'CPPDEFINES':   ['V8_TARGET_ARCH_X64', 'V8_LONG_SMI'], | 
|  204       'LINKFLAGS':    ['/MACHINE:X64'], |  204       'LINKFLAGS':    ['/MACHINE:X64'], | 
|  205       'ARFLAGS':      ['/MACHINE:X64'] |  205       'ARFLAGS':      ['/MACHINE:X64'] | 
|  206     }, |  206     }, | 
|  207     'mode:debug': { |  207     'mode:debug': { | 
|  208       'CCFLAGS':      ['/Od', '/Gm'], |  208       'CCFLAGS':      ['/Od', '/Gm'], | 
|  209       'CPPDEFINES':   ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'], |  209       'CPPDEFINES':   ['_DEBUG', 'ENABLE_DISASSEMBLER', 'DEBUG'], | 
|  210       'LINKFLAGS':    ['/DEBUG'], |  210       'LINKFLAGS':    ['/DEBUG'], | 
|  211       'msvcrt:static': { |  211       'msvcrt:static': { | 
|  212         'CCFLAGS': ['/MTd'] |  212         'CCFLAGS': ['/MTd'] | 
|  213       }, |  213       }, | 
| (...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  981 # version of scons.  Also, there's a bug in some revisions that |  981 # version of scons.  Also, there's a bug in some revisions that | 
|  982 # doesn't allow this flag to be set, so we swallow any exceptions. |  982 # doesn't allow this flag to be set, so we swallow any exceptions. | 
|  983 # Lovely. |  983 # Lovely. | 
|  984 try: |  984 try: | 
|  985   SetOption('warn', 'no-deprecated') |  985   SetOption('warn', 'no-deprecated') | 
|  986 except: |  986 except: | 
|  987   pass |  987   pass | 
|  988  |  988  | 
|  989  |  989  | 
|  990 Build() |  990 Build() | 
| OLD | NEW |