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 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 ['clang==1', { | 1158 ['clang==1', { |
1159 'cflags': [ | 1159 'cflags': [ |
1160 # Clang spots more unused functions. | 1160 # Clang spots more unused functions. |
1161 '-Wno-unused-function', | 1161 '-Wno-unused-function', |
1162 # Don't die on dtoa code that uses a char as an array index. | 1162 # Don't die on dtoa code that uses a char as an array index. |
1163 '-Wno-char-subscripts', | 1163 '-Wno-char-subscripts', |
1164 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1164 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
1165 # http://code.google.com/p/googletest/source/detail?r=446 . | 1165 # http://code.google.com/p/googletest/source/detail?r=446 . |
1166 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1166 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). |
1167 '-Wno-unnamed-type-template-args', | 1167 '-Wno-unnamed-type-template-args', |
| 1168 # TODO(thakis): Reenable, http://crbug.com/71375 |
| 1169 '-Wno-uninitialized', |
1168 ], | 1170 ], |
1169 'cflags!': [ | 1171 'cflags!': [ |
1170 # Clang doesn't seem to know know this flag. | 1172 # Clang doesn't seem to know know this flag. |
1171 '-mfpmath=sse', | 1173 '-mfpmath=sse', |
1172 ], | 1174 ], |
1173 }], | 1175 }], |
1174 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { | 1176 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { |
1175 'cflags': [ | 1177 'cflags': [ |
1176 '-Xclang', '-load', '-Xclang', '<(clang_load)', | 1178 '-Xclang', '-load', '-Xclang', '<(clang_load)', |
1177 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', | 1179 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1280 'WARNING_CFLAGS': [ | 1282 'WARNING_CFLAGS': [ |
1281 # Don't die on dtoa code that uses a char as an array index. | 1283 # Don't die on dtoa code that uses a char as an array index. |
1282 # This is required solely for base/third_party/dmg_fp/dtoa.cc. | 1284 # This is required solely for base/third_party/dmg_fp/dtoa.cc. |
1283 '-Wno-char-subscripts', | 1285 '-Wno-char-subscripts', |
1284 # Clang spots more unused functions. | 1286 # Clang spots more unused functions. |
1285 '-Wno-unused-function', | 1287 '-Wno-unused-function', |
1286 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1288 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
1287 # http://code.google.com/p/googletest/source/detail?r=446 . | 1289 # http://code.google.com/p/googletest/source/detail?r=446 . |
1288 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1290 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). |
1289 '-Wno-unnamed-type-template-args', | 1291 '-Wno-unnamed-type-template-args', |
| 1292 # TODO(thakis): Reenable, http://crbug.com/71375 |
| 1293 '-Wno-uninitialized', |
1290 ], | 1294 ], |
1291 }], | 1295 }], |
1292 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { | 1296 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { |
1293 'OTHER_CFLAGS': [ | 1297 'OTHER_CFLAGS': [ |
1294 '-Xclang', '-load', '-Xclang', '<(clang_load)', | 1298 '-Xclang', '-load', '-Xclang', '<(clang_load)', |
1295 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', | 1299 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', |
1296 ], | 1300 ], |
1297 }], | 1301 }], |
1298 ], | 1302 ], |
1299 }, | 1303 }, |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1537 # and therefore SYMROOT, needs to be set at the project level. | 1541 # and therefore SYMROOT, needs to be set at the project level. |
1538 'SYMROOT': '<(DEPTH)/xcodebuild', | 1542 'SYMROOT': '<(DEPTH)/xcodebuild', |
1539 }, | 1543 }, |
1540 } | 1544 } |
1541 | 1545 |
1542 # Local Variables: | 1546 # Local Variables: |
1543 # tab-width:2 | 1547 # tab-width:2 |
1544 # indent-tabs-mode:nil | 1548 # indent-tabs-mode:nil |
1545 # End: | 1549 # End: |
1546 # vim: set expandtab tabstop=2 shiftwidth=2: | 1550 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |