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

Side by Side Diff: build/common.gypi

Issue 14899005: Enable extra checks for release builds as well (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 }], 439 }],
440 ['OS=="mac"', { 440 ['OS=="mac"', {
441 'xcode_settings': { 441 'xcode_settings': {
442 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 442 'GCC_OPTIMIZATION_LEVEL': '0', # -O0
443 }, 443 },
444 }], 444 }],
445 ], 445 ],
446 }, # Debug 446 }, # Debug
447 'Release': { 447 'Release': {
448 'variables': { 448 'variables': {
449 'v8_enable_extra_checks%': 0, 449 'v8_enable_extra_checks%': 1,
450 }, 450 },
451 'conditions': [ 451 'conditions': [
452 ['v8_enable_extra_checks==1', { 452 ['v8_enable_extra_checks==1', {
453 'defines': ['ENABLE_EXTRA_CHECKS',], 453 'defines': ['ENABLE_EXTRA_CHECKS',],
454 }], 454 }],
455 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ 455 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
456 or OS=="android"', { 456 or OS=="android"', {
457 'cflags!': [ 457 'cflags!': [
458 '-O2', 458 '-O2',
459 '-Os', 459 '-Os',
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 'OptimizeReferences': '2', 508 'OptimizeReferences': '2',
509 'EnableCOMDATFolding': '2', 509 'EnableCOMDATFolding': '2',
510 }, 510 },
511 }, 511 },
512 }], # OS=="win" 512 }], # OS=="win"
513 ], # conditions 513 ], # conditions
514 }, # Release 514 }, # Release
515 }, # configurations 515 }, # configurations
516 }, # target_defaults 516 }, # target_defaults
517 } 517 }
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