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

Side by Side Diff: build/common.gypi

Issue 669069: Detect python version using /usr/lib/libpython$(ver).so.1.0 instead of /usr/b... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | build/linux/python_arch.sh » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 # Set Thumb compilation flags. 215 # Set Thumb compilation flags.
216 'arm_thumb%': 0, 216 'arm_thumb%': 0,
217 217
218 'conditions': [ 218 'conditions': [
219 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 219 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
220 # This will set gcc_version to XY if you are running gcc X.Y.*. 220 # This will set gcc_version to XY if you are running gcc X.Y.*.
221 # This is used to tweak build flags for gcc 4.4. 221 # This is used to tweak build flags for gcc 4.4.
222 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 222 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
223 # Figure out the python architecture to decide if we build pyauto. 223 # Figure out the python architecture to decide if we build pyauto.
224 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/b in/python<(python_ver))', 224 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)',
225 'conditions': [ 225 'conditions': [
226 ['branding=="Chrome" or linux_chromium_breakpad==1', { 226 ['branding=="Chrome" or linux_chromium_breakpad==1', {
227 'linux_breakpad%': 1, 227 'linux_breakpad%': 1,
228 }, { 228 }, {
229 'linux_breakpad%': 0, 229 'linux_breakpad%': 0,
230 }], 230 }],
231 # All Chrome builds have breakpad symbols, but only process the 231 # All Chrome builds have breakpad symbols, but only process the
232 # symbols from official builds. 232 # symbols from official builds.
233 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and 233 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and
234 # crash server handle 64-bit symbols. 234 # crash server handle 64-bit symbols.
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 # and therefore SYMROOT, needs to be set at the project level. 1234 # and therefore SYMROOT, needs to be set at the project level.
1235 'SYMROOT': '<(DEPTH)/xcodebuild', 1235 'SYMROOT': '<(DEPTH)/xcodebuild',
1236 }, 1236 },
1237 } 1237 }
1238 1238
1239 # Local Variables: 1239 # Local Variables:
1240 # tab-width:2 1240 # tab-width:2
1241 # indent-tabs-mode:nil 1241 # indent-tabs-mode:nil
1242 # End: 1242 # End:
1243 # vim: set expandtab tabstop=2 shiftwidth=2: 1243 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | build/linux/python_arch.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698