| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 'WIN32', | 255 'WIN32', |
| 256 ], | 256 ], |
| 257 }], | 257 }], |
| 258 ['OS=="win" and v8_enable_prof==1', { | 258 ['OS=="win" and v8_enable_prof==1', { |
| 259 'msvs_settings': { | 259 'msvs_settings': { |
| 260 'VCLinkerTool': { | 260 'VCLinkerTool': { |
| 261 'GenerateMapFile': 'true', | 261 'GenerateMapFile': 'true', |
| 262 }, | 262 }, |
| 263 }, | 263 }, |
| 264 }], | 264 }], |
| 265 ['OS=="win" and v8_target_arch=="x64"', { |
| 266 'msvs_settings': { |
| 267 'VCLinkerTool': { |
| 268 'StackReserveSize': '2097152', |
| 269 }, |
| 270 }, |
| 271 }], |
| 265 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 272 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 266 or OS=="netbsd"', { | 273 or OS=="netbsd"', { |
| 267 'conditions': [ | 274 'conditions': [ |
| 268 [ 'target_arch=="ia32"', { | 275 [ 'target_arch=="ia32"', { |
| 269 'cflags': [ '-m32' ], | 276 'cflags': [ '-m32' ], |
| 270 'ldflags': [ '-m32' ], | 277 'ldflags': [ '-m32' ], |
| 271 }], | 278 }], |
| 272 [ 'v8_no_strict_aliasing==1', { | 279 [ 'v8_no_strict_aliasing==1', { |
| 273 'cflags': [ '-fno-strict-aliasing' ], | 280 'cflags': [ '-fno-strict-aliasing' ], |
| 274 }], | 281 }], |
| (...skipping 18 matching lines...) Expand all Loading... |
| 293 'conditions': [ | 300 'conditions': [ |
| 294 ['OS=="win" and component=="shared_library"', { | 301 ['OS=="win" and component=="shared_library"', { |
| 295 'RuntimeLibrary': '3', # /MDd | 302 'RuntimeLibrary': '3', # /MDd |
| 296 }, { | 303 }, { |
| 297 'RuntimeLibrary': '1', # /MTd | 304 'RuntimeLibrary': '1', # /MTd |
| 298 }], | 305 }], |
| 299 ], | 306 ], |
| 300 }, | 307 }, |
| 301 'VCLinkerTool': { | 308 'VCLinkerTool': { |
| 302 'LinkIncremental': '2', | 309 'LinkIncremental': '2', |
| 303 # For future reference, the stack size needs to be increased | |
| 304 # when building for Windows 64-bit, otherwise some test cases | |
| 305 # can cause stack overflow. | |
| 306 # 'StackReserveSize': '297152', | |
| 307 }, | 310 }, |
| 308 }, | 311 }, |
| 309 'conditions': [ | 312 'conditions': [ |
| 310 ['OS=="freebsd" or OS=="openbsd"', { | 313 ['OS=="freebsd" or OS=="openbsd"', { |
| 311 'cflags': [ '-I/usr/local/include' ], | 314 'cflags': [ '-I/usr/local/include' ], |
| 312 }], | 315 }], |
| 313 ['OS=="netbsd"', { | 316 ['OS=="netbsd"', { |
| 314 'cflags': [ '-I/usr/pkg/include' ], | 317 'cflags': [ '-I/usr/pkg/include' ], |
| 315 }], | 318 }], |
| 316 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { | 319 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 ['OS=="win" and component=="shared_library"', { | 381 ['OS=="win" and component=="shared_library"', { |
| 379 'RuntimeLibrary': '2', #/MD | 382 'RuntimeLibrary': '2', #/MD |
| 380 }, { | 383 }, { |
| 381 'RuntimeLibrary': '0', #/MT | 384 'RuntimeLibrary': '0', #/MT |
| 382 }], | 385 }], |
| 383 ], | 386 ], |
| 384 }, | 387 }, |
| 385 'VCLinkerTool': { | 388 'VCLinkerTool': { |
| 386 'LinkIncremental': '1', | 389 'LinkIncremental': '1', |
| 387 'OptimizeReferences': '2', | 390 'OptimizeReferences': '2', |
| 388 'OptimizeForWindows98': '1', | |
| 389 'EnableCOMDATFolding': '2', | 391 'EnableCOMDATFolding': '2', |
| 390 # For future reference, the stack size needs to be | |
| 391 # increased when building for Windows 64-bit, otherwise | |
| 392 # some test cases can cause stack overflow. | |
| 393 # 'StackReserveSize': '297152', | |
| 394 }, | 392 }, |
| 395 }, | 393 }, |
| 396 }], # OS=="win" | 394 }], # OS=="win" |
| 397 ], # conditions | 395 ], # conditions |
| 398 }, # Release | 396 }, # Release |
| 399 }, # configurations | 397 }, # configurations |
| 400 }, # target_defaults | 398 }, # target_defaults |
| 401 } | 399 } |
| OLD | NEW |