| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 'disassembler:on': { | 144 'disassembler:on': { |
| 145 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 145 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 } | 148 } |
| 149 | 149 |
| 150 | 150 |
| 151 MKSNAPSHOT_EXTRA_FLAGS = { | 151 MKSNAPSHOT_EXTRA_FLAGS = { |
| 152 'gcc': { | 152 'gcc': { |
| 153 'os:linux': { | 153 'os:linux': { |
| 154 'LIBS': ['pthread'], | 154 'LIBS': ['pthread', 'rt'], |
| 155 }, | 155 }, |
| 156 'os:macos': { | 156 'os:macos': { |
| 157 'LIBS': ['pthread'], | 157 'LIBS': ['pthread'], |
| 158 }, | 158 }, |
| 159 'os:freebsd': { | 159 'os:freebsd': { |
| 160 'LIBS': ['pthread'], | 160 'LIBS': ['pthread'], |
| 161 }, | 161 }, |
| 162 'os:win32': { | 162 'os:win32': { |
| 163 'LIBS': ['winmm', 'ws2_32'], | 163 'LIBS': ['winmm', 'ws2_32'], |
| 164 }, | 164 }, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 188 CCTEST_EXTRA_FLAGS = { | 188 CCTEST_EXTRA_FLAGS = { |
| 189 'all': { | 189 'all': { |
| 190 'CPPPATH': [join(root_dir, 'src')], | 190 'CPPPATH': [join(root_dir, 'src')], |
| 191 'LIBS': ['$LIBRARY'] | 191 'LIBS': ['$LIBRARY'] |
| 192 }, | 192 }, |
| 193 'gcc': { | 193 'gcc': { |
| 194 'all': { | 194 'all': { |
| 195 'LIBPATH': [abspath('.')] | 195 'LIBPATH': [abspath('.')] |
| 196 }, | 196 }, |
| 197 'os:linux': { | 197 'os:linux': { |
| 198 'LIBS': ['pthread'], | 198 'LIBS': ['pthread', 'rt'], |
| 199 }, | 199 }, |
| 200 'os:macos': { | 200 'os:macos': { |
| 201 'LIBS': ['pthread'], | 201 'LIBS': ['pthread'], |
| 202 }, | 202 }, |
| 203 'os:freebsd': { | 203 'os:freebsd': { |
| 204 'LIBS': ['execinfo', 'pthread'] | 204 'LIBS': ['execinfo', 'pthread'] |
| 205 }, | 205 }, |
| 206 'os:win32': { | 206 'os:win32': { |
| 207 'LIBS': ['winmm', 'ws2_32'] | 207 'LIBS': ['winmm', 'ws2_32'] |
| 208 }, | 208 }, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 226 SAMPLE_FLAGS = { | 226 SAMPLE_FLAGS = { |
| 227 'all': { | 227 'all': { |
| 228 'CPPPATH': [join(abspath('.'), 'include')], | 228 'CPPPATH': [join(abspath('.'), 'include')], |
| 229 'LIBS': ['$LIBRARY'], | 229 'LIBS': ['$LIBRARY'], |
| 230 }, | 230 }, |
| 231 'gcc': { | 231 'gcc': { |
| 232 'all': { | 232 'all': { |
| 233 'LIBPATH': ['.'] | 233 'LIBPATH': ['.'] |
| 234 }, | 234 }, |
| 235 'os:linux': { | 235 'os:linux': { |
| 236 'LIBS': ['pthread'], | 236 'LIBS': ['pthread', 'rt'], |
| 237 }, | 237 }, |
| 238 'os:macos': { | 238 'os:macos': { |
| 239 'LIBS': ['pthread'], | 239 'LIBS': ['pthread'], |
| 240 }, | 240 }, |
| 241 'os:freebsd': { | 241 'os:freebsd': { |
| 242 'LIBS': ['execinfo', 'pthread'] | 242 'LIBS': ['execinfo', 'pthread'] |
| 243 }, | 243 }, |
| 244 'os:win32': { | 244 'os:win32': { |
| 245 'LIBS': ['winmm', 'ws2_32'] | 245 'LIBS': ['winmm', 'ws2_32'] |
| 246 }, | 246 }, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 } | 294 } |
| 295 } | 295 } |
| 296 | 296 |
| 297 | 297 |
| 298 D8_FLAGS = { | 298 D8_FLAGS = { |
| 299 'gcc': { | 299 'gcc': { |
| 300 'console:readline': { | 300 'console:readline': { |
| 301 'LIBS': ['readline'] | 301 'LIBS': ['readline'] |
| 302 }, | 302 }, |
| 303 'os:linux': { | 303 'os:linux': { |
| 304 'LIBS': ['pthread'], | 304 'LIBS': ['pthread', 'rt'], |
| 305 }, | 305 }, |
| 306 'os:macos': { | 306 'os:macos': { |
| 307 'LIBS': ['pthread'], | 307 'LIBS': ['pthread'], |
| 308 }, | 308 }, |
| 309 'os:freebsd': { | 309 'os:freebsd': { |
| 310 'LIBS': ['pthread'], | 310 'LIBS': ['pthread'], |
| 311 }, | 311 }, |
| 312 'os:win32': { | 312 'os:win32': { |
| 313 'LIBS': ['winmm', 'ws2_32'], | 313 'LIBS': ['winmm', 'ws2_32'], |
| 314 }, | 314 }, |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 # 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 |
| 669 # 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. |
| 670 # Lovely. | 670 # Lovely. |
| 671 try: | 671 try: |
| 672 SetOption('warn', 'no-deprecated') | 672 SetOption('warn', 'no-deprecated') |
| 673 except: | 673 except: |
| 674 pass | 674 pass |
| 675 | 675 |
| 676 | 676 |
| 677 Build() | 677 Build() |
| OLD | NEW |