OLD | NEW |
1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 '<@(_outputs)', | 499 '<@(_outputs)', |
500 'CORE', | 500 'CORE', |
501 '<@(library_files)' | 501 '<@(library_files)' |
502 ], | 502 ], |
503 }, | 503 }, |
504 ], | 504 ], |
505 }, | 505 }, |
506 { | 506 { |
507 'target_name': 'mksnapshot', | 507 'target_name': 'mksnapshot', |
508 'type': 'executable', | 508 'type': 'executable', |
509 'configurations': { | |
510 'Release': { | |
511 'conditions': [ | |
512 ['OS=="mac"', { | |
513 'xcode_settings': { | |
514 # Dead code stripping is normally enabled for release mode, | |
515 # but it causes mksnapshot to crash in some situations. | |
516 # http://code.google.com/p/v8/issues/detail?id=404 | |
517 'DEAD_CODE_STRIPPING': 'NO', | |
518 }, | |
519 }], | |
520 ], | |
521 }, | |
522 }, | |
523 'dependencies': [ | 509 'dependencies': [ |
524 'v8_nosnapshot', | 510 'v8_nosnapshot', |
525 ], | 511 ], |
526 'include_dirs+': [ | 512 'include_dirs+': [ |
527 '../../src', | 513 '../../src', |
528 ], | 514 ], |
529 'sources': [ | 515 'sources': [ |
530 '../../src/mksnapshot.cc', | 516 '../../src/mksnapshot.cc', |
531 ], | 517 ], |
532 }, | 518 }, |
533 { | 519 { |
534 'target_name': 'v8_shell', | 520 'target_name': 'v8_shell', |
535 'type': 'executable', | 521 'type': 'executable', |
536 'dependencies': [ | 522 'dependencies': [ |
537 'v8' | 523 'v8' |
538 ], | 524 ], |
539 'sources': [ | 525 'sources': [ |
540 '../../samples/shell.cc', | 526 '../../samples/shell.cc', |
541 ], | 527 ], |
542 'conditions': [ | 528 'conditions': [ |
543 [ 'OS=="win"', { | 529 [ 'OS=="win"', { |
544 # This could be gotten by not setting chromium_code, if that's OK. | 530 # This could be gotten by not setting chromium_code, if that's OK. |
545 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 531 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
546 }], | 532 }], |
547 ], | 533 ], |
548 }, | 534 }, |
549 ], | 535 ], |
550 } | 536 } |
OLD | NEW |