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': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 1258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1269 ], | 1269 ], |
1270 'conditions': [ | 1270 'conditions': [ |
1271 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, | 1271 ['chromium_mac_pch', {'GCC_PRECOMPILE_PREFIX_HEADER': 'YES'}, |
1272 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} | 1272 {'GCC_PRECOMPILE_PREFIX_HEADER': 'NO'} |
1273 ], | 1273 ], |
1274 ['clang==1', { | 1274 ['clang==1', { |
1275 'WARNING_CFLAGS': [ | 1275 'WARNING_CFLAGS': [ |
1276 # Don't die on dtoa code that uses a char as an array index. | 1276 # Don't die on dtoa code that uses a char as an array index. |
1277 # This is required solely for base/third_party/dmg_fp/dtoa.cc. | 1277 # This is required solely for base/third_party/dmg_fp/dtoa.cc. |
1278 '-Wno-char-subscripts', | 1278 '-Wno-char-subscripts', |
| 1279 # Clang spots more unused functions. |
| 1280 '-Wno-unused-function', |
1279 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1281 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
1280 # http://code.google.com/p/googletest/source/detail?r=446 . | 1282 # http://code.google.com/p/googletest/source/detail?r=446 . |
1281 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1283 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). |
1282 '-Wno-unnamed-type-template-args', | 1284 '-Wno-unnamed-type-template-args', |
1283 ], | 1285 ], |
1284 }], | 1286 }], |
1285 ], | 1287 ], |
1286 }, | 1288 }, |
1287 'target_conditions': [ | 1289 'target_conditions': [ |
1288 ['_type!="static_library"', { | 1290 ['_type!="static_library"', { |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1527 # and therefore SYMROOT, needs to be set at the project level. | 1529 # and therefore SYMROOT, needs to be set at the project level. |
1528 'SYMROOT': '<(DEPTH)/xcodebuild', | 1530 'SYMROOT': '<(DEPTH)/xcodebuild', |
1529 }, | 1531 }, |
1530 } | 1532 } |
1531 | 1533 |
1532 # Local Variables: | 1534 # Local Variables: |
1533 # tab-width:2 | 1535 # tab-width:2 |
1534 # indent-tabs-mode:nil | 1536 # indent-tabs-mode:nil |
1535 # End: | 1537 # End: |
1536 # vim: set expandtab tabstop=2 shiftwidth=2: | 1538 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |