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

Side by Side Diff: build/common.gypi

Issue 141273005: Revert of linux_aura: Attempt to green the official builder by reverting unwind support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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) 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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 'profiling%': '0', 1127 'profiling%': '0',
1128 # Profile without optimizing out stack frames when profiling==1. 1128 # Profile without optimizing out stack frames when profiling==1.
1129 'profiling_full_stack_frames%': '0', 1129 'profiling_full_stack_frames%': '0',
1130 1130
1131 # And if we want to dump symbols for Breakpad-enabled builds. 1131 # And if we want to dump symbols for Breakpad-enabled builds.
1132 'linux_dump_symbols%': 0, 1132 'linux_dump_symbols%': 0,
1133 # And if we want to strip the binary after dumping symbols. 1133 # And if we want to strip the binary after dumping symbols.
1134 'linux_strip_binary%': 0, 1134 'linux_strip_binary%': 0,
1135 # Strip the test binaries needed for Linux reliability tests. 1135 # Strip the test binaries needed for Linux reliability tests.
1136 'linux_strip_reliability_tests%': 0, 1136 'linux_strip_reliability_tests%': 0,
1137 # If we want stack unwind support for backtrace().
1138 'debug_unwind_tables%': 1,
1139 'release_unwind_tables%': 1,
1137 1140
1138 # Enable TCMalloc. 1141 # Enable TCMalloc.
1139 'linux_use_tcmalloc%': 1, 1142 'linux_use_tcmalloc%': 1,
1140 'android_use_tcmalloc%': 0, 1143 'android_use_tcmalloc%': 0,
1141 1144
1142 # Set to 1 to link against libgnome-keyring instead of using dlopen(). 1145 # Set to 1 to link against libgnome-keyring instead of using dlopen().
1143 'linux_link_gnome_keyring%': 0, 1146 'linux_link_gnome_keyring%': 0,
1144 # Set to 1 to link against gsettings APIs instead of using dlopen(). 1147 # Set to 1 to link against gsettings APIs instead of using dlopen().
1145 'linux_link_gsettings%': 0, 1148 'linux_link_gsettings%': 0,
1146 1149
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 'linux_use_tcmalloc%': 0, 1314 'linux_use_tcmalloc%': 0,
1312 }], 1315 }],
1313 ['OS=="linux" and target_arch=="mipsel"', { 1316 ['OS=="linux" and target_arch=="mipsel"', {
1314 'sysroot%': '<(sysroot)', 1317 'sysroot%': '<(sysroot)',
1315 'CXX%': '<(CXX)', 1318 'CXX%': '<(CXX)',
1316 }], 1319 }],
1317 # All Chrome builds have breakpad symbols, but only process the 1320 # All Chrome builds have breakpad symbols, but only process the
1318 # symbols from official builds. 1321 # symbols from official builds.
1319 ['(branding=="Chrome" and buildtype=="Official")', { 1322 ['(branding=="Chrome" and buildtype=="Official")', {
1320 'linux_dump_symbols%': 1, 1323 'linux_dump_symbols%': 1,
1324
1325 # Omit unwind support in official release builds to save space. We
1326 # can use breakpad for these builds.
1327 'release_unwind_tables%': 0,
1321 }], 1328 }],
1322 ], 1329 ],
1323 }], # os_posix==1 and OS!="mac" and OS!="ios" 1330 }], # os_posix==1 and OS!="mac" and OS!="ios"
1324 ['OS=="ios"', { 1331 ['OS=="ios"', {
1325 'disable_nacl%': 1, 1332 'disable_nacl%': 1,
1326 'enable_background%': 0, 1333 'enable_background%': 0,
1327 'enable_task_manager%': 0, 1334 'enable_task_manager%': 0,
1328 'icu_use_data_file_flag%': 1, 1335 'icu_use_data_file_flag%': 1,
1329 'use_system_libxml%': 1, 1336 'use_system_libxml%': 1,
1330 'use_system_sqlite%': 1, 1337 'use_system_sqlite%': 1,
(...skipping 1701 matching lines...) Expand 10 before | Expand all | Expand 10 after
3032 'ldflags': [ 3039 'ldflags': [
3033 '-Wl,-O1', 3040 '-Wl,-O1',
3034 '-Wl,--as-needed', 3041 '-Wl,--as-needed',
3035 ], 3042 ],
3036 }], 3043 }],
3037 ['OS=="linux" and target_arch=="ia32"', { 3044 ['OS=="linux" and target_arch=="ia32"', {
3038 'ldflags': [ 3045 'ldflags': [
3039 '-Wl,--no-as-needed', 3046 '-Wl,--no-as-needed',
3040 ], 3047 ],
3041 }], 3048 }],
3049 ['debug_unwind_tables==1', {
3050 'cflags': ['-funwind-tables'],
3051 }, {
3052 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'],
3053 }],
3042 ], 3054 ],
3043 }, 3055 },
3044 'Release_Base': { 3056 'Release_Base': {
3045 'variables': { 3057 'variables': {
3046 'release_optimize%': '2', 3058 'release_optimize%': '2',
3047 # Binaries become big and gold is unable to perform GC 3059 # Binaries become big and gold is unable to perform GC
3048 # and remove unused sections for some of test targets 3060 # and remove unused sections for some of test targets
3049 # on 32 bit platform. 3061 # on 32 bit platform.
3050 # (This is currently observed only in chromeos valgrind bots) 3062 # (This is currently observed only in chromeos valgrind bots)
3051 # The following flag is to disable --gc-sections linker 3063 # The following flag is to disable --gc-sections linker
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
3103 ], 3115 ],
3104 'conditions' : [ 3116 'conditions' : [
3105 ['profiling_full_stack_frames==1', { 3117 ['profiling_full_stack_frames==1', {
3106 'cflags': [ 3118 'cflags': [
3107 '-fno-inline', 3119 '-fno-inline',
3108 '-fno-optimize-sibling-calls', 3120 '-fno-optimize-sibling-calls',
3109 ], 3121 ],
3110 }], 3122 }],
3111 ], 3123 ],
3112 }], 3124 }],
3113 # Can be omitted to reduce output size. Does not seem to affect 3125 ['release_unwind_tables==1', {
3114 # crash reporting. 3126 'cflags': ['-funwind-tables'],
3115 ['target_arch=="ia32"', { 3127 }, {
3116 'cflags': [ 3128 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'],
3117 '-fno-unwind-tables',
3118 '-fno-asynchronous-unwind-tables',
3119 ],
3120 }], 3129 }],
3121 ], 3130 ],
3122 }, 3131 },
3123 }, 3132 },
3124 'conditions': [ 3133 'conditions': [
3125 ['target_arch=="ia32"', { 3134 ['target_arch=="ia32"', {
3126 'target_conditions': [ 3135 'target_conditions': [
3127 ['_toolset=="target"', { 3136 ['_toolset=="target"', {
3128 'asflags': [ 3137 'asflags': [
3129 # Needed so that libs with .s files (e.g. libicudata.a) 3138 # Needed so that libs with .s files (e.g. libicudata.a)
(...skipping 1716 matching lines...) Expand 10 before | Expand all | Expand 10 after
4846 # settings in target dicts. SYMROOT is a special case, because many other 4855 # settings in target dicts. SYMROOT is a special case, because many other
4847 # Xcode variables depend on it, including variables such as 4856 # Xcode variables depend on it, including variables such as
4848 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4857 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4849 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4858 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4850 # files to appear (when present) in the UI as actual files and not red 4859 # files to appear (when present) in the UI as actual files and not red
4851 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4860 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4852 # and therefore SYMROOT, needs to be set at the project level. 4861 # and therefore SYMROOT, needs to be set at the project level.
4853 'SYMROOT': '<(DEPTH)/xcodebuild', 4862 'SYMROOT': '<(DEPTH)/xcodebuild',
4854 }, 4863 },
4855 } 4864 }
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