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