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

Side by Side Diff: build/common.gypi

Issue 7104062: clang: Let release builds use -O3, like on gcc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 'conditions': [ 637 'conditions': [
638 ['OS=="win" and component=="shared_library"', { 638 ['OS=="win" and component=="shared_library"', {
639 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx 639 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx
640 'win_release_RuntimeLibrary%': '2', # 2 = /MT (nondebug DLL) 640 'win_release_RuntimeLibrary%': '2', # 2 = /MT (nondebug DLL)
641 'win_debug_RuntimeLibrary%': '3', # 3 = /MTd (debug DLL) 641 'win_debug_RuntimeLibrary%': '3', # 3 = /MTd (debug DLL)
642 }, { 642 }, {
643 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx 643 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx
644 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) 644 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static)
645 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) 645 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static)
646 }], 646 }],
647 ['OS=="mac" and clang==1', {
648 # TODO(thakis): Remove this once http://llvm.org/PR10031 is fixed.
649 'mac_release_optimization%': '2',
650 }],
651 ], 647 ],
652 }, 648 },
653 'conditions': [ 649 'conditions': [
654 ['branding=="Chrome"', { 650 ['branding=="Chrome"', {
655 'defines': ['GOOGLE_CHROME_BUILD'], 651 'defines': ['GOOGLE_CHROME_BUILD'],
656 }, { # else: branding!="Chrome" 652 }, { # else: branding!="Chrome"
657 'defines': ['CHROMIUM_BUILD'], 653 'defines': ['CHROMIUM_BUILD'],
658 }], 654 }],
659 ['toolkit_views==1', { 655 ['toolkit_views==1', {
660 'defines': ['TOOLKIT_VIEWS=1'], 656 'defines': ['TOOLKIT_VIEWS=1'],
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1779 # and therefore SYMROOT, needs to be set at the project level. 1775 # and therefore SYMROOT, needs to be set at the project level.
1780 'SYMROOT': '<(DEPTH)/xcodebuild', 1776 'SYMROOT': '<(DEPTH)/xcodebuild',
1781 }, 1777 },
1782 } 1778 }
1783 1779
1784 # Local Variables: 1780 # Local Variables:
1785 # tab-width:2 1781 # tab-width:2
1786 # indent-tabs-mode:nil 1782 # indent-tabs-mode:nil
1787 # End: 1783 # End:
1788 # vim: set expandtab tabstop=2 shiftwidth=2: 1784 # vim: set expandtab tabstop=2 shiftwidth=2:
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