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

Side by Side Diff: build/toolchain.gypi

Issue 21495002: Revert windows-specific part of r15937 for debug level 1. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 # Similar to the ARM hard float ABI but on MIPS. 55 # Similar to the ARM hard float ABI but on MIPS.
56 'v8_use_mips_abi_hardfloat%': 'true', 56 'v8_use_mips_abi_hardfloat%': 'true',
57 57
58 # Default arch variant for MIPS. 58 # Default arch variant for MIPS.
59 'mips_arch_variant%': 'mips32r2', 59 'mips_arch_variant%': 'mips32r2',
60 60
61 'v8_enable_backtrace%': 0, 61 'v8_enable_backtrace%': 0,
62 62
63 # Speeds up Debug builds: 63 # Speeds up Debug builds:
64 # 0 - compiler optimizations off (debuggable) (default). This may 64 # 0 - Compiler optimizations off (debuggable) (default). This may
65 # be 5x slower than Release (or worse). 65 # be 5x slower than Release (or worse).
66 # 1 - turn on compiler optimizations. and #undef DEBUG/#define NDEBUG. 66 # 1 - Turn on compiler optimizations. This may be hard or impossible to
67 # This may be hard or impossible to debug. This may still be 67 # debug. This may still be 2x slower than Release (or worse).
Dirk Pranke 2013/08/01 17:14:25 Good fix. This comment was just wrong.
68 # 2x slower than Release (or worse).
69 # 2 - Turn on optimizations, and also #undef DEBUG / #define NDEBUG 68 # 2 - Turn on optimizations, and also #undef DEBUG / #define NDEBUG
70 # (but leave V8_ENABLE_CHECKS and most other assertions enabled. 69 # (but leave V8_ENABLE_CHECKS and most other assertions enabled.
71 # This may cause some v8 tests to fail in the Debug configuration. 70 # This may cause some v8 tests to fail in the Debug configuration.
72 # This roughly matches the performance of a Release build and can 71 # This roughly matches the performance of a Release build and can
73 # be used by embedders that need to build their own code as debug 72 # be used by embedders that need to build their own code as debug
74 # but don't want or need a debug version of V8. This should produce 73 # but don't want or need a debug version of V8. This should produce
75 # near-release speeds. 74 # near-release speeds.
76 'v8_optimized_debug%': 0, 75 'v8_optimized_debug%': 0,
77 76
78 # Enable profiling support. Only required on Windows. 77 # Enable profiling support. Only required on Windows.
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 'Debug': { 447 'Debug': {
449 'defines': [ 448 'defines': [
450 'ENABLE_DISASSEMBLER', 449 'ENABLE_DISASSEMBLER',
451 'V8_ENABLE_CHECKS', 450 'V8_ENABLE_CHECKS',
452 'OBJECT_PRINT', 451 'OBJECT_PRINT',
453 'VERIFY_HEAP', 452 'VERIFY_HEAP',
454 ], 453 ],
455 'msvs_settings': { 454 'msvs_settings': {
456 'VCCLCompilerTool': { 455 'VCCLCompilerTool': {
457 'conditions': [ 456 'conditions': [
458 ['component=="shared_library"', {
459 'RuntimeLibrary': '3', # /MDd
460 }, {
461 'RuntimeLibrary': '1', # /MTd
462 }],
463 ['v8_optimized_debug==0', { 457 ['v8_optimized_debug==0', {
464 'Optimization': '0', 458 'Optimization': '0',
465 }, { 459 'conditions': [
460 ['component=="shared_library"', {
461 'RuntimeLibrary': '3', # /MDd
462 }, {
463 'RuntimeLibrary': '1', # /MTd
464 }],
465 ],
466 }],
467 ['v8_optimized_debug==1', {
468 'Optimization': '1',
469 'InlineFunctionExpansion': '2',
470 'EnableIntrinsicFunctions': 'true',
471 'FavorSizeOrSpeed': '0',
472 'StringPooling': 'true',
473 'BasicRuntimeChecks': '0',
474 'conditions': [
475 ['component=="shared_library"', {
476 'RuntimeLibrary': '3', # /MDd
477 }, {
478 'RuntimeLibrary': '1', # /MTd
479 }],
480 ],
481 }],
482 ['v8_optimized_debug==2', {
466 'Optimization': '2', 483 'Optimization': '2',
467 'InlineFunctionExpansion': '2', 484 'InlineFunctionExpansion': '2',
468 'EnableIntrinsicFunctions': 'true', 485 'EnableIntrinsicFunctions': 'true',
469 'FavorSizeOrSpeed': '0', 486 'FavorSizeOrSpeed': '0',
470 'StringPooling': 'true', 487 'StringPooling': 'true',
471 'BasicRuntimeChecks': '0', 488 'BasicRuntimeChecks': '0',
472 'conditions': [ 489 'conditions': [
473 ['component=="shared_library"', { 490 ['component=="shared_library"', {
474 'RuntimeLibrary': '2', #/MD 491 'RuntimeLibrary': '2', #/MD
475 }, { 492 }, {
476 'RuntimeLibrary': '0', #/MT 493 'RuntimeLibrary': '0', #/MT
477 }], 494 }],
478 ['v8_target_arch=="x64"', { 495 ['v8_target_arch=="x64"', {
479 # TODO(2207): remove this option once the bug is fixed. 496 # TODO(2207): remove this option once the bug is fixed.
480 'WholeProgramOptimization': 'true', 497 'WholeProgramOptimization': 'true',
481 }], 498 }],
482 ], 499 ],
483 }], 500 }],
484 ], 501 ],
485 }, 502 },
486 'VCLinkerTool': { 503 'VCLinkerTool': {
487 'conditions': [ 504 'conditions': [
488 ['v8_optimized_debug==0', { 505 ['v8_optimized_debug==0', {
489 'LinkIncremental': '2', 506 'LinkIncremental': '2',
490 }, { 507 }],
508 ['v8_optimized_debug==1', {
509 'LinkIncremental': '2',
510 }],
511 ['v8_optimized_debug==2', {
491 'LinkIncremental': '1', 512 'LinkIncremental': '1',
492 'OptimizeReferences': '2', 513 'OptimizeReferences': '2',
493 'EnableCOMDATFolding': '2', 514 'EnableCOMDATFolding': '2',
494 }], 515 }],
495 ], 516 ],
496 }, 517 },
497 }, 518 },
498 'conditions': [ 519 'conditions': [
499 ['v8_optimized_debug==2', { 520 ['v8_optimized_debug==2', {
500 'defines': [ 521 'defines': [
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 'OptimizeReferences': '2', 687 'OptimizeReferences': '2',
667 'EnableCOMDATFolding': '2', 688 'EnableCOMDATFolding': '2',
668 }, 689 },
669 }, 690 },
670 }], # OS=="win" 691 }], # OS=="win"
671 ], # conditions 692 ], # conditions
672 }, # Release 693 }, # Release
673 }, # configurations 694 }, # configurations
674 }, # target_defaults 695 }, # target_defaults
675 } 696 }
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