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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 }, | 125 }, |
126 'disassembler:on': { | 126 'disassembler:on': { |
127 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 127 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
128 } | 128 } |
129 }, | 129 }, |
130 'msvc': { | 130 'msvc': { |
131 'all': { | 131 'all': { |
132 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'] | 132 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'] |
133 }, | 133 }, |
134 'library:shared': { | 134 'library:shared': { |
135 'CPPDEFINES': ['BUILDING_V8_SHARED'] | 135 'CPPDEFINES': ['BUILDING_V8_SHARED'], |
| 136 'LIBS': ['winmm', 'ws2_32'] |
136 }, | 137 }, |
137 'arch:arm': { | 138 'arch:arm': { |
138 'CPPDEFINES': ['ARM'], | 139 'CPPDEFINES': ['ARM'], |
139 # /wd4996 is to silence the warning about sscanf | 140 # /wd4996 is to silence the warning about sscanf |
140 # used by the arm simulator. | 141 # used by the arm simulator. |
141 'WARNINGFLAGS': ['/wd4996'] | 142 'WARNINGFLAGS': ['/wd4996'] |
142 }, | 143 }, |
143 'disassembler:on': { | 144 'disassembler:on': { |
144 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 145 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
145 } | 146 } |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 # version of scons. Also, there's a bug in some revisions that | 668 # version of scons. Also, there's a bug in some revisions that |
668 # doesn't allow this flag to be set, so we swallow any exceptions. | 669 # doesn't allow this flag to be set, so we swallow any exceptions. |
669 # Lovely. | 670 # Lovely. |
670 try: | 671 try: |
671 SetOption('warn', 'no-deprecated') | 672 SetOption('warn', 'no-deprecated') |
672 except: | 673 except: |
673 pass | 674 pass |
674 | 675 |
675 | 676 |
676 Build() | 677 Build() |
OLD | NEW |