OLD | NEW |
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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 ['_toolset=="target"', { | 1180 ['_toolset=="target"', { |
1181 'cflags': [ | 1181 'cflags': [ |
1182 '--sysroot=<(sysroot)', | 1182 '--sysroot=<(sysroot)', |
1183 ], | 1183 ], |
1184 'ldflags': [ | 1184 'ldflags': [ |
1185 '--sysroot=<(sysroot)', | 1185 '--sysroot=<(sysroot)', |
1186 ], | 1186 ], |
1187 }]] | 1187 }]] |
1188 }], | 1188 }], |
1189 ['clang==1', { | 1189 ['clang==1', { |
1190 'cflags': [ | 1190 'target_conditions': [ |
1191 # Clang spots more unused functions. | 1191 ['_toolset=="target"', { |
1192 '-Wno-unused-function', | 1192 'cflags': [ |
1193 # Don't die on dtoa code that uses a char as an array index. | 1193 # Clang spots more unused functions. |
1194 '-Wno-char-subscripts', | 1194 '-Wno-unused-function', |
1195 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1195 # Don't die on dtoa code that uses a char as an array index. |
1196 # http://code.google.com/p/googletest/source/detail?r=446 . | 1196 '-Wno-char-subscripts', |
1197 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1197 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
1198 '-Wno-unnamed-type-template-args', | 1198 # http://code.google.com/p/googletest/source/detail?r=446 . |
1199 # TODO(thakis): Turn on -- http://crbug.com/72205 | 1199 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ) |
1200 '-Wno-overloaded-virtual', | 1200 '-Wno-unnamed-type-template-args', |
1201 ], | 1201 # TODO(thakis): Turn on -- http://crbug.com/72205 |
1202 'cflags!': [ | 1202 '-Wno-overloaded-virtual', |
1203 # Clang doesn't seem to know know this flag. | 1203 ], |
1204 '-mfpmath=sse', | 1204 'cflags!': [ |
1205 ], | 1205 # Clang doesn't seem to know know this flag. |
| 1206 '-mfpmath=sse', |
| 1207 ], |
| 1208 }]], |
1206 }], | 1209 }], |
1207 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { | 1210 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { |
1208 'cflags': [ | 1211 'target_conditions': [ |
1209 '-Xclang', '-load', '-Xclang', '<(clang_load)', | 1212 ['_toolset=="target"', { |
1210 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', | 1213 'cflags': [ |
1211 ], | 1214 '-Xclang', '-load', '-Xclang', '<(clang_load)', |
| 1215 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', |
| 1216 ], |
| 1217 }]], |
1212 }], | 1218 }], |
1213 ['no_strict_aliasing==1', { | 1219 ['no_strict_aliasing==1', { |
1214 'cflags': [ | 1220 'cflags': [ |
1215 '-fno-strict-aliasing', | 1221 '-fno-strict-aliasing', |
1216 ], | 1222 ], |
1217 }], | 1223 }], |
1218 ['linux_breakpad==1', { | 1224 ['linux_breakpad==1', { |
1219 'cflags': [ '-g' ], | 1225 'cflags': [ '-g' ], |
1220 'defines': ['USE_LINUX_BREAKPAD'], | 1226 'defines': ['USE_LINUX_BREAKPAD'], |
1221 }], | 1227 }], |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 # and therefore SYMROOT, needs to be set at the project level. | 1578 # and therefore SYMROOT, needs to be set at the project level. |
1573 'SYMROOT': '<(DEPTH)/xcodebuild', | 1579 'SYMROOT': '<(DEPTH)/xcodebuild', |
1574 }, | 1580 }, |
1575 } | 1581 } |
1576 | 1582 |
1577 # Local Variables: | 1583 # Local Variables: |
1578 # tab-width:2 | 1584 # tab-width:2 |
1579 # indent-tabs-mode:nil | 1585 # indent-tabs-mode:nil |
1580 # End: | 1586 # End: |
1581 # vim: set expandtab tabstop=2 shiftwidth=2: | 1587 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |