OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'conditions': [ | |
7 ['OS=="linux" or OS=="android"', { | |
8 'variables': { | |
9 'host_arch': '<!(uname -m)', | |
10 }, | |
11 'conditions': [ | |
12 ['host_arch=="x86_64"', { | |
13 'cflags!': ['-m32', '-march=pentium4', '-msse2', '-mfpmath=sse'], | |
14 'ldflags!': ['-m32'], | |
15 'cflags': ['-O2'], | |
16 'include_dirs!': ['/usr/include32'], | |
17 }], | |
18 ], | |
19 }], | |
20 ['OS=="android"', { | |
21 'toolsets': ['host'], | |
22 'defines': ['__ANDROID__'], | |
23 }], | |
24 ['clang==1', { | |
25 'cflags': ['-Wno-tautological-constant-out-of-range-compare'], | |
26 }], | |
27 ], | |
28 '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.
| |
29 'WARNING_CFLAGS': ['-Wno-tautological-constant-out-of-range-compare'], | |
30 }, | |
31 } | |
OLD | NEW |