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

Side by Side Diff: build/common.gypi

Issue 714433002: mac: Switch from -O3 to -O2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 2475 matching lines...) Expand 10 before | Expand all | Expand 10 after
2486 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx 2486 # See http://msdn.microsoft.com/en-us/library/aa652367.aspx
2487 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static) 2487 'win_release_RuntimeLibrary%': '0', # 0 = /MT (nondebug static)
2488 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static) 2488 'win_debug_RuntimeLibrary%': '1', # 1 = /MTd (debug static)
2489 }], 2489 }],
2490 ['OS=="ios"', { 2490 ['OS=="ios"', {
2491 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 2491 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
2492 'mac_release_optimization%': 's', # Use -Os unless overridden 2492 'mac_release_optimization%': 's', # Use -Os unless overridden
2493 'mac_debug_optimization%': '0', # Use -O0 unless overridden 2493 'mac_debug_optimization%': '0', # Use -O0 unless overridden
2494 }, { 2494 }, {
2495 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l 2495 # See http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Optimize-Options.htm l
2496 'mac_release_optimization%': '3', # Use -O3 unless overridden 2496 'mac_release_optimization%': '2', # Use -O2 unless overridden
2497 'mac_debug_optimization%': '0', # Use -O0 unless overridden 2497 'mac_debug_optimization%': '0', # Use -O0 unless overridden
2498 }], 2498 }],
2499 ['OS=="android"', { 2499 ['OS=="android"', {
2500 'host_os%': '<(host_os)', # See comment above chromium_code. 2500 'host_os%': '<(host_os)', # See comment above chromium_code.
2501 }], 2501 }],
2502 ], 2502 ],
2503 'clang_warning_flags': [ 2503 'clang_warning_flags': [
2504 '-Wheader-hygiene', 2504 '-Wheader-hygiene',
2505 2505
2506 # Don't die on dtoa code that uses a char as an array index. 2506 # Don't die on dtoa code that uses a char as an array index.
(...skipping 3416 matching lines...) Expand 10 before | Expand all | Expand 10 after
5923 # settings in target dicts. SYMROOT is a special case, because many other 5923 # settings in target dicts. SYMROOT is a special case, because many other
5924 # Xcode variables depend on it, including variables such as 5924 # Xcode variables depend on it, including variables such as
5925 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5925 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5926 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5926 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5927 # files to appear (when present) in the UI as actual files and not red 5927 # files to appear (when present) in the UI as actual files and not red
5928 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5928 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5929 # and therefore SYMROOT, needs to be set at the project level. 5929 # and therefore SYMROOT, needs to be set at the project level.
5930 'SYMROOT': '<(DEPTH)/xcodebuild', 5930 'SYMROOT': '<(DEPTH)/xcodebuild',
5931 }, 5931 },
5932 } 5932 }
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