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

Side by Side Diff: build/toolchain.gypi

Issue 224443003: Use abstract configurations to switch between opt debug settings (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 8 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
« build/standalone.gypi ('K') | « build/standalone.gypi ('k') | 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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 'GCC_OPTIMIZATION_LEVEL': '0', # -O0 606 'GCC_OPTIMIZATION_LEVEL': '0', # -O0
607 }, { 607 }, {
608 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 608 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
609 'GCC_STRICT_ALIASING': 'YES', 609 'GCC_STRICT_ALIASING': 'YES',
610 }], 610 }],
611 ], 611 ],
612 }, 612 },
613 }], 613 }],
614 ], 614 ],
615 }, # Debug 615 }, # Debug
616 'Optdebug': {
617 'inherit_from': [ 'Debug' ],
618 },
616 'Release': { 619 'Release': {
617 'conditions': [ 620 'conditions': [
618 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 621 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
619 'cflags!': [ 622 'cflags!': [
620 '-Os', 623 '-Os',
621 ], 624 ],
622 'cflags': [ 625 'cflags': [
623 '-fdata-sections', 626 '-fdata-sections',
624 '-ffunction-sections', 627 '-ffunction-sections',
625 '<(wno_array_bounds)', 628 '<(wno_array_bounds)',
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 'OptimizeReferences': '2', 699 'OptimizeReferences': '2',
697 'EnableCOMDATFolding': '2', 700 'EnableCOMDATFolding': '2',
698 }, 701 },
699 }, 702 },
700 }], # OS=="win" 703 }], # OS=="win"
701 ], # conditions 704 ], # conditions
702 }, # Release 705 }, # Release
703 }, # configurations 706 }, # configurations
704 }, # target_defaults 707 }, # target_defaults
705 } 708 }
OLDNEW
« build/standalone.gypi ('K') | « build/standalone.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698