diff options
Diffstat (limited to 'breakpad/breakpad_tools.gypi')
-rw-r--r-- | breakpad/breakpad_tools.gypi | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/breakpad/breakpad_tools.gypi b/breakpad/breakpad_tools.gypi new file mode 100644 index 0000000..bf38f1a --- /dev/null +++ b/breakpad/breakpad_tools.gypi @@ -0,0 +1,35 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'conditions': [ + ['OS=="linux" or OS=="android"', { + 'variables': { + 'host_arch': '<!(uname -m)', + }, + 'conditions': [ + ['host_arch=="x86_64"', { + 'cflags!': ['-m32', '-march=pentium4', '-msse2', '-mfpmath=sse'], + 'ldflags!': ['-m32'], + 'cflags': ['-O2'], + 'include_dirs!': ['/usr/include32'], + }], + ], + }], + ['OS=="android"', { + 'toolsets': ['host'], + 'defines': ['__ANDROID__'], + }], + ['clang==1', { + 'cflags': ['-Wno-tautological-constant-out-of-range-compare'], + 'xcode_settings': { + 'WARNING_CFLAGS': ['-Wno-tautological-constant-out-of-range-compare'], + }, + }], + ], + 'include_dirs': [ + 'src', + 'src/third_party', + ], +} |