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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 'WARNINGFLAGS': ['/WX', '/wd4355', '/wd4800'] | 266 'WARNINGFLAGS': ['/WX', '/wd4355', '/wd4800'] |
267 }, | 267 }, |
268 'library:shared': { | 268 'library:shared': { |
269 'CPPDEFINES': ['BUILDING_V8_SHARED'], | 269 'CPPDEFINES': ['BUILDING_V8_SHARED'], |
270 'LIBS': ['winmm', 'ws2_32'] | 270 'LIBS': ['winmm', 'ws2_32'] |
271 }, | 271 }, |
272 'arch:ia32': { | 272 'arch:ia32': { |
273 'WARNINGFLAGS': ['/W3'] | 273 'WARNINGFLAGS': ['/W3'] |
274 }, | 274 }, |
275 'arch:x64': { | 275 'arch:x64': { |
276 'WARNINGFLAGS': ['/W2'] | 276 'WARNINGFLAGS': ['/W3'] |
277 }, | 277 }, |
278 'arch:arm': { | 278 'arch:arm': { |
279 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], | 279 'CPPDEFINES': ['V8_TARGET_ARCH_ARM'], |
280 # /wd4996 is to silence the warning about sscanf | 280 # /wd4996 is to silence the warning about sscanf |
281 # used by the arm simulator. | 281 # used by the arm simulator. |
282 'WARNINGFLAGS': ['/wd4996'] | 282 'WARNINGFLAGS': ['/wd4996'] |
283 }, | 283 }, |
284 'disassembler:on': { | 284 'disassembler:on': { |
285 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 285 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
286 } | 286 } |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 # version of scons. Also, there's a bug in some revisions that | 982 # version of scons. Also, there's a bug in some revisions that |
983 # doesn't allow this flag to be set, so we swallow any exceptions. | 983 # doesn't allow this flag to be set, so we swallow any exceptions. |
984 # Lovely. | 984 # Lovely. |
985 try: | 985 try: |
986 SetOption('warn', 'no-deprecated') | 986 SetOption('warn', 'no-deprecated') |
987 except: | 987 except: |
988 pass | 988 pass |
989 | 989 |
990 | 990 |
991 Build() | 991 Build() |
OLD | NEW |