Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Side by Side Diff: tools/gyp/v8.gyp

Issue 155591: Disable dead code stripping for mksnapshot (Closed) Base URL: http://v8.googlecode.com/svn/branches/1.2/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 },
509 'dependencies': [ 523 'dependencies': [
510 'v8_nosnapshot', 524 'v8_nosnapshot',
511 ], 525 ],
512 'include_dirs+': [ 526 'include_dirs+': [
513 '../../src', 527 '../../src',
514 ], 528 ],
515 'sources': [ 529 'sources': [
516 '../../src/mksnapshot.cc', 530 '../../src/mksnapshot.cc',
517 ], 531 ],
518 }, 532 },
519 { 533 {
520 'target_name': 'v8_shell', 534 'target_name': 'v8_shell',
521 'type': 'executable', 535 'type': 'executable',
522 'dependencies': [ 536 'dependencies': [
523 'v8' 537 'v8'
524 ], 538 ],
525 'sources': [ 539 'sources': [
526 '../../samples/shell.cc', 540 '../../samples/shell.cc',
527 ], 541 ],
528 'conditions': [ 542 'conditions': [
529 [ 'OS=="win"', { 543 [ 'OS=="win"', {
530 # This could be gotten by not setting chromium_code, if that's OK. 544 # This could be gotten by not setting chromium_code, if that's OK.
531 'defines': ['_CRT_SECURE_NO_WARNINGS'], 545 'defines': ['_CRT_SECURE_NO_WARNINGS'],
532 }], 546 }],
533 ], 547 ],
534 }, 548 },
535 ], 549 ],
536 } 550 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698