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

Side by Side Diff: build/common.gypi

Issue 309253003: Move system_libdir to a deeper variable dict to fix issue 369119 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 # goma settings. 159 # goma settings.
160 # 1 to use goma. 160 # 1 to use goma.
161 # If no gomadir is set, it uses the default gomadir. 161 # If no gomadir is set, it uses the default gomadir.
162 'use_goma%': 0, 162 'use_goma%': 0,
163 'gomadir%': '', 163 'gomadir%': '',
164 164
165 # The system root for cross-compiles. Default: none. 165 # The system root for cross-compiles. Default: none.
166 'sysroot%': '', 166 'sysroot%': '',
167 'chroot_cmd%': '', 167 'chroot_cmd%': '',
168 168
169 # The system libdir used for this ABI.
170 'system_libdir%': 'lib',
171
169 'conditions': [ 172 'conditions': [
170 # Ash needs Aura. 173 # Ash needs Aura.
171 ['use_aura==0', { 174 ['use_aura==0', {
172 'use_ash%': 0, 175 'use_ash%': 0,
173 }], 176 }],
174 177
175 # Set default value of toolkit_views based on OS. 178 # Set default value of toolkit_views based on OS.
176 ['OS=="win" or chromeos==1 or use_aura==1', { 179 ['OS=="win" or chromeos==1 or use_aura==1', {
177 'toolkit_views%': 1, 180 'toolkit_views%': 1,
178 }, { 181 }, {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 'android_webview_build%': '<(android_webview_build)', 257 'android_webview_build%': '<(android_webview_build)',
255 'use_goma%': '<(use_goma)', 258 'use_goma%': '<(use_goma)',
256 'gomadir%': '<(gomadir)', 259 'gomadir%': '<(gomadir)',
257 'enable_app_list%': '<(enable_app_list)', 260 'enable_app_list%': '<(enable_app_list)',
258 'use_default_render_theme%': '<(use_default_render_theme)', 261 'use_default_render_theme%': '<(use_default_render_theme)',
259 'buildtype%': '<(buildtype)', 262 'buildtype%': '<(buildtype)',
260 'branding%': '<(branding)', 263 'branding%': '<(branding)',
261 'arm_version%': '<(arm_version)', 264 'arm_version%': '<(arm_version)',
262 'sysroot%': '<(sysroot)', 265 'sysroot%': '<(sysroot)',
263 'chroot_cmd%': '<(chroot_cmd)', 266 'chroot_cmd%': '<(chroot_cmd)',
267 'system_libdir%': '<(system_libdir)',
264 268
265 # Set to 1 to enable fast builds. Set to 2 for even faster builds 269 # Set to 1 to enable fast builds. Set to 2 for even faster builds
266 # (it disables debug info for fastest compilation - only for use 270 # (it disables debug info for fastest compilation - only for use
267 # on compile-only bots). 271 # on compile-only bots).
268 'fastbuild%': 0, 272 'fastbuild%': 0,
269 273
270 # Set to 1 to force Visual C++ to use legacy debug information format /Z7. 274 # Set to 1 to force Visual C++ to use legacy debug information format /Z7.
271 # This is useful for parallel compilation tools which can't support /Zi. 275 # This is useful for parallel compilation tools which can't support /Zi.
272 # Only used on Windows. 276 # Only used on Windows.
273 'win_z7%' : 0, 277 'win_z7%' : 0,
274 278
275 # Set to 1 to enable dcheck in release. 279 # Set to 1 to enable dcheck in release.
276 'dcheck_always_on%': 0, 280 'dcheck_always_on%': 0,
277 281
278 # Set to 1 to make a build that disables unshipped tracing events. 282 # Set to 1 to make a build that disables unshipped tracing events.
279 # Note: this setting is ignored if buildtype=="Official". 283 # Note: this setting is ignored if buildtype=="Official".
280 'tracing_like_official_build%': 0, 284 'tracing_like_official_build%': 0,
281 285
282 # Disable image loader component extension by default. 286 # Disable image loader component extension by default.
283 'image_loader_extension%': 0, 287 'image_loader_extension%': 0,
284 288
285 # Set NEON compilation flags. 289 # Set NEON compilation flags.
286 'arm_neon%': 1, 290 'arm_neon%': 1,
287 291
288 # Detect NEON support at run-time. 292 # Detect NEON support at run-time.
289 'arm_neon_optional%': 0, 293 'arm_neon_optional%': 0,
290 294
291 # The system libdir used for this ABI.
292 'system_libdir%': 'lib',
293 295
294 # Use libjpeg-turbo as the JPEG codec used by Chromium. 296 # Use libjpeg-turbo as the JPEG codec used by Chromium.
295 'use_libjpeg_turbo%': 1, 297 'use_libjpeg_turbo%': 1,
296 298
297 # Use system libjpeg. Note that the system's libjepg will be used even if 299 # Use system libjpeg. Note that the system's libjepg will be used even if
298 # use_libjpeg_turbo is set. 300 # use_libjpeg_turbo is set.
299 'use_system_libjpeg%': 0, 301 'use_system_libjpeg%': 0,
300 302
301 # By default, component is set to static_library and it can be overriden 303 # By default, component is set to static_library and it can be overriden
302 # by the GYP command line or by ~/.gyp/include.gypi. 304 # by the GYP command line or by ~/.gyp/include.gypi.
(...skipping 5119 matching lines...) Expand 10 before | Expand all | Expand 10 after
5422 # settings in target dicts. SYMROOT is a special case, because many other 5424 # settings in target dicts. SYMROOT is a special case, because many other
5423 # Xcode variables depend on it, including variables such as 5425 # Xcode variables depend on it, including variables such as
5424 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5426 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5425 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5427 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5426 # files to appear (when present) in the UI as actual files and not red 5428 # files to appear (when present) in the UI as actual files and not red
5427 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5429 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5428 # and therefore SYMROOT, needs to be set at the project level. 5430 # and therefore SYMROOT, needs to be set at the project level.
5429 'SYMROOT': '<(DEPTH)/xcodebuild', 5431 'SYMROOT': '<(DEPTH)/xcodebuild',
5430 }, 5432 },
5431 } 5433 }
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