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

Side by Side Diff: build/common.gypi

Issue 7994008: mac: Don't build with debug information on the trybots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 }], 893 }],
894 ['enable_flapper_hacks==1', { 894 ['enable_flapper_hacks==1', {
895 'defines': ['ENABLE_FLAPPER_HACKS=1'], 895 'defines': ['ENABLE_FLAPPER_HACKS=1'],
896 }], 896 }],
897 ['configuration_policy==1', { 897 ['configuration_policy==1', {
898 'defines': ['ENABLE_CONFIGURATION_POLICY'], 898 'defines': ['ENABLE_CONFIGURATION_POLICY'],
899 }], 899 }],
900 ['fastbuild!=0', { 900 ['fastbuild!=0', {
901 901
902 'conditions': [ 902 'conditions': [
903 # For Windows, we don't genererate debug information. 903 # For Windows and Mac, we don't genererate debug information.
904 ['OS=="win"', { 904 ['OS=="win" or OS=="mac"', {
905 'msvs_settings': { 905 'msvs_settings': {
906 'VCLinkerTool': { 906 'VCLinkerTool': {
907 'GenerateDebugInformation': 'false', 907 'GenerateDebugInformation': 'false',
908 }, 908 },
909 'VCCLCompilerTool': { 909 'VCCLCompilerTool': {
910 'DebugInformationFormat': '0', 910 'DebugInformationFormat': '0',
911 } 911 }
912 } 912 },
913 'xcode_settings': {
914 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
915 },
913 }, { # else: OS != "win", generate less debug information. 916 }, { # else: OS != "win", generate less debug information.
914 'variables': { 917 'variables': {
915 'debug_extra_cflags': '-g1', 918 'debug_extra_cflags': '-g1',
916 }, 919 },
917 }], 920 }],
918 # Clang creates chubby debug information, which makes linking very 921 # Clang creates chubby debug information, which makes linking very
919 # slow. For now, don't create debug information with clang. See 922 # slow. For now, don't create debug information with clang. See
920 # http://crbug.com/70000 923 # http://crbug.com/70000
921 ['OS=="linux" and clang==1', { 924 ['OS=="linux" and clang==1', {
922 'variables': { 925 'variables': {
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
2390 # settings in target dicts. SYMROOT is a special case, because many other 2393 # settings in target dicts. SYMROOT is a special case, because many other
2391 # Xcode variables depend on it, including variables such as 2394 # Xcode variables depend on it, including variables such as
2392 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2395 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2393 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2396 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2394 # files to appear (when present) in the UI as actual files and not red 2397 # files to appear (when present) in the UI as actual files and not red
2395 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2398 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2396 # and therefore SYMROOT, needs to be set at the project level. 2399 # and therefore SYMROOT, needs to be set at the project level.
2397 'SYMROOT': '<(DEPTH)/xcodebuild', 2400 'SYMROOT': '<(DEPTH)/xcodebuild',
2398 }, 2401 },
2399 } 2402 }
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