Chromium Code Reviews| Index: breakpad/breakpad_tools.gypi |
| diff --git a/breakpad/breakpad_tools.gypi b/breakpad/breakpad_tools.gypi |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6a05288b1dfafe7eff4851a48e5cfcc1277f75fe |
| --- /dev/null |
| +++ b/breakpad/breakpad_tools.gypi |
| @@ -0,0 +1,31 @@ |
| +# 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': { |
|
Mark Mentovai
2012/11/21 20:27:54
Move me inside the clang==1 section
(even though
Robert Sesek
2012/11/21 20:30:58
Done.
|
| + 'WARNING_CFLAGS': ['-Wno-tautological-constant-out-of-range-compare'], |
| + }, |
| +} |