| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 Loading... |
| 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() |
| OLD | NEW |