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 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1181 'cflags': [ | 1181 'cflags': [ |
1182 # Clang spots more unused functions. | 1182 # Clang spots more unused functions. |
1183 '-Wno-unused-function', | 1183 '-Wno-unused-function', |
1184 # Don't die on dtoa code that uses a char as an array index. | 1184 # Don't die on dtoa code that uses a char as an array index. |
1185 '-Wno-char-subscripts', | 1185 '-Wno-char-subscripts', |
1186 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1186 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
1187 # http://code.google.com/p/googletest/source/detail?r=446 . | 1187 # http://code.google.com/p/googletest/source/detail?r=446 . |
1188 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1188 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). |
1189 '-Wno-unnamed-type-template-args', | 1189 '-Wno-unnamed-type-template-args', |
1190 # TODO(thakis): Reenable, http://crbug.com/71375 | 1190 # TODO(thakis): Reenable, http://crbug.com/71375 |
1191 '-Wno-uninitialized', | 1191 #'-Wno-uninitialized', |
1192 ], | 1192 ], |
1193 'cflags!': [ | 1193 'cflags!': [ |
1194 # Clang doesn't seem to know know this flag. | 1194 # Clang doesn't seem to know know this flag. |
1195 '-mfpmath=sse', | 1195 '-mfpmath=sse', |
1196 ], | 1196 ], |
1197 }], | 1197 }], |
1198 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { | 1198 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { |
1199 'cflags': [ | 1199 'cflags': [ |
1200 '-Xclang', '-load', '-Xclang', '<(clang_load)', | 1200 '-Xclang', '-load', '-Xclang', '<(clang_load)', |
1201 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', | 1201 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 # Don't die on dtoa code that uses a char as an array index. | 1305 # Don't die on dtoa code that uses a char as an array index. |
1306 # This is required solely for base/third_party/dmg_fp/dtoa.cc. | 1306 # This is required solely for base/third_party/dmg_fp/dtoa.cc. |
1307 '-Wno-char-subscripts', | 1307 '-Wno-char-subscripts', |
1308 # Clang spots more unused functions. | 1308 # Clang spots more unused functions. |
1309 '-Wno-unused-function', | 1309 '-Wno-unused-function', |
1310 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1310 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
1311 # http://code.google.com/p/googletest/source/detail?r=446 . | 1311 # http://code.google.com/p/googletest/source/detail?r=446 . |
1312 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1312 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). |
1313 '-Wno-unnamed-type-template-args', | 1313 '-Wno-unnamed-type-template-args', |
1314 # TODO(thakis): Reenable, http://crbug.com/71375 | 1314 # TODO(thakis): Reenable, http://crbug.com/71375 |
1315 '-Wno-uninitialized', | 1315 #'-Wno-uninitialized', |
1316 ], | 1316 ], |
1317 }], | 1317 }], |
1318 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { | 1318 ['clang==1 and clang_load!="" and clang_add_plugin!=""', { |
1319 'OTHER_CFLAGS': [ | 1319 'OTHER_CFLAGS': [ |
1320 '-Xclang', '-load', '-Xclang', '<(clang_load)', | 1320 '-Xclang', '-load', '-Xclang', '<(clang_load)', |
1321 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', | 1321 '-Xclang', '-add-plugin', '-Xclang', '<(clang_add_plugin)', |
1322 ], | 1322 ], |
1323 }], | 1323 }], |
1324 ], | 1324 ], |
1325 }, | 1325 }, |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1563 # and therefore SYMROOT, needs to be set at the project level. | 1563 # and therefore SYMROOT, needs to be set at the project level. |
1564 'SYMROOT': '<(DEPTH)/xcodebuild', | 1564 'SYMROOT': '<(DEPTH)/xcodebuild', |
1565 }, | 1565 }, |
1566 } | 1566 } |
1567 | 1567 |
1568 # Local Variables: | 1568 # Local Variables: |
1569 # tab-width:2 | 1569 # tab-width:2 |
1570 # indent-tabs-mode:nil | 1570 # indent-tabs-mode:nil |
1571 # End: | 1571 # End: |
1572 # vim: set expandtab tabstop=2 shiftwidth=2: | 1572 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |