| OLD | NEW |
| 1 # Copyright 2010 the V8 project authors. All rights reserved. | 1 # Copyright 2010 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 }, | 323 }, |
| 324 'os:macos': { | 324 'os:macos': { |
| 325 'WARNINGFLAGS': ['-pedantic'] | 325 'WARNINGFLAGS': ['-pedantic'] |
| 326 }, | 326 }, |
| 327 'disassembler:on': { | 327 'disassembler:on': { |
| 328 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 328 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
| 329 } | 329 } |
| 330 }, | 330 }, |
| 331 'msvc': { | 331 'msvc': { |
| 332 'all': { | 332 'all': { |
| 333 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'] | 333 'WARNINGFLAGS': ['/W3', '/WX', '/wd4351', '/wd4355', '/wd4800'] |
| 334 }, | 334 }, |
| 335 'library:shared': { | 335 'library:shared': { |
| 336 'CPPDEFINES': ['BUILDING_V8_SHARED'], | 336 'CPPDEFINES': ['BUILDING_V8_SHARED'], |
| 337 'LIBS': ['winmm', 'ws2_32'] | 337 'LIBS': ['winmm', 'ws2_32'] |
| 338 }, | 338 }, |
| 339 'arch:arm': { | 339 'arch:arm': { |
| 340 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], | 340 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], |
| 341 # /wd4996 is to silence the warning about sscanf | 341 # /wd4996 is to silence the warning about sscanf |
| 342 # used by the arm simulator. | 342 # used by the arm simulator. |
| 343 'WARNINGFLAGS': ['/wd4996'] | 343 'WARNINGFLAGS': ['/wd4996'] |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1190 # version of scons. Also, there's a bug in some revisions that | 1190 # version of scons. Also, there's a bug in some revisions that |
| 1191 # doesn't allow this flag to be set, so we swallow any exceptions. | 1191 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 1192 # Lovely. | 1192 # Lovely. |
| 1193 try: | 1193 try: |
| 1194 SetOption('warn', 'no-deprecated') | 1194 SetOption('warn', 'no-deprecated') |
| 1195 except: | 1195 except: |
| 1196 pass | 1196 pass |
| 1197 | 1197 |
| 1198 | 1198 |
| 1199 Build() | 1199 Build() |
| OLD | NEW |