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

Side by Side Diff: breakpad/breakpad_tools.gypi

Issue 379923008: Correctly compute host_arch in breakpad_tools.gypi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 5 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 { 5 {
6 'conditions': [ 6 'conditions': [
7 ['OS=="linux" or OS=="android"', { 7 ['OS=="linux" or OS=="android"', {
8 'variables': { 8 'variables': {
9 'host_arch': '<!(uname -m)', 9 'host_arch': '<!pymod_do_main(detect_host_arch)',
10 }, 10 },
11 'conditions': [ 11 'conditions': [
12 ['host_arch=="x86_64"', { 12 ['host_arch=="x86_64"', {
13 'cflags!': ['-m32', '-march=pentium4', '-msse2', '-mfpmath=sse'], 13 'cflags!': ['-m32', '-march=pentium4', '-msse2', '-mfpmath=sse'],
14 'ldflags!': ['-m32'], 14 'ldflags!': ['-m32'],
15 'cflags': ['-O2'], 15 'cflags': ['-O2'],
16 'include_dirs!': ['/usr/include32'], 16 'include_dirs!': ['/usr/include32'],
17 'conditions': [ 17 'conditions': [
18 ['target_arch=="ia32" and sysroot!=""', { 18 ['target_arch=="ia32" and sysroot!=""', {
19 'cflags!': ['--sysroot=<(sysroot)'], 19 'cflags!': ['--sysroot=<(sysroot)'],
(...skipping 11 matching lines...) Expand all
31 'xcode_settings': { 31 'xcode_settings': {
32 'WARNING_CFLAGS': ['-Wno-tautological-constant-out-of-range-compare'], 32 'WARNING_CFLAGS': ['-Wno-tautological-constant-out-of-range-compare'],
33 }, 33 },
34 }], 34 }],
35 ], 35 ],
36 'include_dirs': [ 36 'include_dirs': [
37 'src', 37 'src',
38 'src/third_party', 38 'src/third_party',
39 ], 39 ],
40 } 40 }
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