| 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 }, | 274 }, |
| 275 'os:macos': { | 275 'os:macos': { |
| 276 'WARNINGFLAGS': ['-pedantic'] | 276 'WARNINGFLAGS': ['-pedantic'] |
| 277 }, | 277 }, |
| 278 'disassembler:on': { | 278 'disassembler:on': { |
| 279 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 279 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
| 280 } | 280 } |
| 281 }, | 281 }, |
| 282 'msvc': { | 282 'msvc': { |
| 283 'all': { | 283 'all': { |
| 284 'WARNINGFLAGS': ['/WX', '/wd4355', '/wd4800'] | 284 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'] |
| 285 }, | 285 }, |
| 286 'library:shared': { | 286 'library:shared': { |
| 287 'CPPDEFINES': ['BUILDING_V8_SHARED'], | 287 'CPPDEFINES': ['BUILDING_V8_SHARED'], |
| 288 'LIBS': ['winmm', 'ws2_32'] | 288 'LIBS': ['winmm', 'ws2_32'] |
| 289 }, | 289 }, |
| 290 'arch:ia32': { | |
| 291 'WARNINGFLAGS': ['/W3'] | |
| 292 }, | |
| 293 'arch:x64': { | |
| 294 'WARNINGFLAGS': ['/W3'] | |
| 295 }, | |
| 296 'arch:arm': { | 290 'arch:arm': { |
| 297 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], | 291 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], |
| 298 # /wd4996 is to silence the warning about sscanf | 292 # /wd4996 is to silence the warning about sscanf |
| 299 # used by the arm simulator. | 293 # used by the arm simulator. |
| 300 'WARNINGFLAGS': ['/wd4996'] | 294 'WARNINGFLAGS': ['/wd4996'] |
| 301 }, | 295 }, |
| 302 'disassembler:on': { | 296 'disassembler:on': { |
| 303 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 297 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
| 304 } | 298 } |
| 305 } | 299 } |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1041 # version of scons. Also, there's a bug in some revisions that | 1035 # version of scons. Also, there's a bug in some revisions that |
| 1042 # doesn't allow this flag to be set, so we swallow any exceptions. | 1036 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 1043 # Lovely. | 1037 # Lovely. |
| 1044 try: | 1038 try: |
| 1045 SetOption('warn', 'no-deprecated') | 1039 SetOption('warn', 'no-deprecated') |
| 1046 except: | 1040 except: |
| 1047 pass | 1041 pass |
| 1048 | 1042 |
| 1049 | 1043 |
| 1050 Build() | 1044 Build() |
| OLD | NEW |