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

Side by Side Diff: build/common.gypi

Issue 8018002: linux: allow builds to override libdir path (Closed) Base URL: http://src.chromium.org/svn/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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 137
138 # Set ARM-v7 compilation flags 138 # Set ARM-v7 compilation flags
139 'armv7%': 0, 139 'armv7%': 0,
140 140
141 # Set Neon compilation flags (only meaningful if armv7==1). 141 # Set Neon compilation flags (only meaningful if armv7==1).
142 'arm_neon%': 1, 142 'arm_neon%': 1,
143 143
144 # The system root for cross-compiles. Default: none. 144 # The system root for cross-compiles. Default: none.
145 'sysroot%': '', 145 'sysroot%': '',
146 146
147 # The system libdir used for this ABI.
148 'system_libdir%': 'lib',
149
147 # On Linux, we build with sse2 for Chromium builds. 150 # On Linux, we build with sse2 for Chromium builds.
148 'disable_sse2%': 0, 151 'disable_sse2%': 0,
149 152
150 # Use libjpeg-turbo as the JPEG codec used by Chromium. 153 # Use libjpeg-turbo as the JPEG codec used by Chromium.
151 'use_libjpeg_turbo%': 1, 154 'use_libjpeg_turbo%': 1,
152 155
153 # Variable 'component' is for cases where we would like to build some 156 # Variable 'component' is for cases where we would like to build some
154 # components as dynamic shared libraries but still need variable 157 # components as dynamic shared libraries but still need variable
155 # 'library' for static libraries. 158 # 'library' for static libraries.
156 # By default, component is set to whatever library is set to and 159 # By default, component is set to whatever library is set to and
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 'touchui%': '<(touchui)', 315 'touchui%': '<(touchui)',
313 'file_manager_extension%': '<(file_manager_extension)', 316 'file_manager_extension%': '<(file_manager_extension)',
314 'webui_task_manager%': '<(webui_task_manager)', 317 'webui_task_manager%': '<(webui_task_manager)',
315 'inside_chromium_build%': '<(inside_chromium_build)', 318 'inside_chromium_build%': '<(inside_chromium_build)',
316 'fastbuild%': '<(fastbuild)', 319 'fastbuild%': '<(fastbuild)',
317 'dcheck_always_on%': '<(dcheck_always_on)', 320 'dcheck_always_on%': '<(dcheck_always_on)',
318 'python_ver%': '<(python_ver)', 321 'python_ver%': '<(python_ver)',
319 'armv7%': '<(armv7)', 322 'armv7%': '<(armv7)',
320 'arm_neon%': '<(arm_neon)', 323 'arm_neon%': '<(arm_neon)',
321 'sysroot%': '<(sysroot)', 324 'sysroot%': '<(sysroot)',
325 'system_libdir%': '<(system_libdir)',
322 'disable_sse2%': '<(disable_sse2)', 326 'disable_sse2%': '<(disable_sse2)',
323 'component%': '<(component)', 327 'component%': '<(component)',
324 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 328 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
325 'use_third_party_translations%': '<(use_third_party_translations)', 329 'use_third_party_translations%': '<(use_third_party_translations)',
326 'remoting%': '<(remoting)', 330 'remoting%': '<(remoting)',
327 'use_threaded_compositing%': '<(use_threaded_compositing)', 331 'use_threaded_compositing%': '<(use_threaded_compositing)',
328 'enable_webrtc%': '<(enable_webrtc)', 332 'enable_webrtc%': '<(enable_webrtc)',
329 'p2p_apis%': '<(p2p_apis)', 333 'p2p_apis%': '<(p2p_apis)',
330 'configuration_policy%': '<(configuration_policy)', 334 'configuration_policy%': '<(configuration_policy)',
331 'safe_browsing%': '<(safe_browsing)', 335 'safe_browsing%': '<(safe_browsing)',
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 549
546 # Point to ICU directory. 550 # Point to ICU directory.
547 'icu_src_dir': '../third_party/icu', 551 'icu_src_dir': '../third_party/icu',
548 552
549 'conditions': [ 553 'conditions': [
550 ['os_posix==1 and OS!="mac" and OS!="android"', { 554 ['os_posix==1 and OS!="mac" and OS!="android"', {
551 # This will set gcc_version to XY if you are running gcc X.Y.*. 555 # This will set gcc_version to XY if you are running gcc X.Y.*.
552 # This is used to tweak build flags for gcc 4.4. 556 # This is used to tweak build flags for gcc 4.4.
553 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 557 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
554 # Figure out the python architecture to decide if we build pyauto. 558 # Figure out the python architecture to decide if we build pyauto.
555 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)', 559 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/< (system_libdir)/libpython<(python_ver).so.1.0)',
556 'conditions': [ 560 'conditions': [
557 ['branding=="Chrome"', { 561 ['branding=="Chrome"', {
558 'linux_breakpad%': 1, 562 'linux_breakpad%': 1,
559 }], 563 }],
560 # All Chrome builds have breakpad symbols, but only process the 564 # All Chrome builds have breakpad symbols, but only process the
561 # symbols from official builds. 565 # symbols from official builds.
562 ['(branding=="Chrome" and buildtype=="Official")', { 566 ['(branding=="Chrome" and buildtype=="Official")', {
563 'linux_dump_symbols%': 1, 567 'linux_dump_symbols%': 1,
564 }], 568 }],
565 ], 569 ],
(...skipping 1845 matching lines...) Expand 10 before | Expand all | Expand 10 after
2411 # settings in target dicts. SYMROOT is a special case, because many other 2415 # settings in target dicts. SYMROOT is a special case, because many other
2412 # Xcode variables depend on it, including variables such as 2416 # Xcode variables depend on it, including variables such as
2413 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2417 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2414 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2418 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2415 # files to appear (when present) in the UI as actual files and not red 2419 # files to appear (when present) in the UI as actual files and not red
2416 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2420 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2417 # and therefore SYMROOT, needs to be set at the project level. 2421 # and therefore SYMROOT, needs to be set at the project level.
2418 'SYMROOT': '<(DEPTH)/xcodebuild', 2422 'SYMROOT': '<(DEPTH)/xcodebuild',
2419 }, 2423 },
2420 } 2424 }
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