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

Side by Side Diff: build/common.gypi

Issue 249443002: Add helper comment for icecc users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply reviewer's advice Created 6 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 # Use aurax11 for clipboard implementation. This is true on linux_aura. 164 # Use aurax11 for clipboard implementation. This is true on linux_aura.
165 'use_clipboard_aurax11%': 0, 165 'use_clipboard_aurax11%': 0,
166 166
167 # goma settings. 167 # goma settings.
168 # 1 to use goma. 168 # 1 to use goma.
169 # If no gomadir is set, it uses the default gomadir. 169 # If no gomadir is set, it uses the default gomadir.
170 'use_goma%': 0, 170 'use_goma%': 0,
171 'gomadir%': '', 171 'gomadir%': '',
172 172
173 # When using icecc, we cannot use some build flags. e.g. debug fission, -B cflags.
Lei Zhang 2014/04/25 07:34:21 How about: Set to 1 when using icecc to avoid inc
174 'use_icecc%': 0,
175
173 # The system root for cross-compiles. Default: none. 176 # The system root for cross-compiles. Default: none.
174 'sysroot%': '', 177 'sysroot%': '',
175 'chroot_cmd%': '', 178 'chroot_cmd%': '',
176 179
177 'conditions': [ 180 'conditions': [
178 # Ash needs Aura. 181 # Ash needs Aura.
179 ['use_aura==0', { 182 ['use_aura==0', {
180 'use_ash%': 0, 183 'use_ash%': 0,
181 }], 184 }],
182 185
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', 258 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)',
256 'embedded%': '<(embedded)', 259 'embedded%': '<(embedded)',
257 'use_openssl%': '<(use_openssl)', 260 'use_openssl%': '<(use_openssl)',
258 'use_openssl_certs%': '<(use_openssl_certs)', 261 'use_openssl_certs%': '<(use_openssl_certs)',
259 'use_system_fontconfig%': '<(use_system_fontconfig)', 262 'use_system_fontconfig%': '<(use_system_fontconfig)',
260 'enable_viewport%': '<(enable_viewport)', 263 'enable_viewport%': '<(enable_viewport)',
261 'enable_hidpi%': '<(enable_hidpi)', 264 'enable_hidpi%': '<(enable_hidpi)',
262 'android_webview_build%': '<(android_webview_build)', 265 'android_webview_build%': '<(android_webview_build)',
263 'use_goma%': '<(use_goma)', 266 'use_goma%': '<(use_goma)',
264 'gomadir%': '<(gomadir)', 267 'gomadir%': '<(gomadir)',
268 'use_icecc%': '<(use_icecc)',
265 'enable_app_list%': '<(enable_app_list)', 269 'enable_app_list%': '<(enable_app_list)',
266 'use_default_render_theme%': '<(use_default_render_theme)', 270 'use_default_render_theme%': '<(use_default_render_theme)',
267 'buildtype%': '<(buildtype)', 271 'buildtype%': '<(buildtype)',
268 'branding%': '<(branding)', 272 'branding%': '<(branding)',
269 'arm_version%': '<(arm_version)', 273 'arm_version%': '<(arm_version)',
270 'sysroot%': '<(sysroot)', 274 'sysroot%': '<(sysroot)',
271 'chroot_cmd%': '<(chroot_cmd)', 275 'chroot_cmd%': '<(chroot_cmd)',
272 276
273 # Set to 1 to enable fast builds. Set to 2 for even faster builds 277 # Set to 1 to enable fast builds. Set to 2 for even faster builds
274 # (it disables debug info for fastest compilation - only for use 278 # (it disables debug info for fastest compilation - only for use
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 # checked into third_party/binutils. These are not multi-arch so cannot 741 # checked into third_party/binutils. These are not multi-arch so cannot
738 # be used except on x86 and x86-64 (the only two architectures which 742 # be used except on x86 and x86-64 (the only two architectures which
739 # are currently checke in). Force this off via GYP_DEFINES when you 743 # are currently checke in). Force this off via GYP_DEFINES when you
740 # are using a custom toolchain and need to control -B in cflags. 744 # are using a custom toolchain and need to control -B in cflags.
741 ['OS=="linux" and (target_arch=="x64")', { 745 ['OS=="linux" and (target_arch=="x64")', {
742 'linux_use_bundled_binutils%': 1, 746 'linux_use_bundled_binutils%': 1,
743 }, { 747 }, {
744 'linux_use_bundled_binutils%': 0, 748 'linux_use_bundled_binutils%': 0,
745 }], 749 }],
746 750
751 # icecc cannot distribute jobs with -B.
752 # https://github.com/icecc/icecream/commit/b2ce5b9cc4bd1900f55c3684214e4 09fa81e7a92
753 ['use_icecc==1', {
754 'linux_use_bundled_binutils%': 0,
755 }],
756
747 # linux_use_gold_flags: whether to use build flags that rely on gold. 757 # linux_use_gold_flags: whether to use build flags that rely on gold.
748 # On by default for x64 Linux. Temporarily off for ChromeOS as 758 # On by default for x64 Linux. Temporarily off for ChromeOS as
749 # it failed on a buildbot. 759 # it failed on a buildbot.
750 ['OS=="linux" and target_arch=="x64" and chromeos==0', { 760 ['OS=="linux" and target_arch=="x64" and chromeos==0', {
751 'linux_use_gold_flags%': 1, 761 'linux_use_gold_flags%': 1,
752 }, { 762 }, {
753 'linux_use_gold_flags%': 0, 763 'linux_use_gold_flags%': 0,
754 }], 764 }],
755 765
756 ['OS=="android" or OS=="ios"', { 766 ['OS=="android" or OS=="ios"', {
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', 1047 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)',
1038 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', 1048 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)',
1039 'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)', 1049 'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)',
1040 'enable_mdns%' : '<(enable_mdns)', 1050 'enable_mdns%' : '<(enable_mdns)',
1041 'enable_service_discovery%' : '<(enable_service_discovery)', 1051 'enable_service_discovery%' : '<(enable_service_discovery)',
1042 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', 1052 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ',
1043 'v8_optimized_debug%': '<(v8_optimized_debug)', 1053 'v8_optimized_debug%': '<(v8_optimized_debug)',
1044 'proprietary_codecs%': '<(proprietary_codecs)', 1054 'proprietary_codecs%': '<(proprietary_codecs)',
1045 'use_goma%': '<(use_goma)', 1055 'use_goma%': '<(use_goma)',
1046 'gomadir%': '<(gomadir)', 1056 'gomadir%': '<(gomadir)',
1057 'use_icecc%': '<(use_icecc)',
1047 1058
1048 # Use system protobuf instead of bundled one. 1059 # Use system protobuf instead of bundled one.
1049 'use_system_protobuf%': 0, 1060 'use_system_protobuf%': 0,
1050 1061
1051 # Use system yasm instead of bundled one. 1062 # Use system yasm instead of bundled one.
1052 'use_system_yasm%': 0, 1063 'use_system_yasm%': 0,
1053 1064
1054 # Use system ICU instead of bundled one. 1065 # Use system ICU instead of bundled one.
1055 'use_system_icu%' : 0, 1066 'use_system_icu%' : 0,
1056 1067
(...skipping 2133 matching lines...) Expand 10 before | Expand all | Expand 10 after
3190 '-Wl,--no-as-needed', 3201 '-Wl,--no-as-needed',
3191 ], 3202 ],
3192 }], 3203 }],
3193 ['debug_unwind_tables==1', { 3204 ['debug_unwind_tables==1', {
3194 'cflags': ['-funwind-tables'], 3205 'cflags': ['-funwind-tables'],
3195 }, { 3206 }, {
3196 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'], 3207 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table s'],
3197 }], 3208 }],
3198 # http://gcc.gnu.org/wiki/DebugFission 3209 # http://gcc.gnu.org/wiki/DebugFission
3199 # Requires gold and gcc >= 4.8 or clang. 3210 # Requires gold and gcc >= 4.8 or clang.
3200 ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=48) and bi nutils_version>=223', { 3211 ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=48) and bi nutils_version>=223 and use_icecc==0', {
3201 'cflags': ['-gsplit-dwarf'], 3212 'cflags': ['-gsplit-dwarf'],
3202 'ldflags': ['-Wl,--gdb-index'], 3213 'ldflags': ['-Wl,--gdb-index'],
3203 }], 3214 }],
3204 ], 3215 ],
3205 }, 3216 },
3206 'Release_Base': { 3217 'Release_Base': {
3207 'variables': { 3218 'variables': {
3208 'release_optimize%': '2', 3219 'release_optimize%': '2',
3209 # Binaries become big and gold is unable to perform GC 3220 # Binaries become big and gold is unable to perform GC
3210 # and remove unused sections for some of test targets 3221 # and remove unused sections for some of test targets
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after
5216 # settings in target dicts. SYMROOT is a special case, because many other 5227 # settings in target dicts. SYMROOT is a special case, because many other
5217 # Xcode variables depend on it, including variables such as 5228 # Xcode variables depend on it, including variables such as
5218 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5229 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5219 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5230 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5220 # files to appear (when present) in the UI as actual files and not red 5231 # files to appear (when present) in the UI as actual files and not red
5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5232 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5222 # and therefore SYMROOT, needs to be set at the project level. 5233 # and therefore SYMROOT, needs to be set at the project level.
5223 'SYMROOT': '<(DEPTH)/xcodebuild', 5234 'SYMROOT': '<(DEPTH)/xcodebuild',
5224 }, 5235 },
5225 } 5236 }
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