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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 'WARNINGFLAGS': ['-pedantic'] | 251 'WARNINGFLAGS': ['-pedantic'] |
252 }, | 252 }, |
253 'disassembler:on': { | 253 'disassembler:on': { |
254 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 254 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
255 } | 255 } |
256 }, | 256 }, |
257 'msvc': { | 257 'msvc': { |
258 'all': { | 258 'all': { |
259 'WARNINGFLAGS': ['/WX', '/wd4355', '/wd4800'] | 259 'WARNINGFLAGS': ['/WX', '/wd4355', '/wd4800'] |
260 }, | 260 }, |
| 261 'library:shared': { |
| 262 'CPPDEFINES': ['BUILDING_V8_SHARED'], |
| 263 'LIBS': ['winmm', 'ws2_32'] |
| 264 }, |
261 'arch:ia32': { | 265 'arch:ia32': { |
262 'WARNINGFLAGS': ['/W3'] | 266 'WARNINGFLAGS': ['/W3'] |
263 }, | 267 }, |
264 'arch:x64': { | 268 'arch:x64': { |
265 'WARNINGFLAGS': ['/W2'] | 269 'WARNINGFLAGS': ['/W2'] |
266 }, | 270 }, |
267 'arch:arm': { | 271 'arch:arm': { |
268 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], | 272 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], |
269 # /wd4996 is to silence the warning about sscanf | 273 # /wd4996 is to silence the warning about sscanf |
270 # used by the arm simulator. | 274 # used by the arm simulator. |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 # version of scons. Also, there's a bug in some revisions that | 955 # version of scons. Also, there's a bug in some revisions that |
952 # doesn't allow this flag to be set, so we swallow any exceptions. | 956 # doesn't allow this flag to be set, so we swallow any exceptions. |
953 # Lovely. | 957 # Lovely. |
954 try: | 958 try: |
955 SetOption('warn', 'no-deprecated') | 959 SetOption('warn', 'no-deprecated') |
956 except: | 960 except: |
957 pass | 961 pass |
958 | 962 |
959 | 963 |
960 Build() | 964 Build() |
OLD | NEW |