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

Side by Side Diff: build/common.gypi

Issue 14445005: Enable fastbuild=1 on clang/mac (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: always set GCC_GENERATE_DEBUGGING_SYMBOLS=NO when fastbuild=1 Created 7 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
« 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 1816 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 ['input_speech==1', { 1827 ['input_speech==1', {
1828 'defines': ['ENABLE_INPUT_SPEECH'], 1828 'defines': ['ENABLE_INPUT_SPEECH'],
1829 }], 1829 }],
1830 ['notifications==1', { 1830 ['notifications==1', {
1831 'defines': ['ENABLE_NOTIFICATIONS'], 1831 'defines': ['ENABLE_NOTIFICATIONS'],
1832 }], 1832 }],
1833 ['enable_hidpi==1', { 1833 ['enable_hidpi==1', {
1834 'defines': ['ENABLE_HIDPI=1'], 1834 'defines': ['ENABLE_HIDPI=1'],
1835 }], 1835 }],
1836 ['fastbuild!=0', { 1836 ['fastbuild!=0', {
1837 'xcode_settings': {
1838 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
1839 },
1837 'conditions': [ 1840 'conditions': [
1838 ['clang==1', { 1841 ['clang==1', {
1839 # Clang creates chubby debug information, which makes linking very 1842 # Clang creates chubby debug information, which makes linking very
1840 # slow. For now, don't create debug information with clang. See 1843 # slow. For now, don't create debug information with clang. See
1841 # http://crbug.com/70000 1844 # http://crbug.com/70000
1842 'conditions': [ 1845 'conditions': [
1843 ['OS=="linux"', { 1846 ['OS=="linux"', {
1844 'variables': { 1847 'variables': {
1845 'debug_extra_cflags': '-g0', 1848 'debug_extra_cflags': '-g0',
1846 }, 1849 },
(...skipping 25 matching lines...) Expand all
1872 # This tells the linker to generate .pdbs, so that 1875 # This tells the linker to generate .pdbs, so that
1873 # we can get meaningful stack traces. 1876 # we can get meaningful stack traces.
1874 'GenerateDebugInformation': 'true', 1877 'GenerateDebugInformation': 'true',
1875 }, 1878 },
1876 'VCCLCompilerTool': { 1879 'VCCLCompilerTool': {
1877 # No debug info to be generated by compiler. 1880 # No debug info to be generated by compiler.
1878 'DebugInformationFormat': '0', 1881 'DebugInformationFormat': '0',
1879 }, 1882 },
1880 }, 1883 },
1881 }], 1884 }],
1882 ['OS=="mac"', {
1883 'xcode_settings': {
1884 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
1885 },
1886 }],
1887 ['OS=="linux" and fastbuild==2', { 1885 ['OS=="linux" and fastbuild==2', {
1888 'variables': { 1886 'variables': {
1889 'debug_extra_cflags': '-g0', 1887 'debug_extra_cflags': '-g0',
1890 }, 1888 },
1891 }], 1889 }],
1892 ['OS=="linux" and fastbuild==1', { 1890 ['OS=="linux" and fastbuild==1', {
1893 'variables': { 1891 'variables': {
1894 'debug_extra_cflags': '-g1', 1892 'debug_extra_cflags': '-g1',
1895 }, 1893 },
1896 }], 1894 }],
(...skipping 2377 matching lines...) Expand 10 before | Expand all | Expand 10 after
4274 # settings in target dicts. SYMROOT is a special case, because many other 4272 # settings in target dicts. SYMROOT is a special case, because many other
4275 # Xcode variables depend on it, including variables such as 4273 # Xcode variables depend on it, including variables such as
4276 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4274 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4277 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4275 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4278 # files to appear (when present) in the UI as actual files and not red 4276 # files to appear (when present) in the UI as actual files and not red
4279 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4277 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4280 # and therefore SYMROOT, needs to be set at the project level. 4278 # and therefore SYMROOT, needs to be set at the project level.
4281 'SYMROOT': '<(DEPTH)/xcodebuild', 4279 'SYMROOT': '<(DEPTH)/xcodebuild',
4282 }, 4280 },
4283 } 4281 }
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