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 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 # Clang spots more unused functions. | 1161 # Clang spots more unused functions. |
1162 '-Wno-unused-function', | 1162 '-Wno-unused-function', |
1163 # gtest confuses clang. | 1163 # gtest confuses clang. |
1164 '-Wno-bool-conversions', | 1164 '-Wno-bool-conversions', |
1165 # Don't die on dtoa code that uses a char as an array index. | 1165 # Don't die on dtoa code that uses a char as an array index. |
1166 '-Wno-char-subscripts', | 1166 '-Wno-char-subscripts', |
1167 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see | 1167 # Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see |
1168 # http://code.google.com/p/googletest/source/detail?r=446 . | 1168 # http://code.google.com/p/googletest/source/detail?r=446 . |
1169 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). | 1169 # TODO(thakis): Use -isystem instead (http://crbug.com/58751 ). |
1170 '-Wno-unnamed-type-template-args', | 1170 '-Wno-unnamed-type-template-args', |
1171 # The integrated assembler chokes on one ffmpeg file. | |
1172 # http://crbug.com/61931 | |
1173 '-no-integrated-as', | |
1174 ], | 1171 ], |
1175 'cflags!': [ | 1172 'cflags!': [ |
1176 # Clang doesn't seem to know know this flag. | 1173 # Clang doesn't seem to know know this flag. |
1177 '-mfpmath=sse', | 1174 '-mfpmath=sse', |
1178 ], | 1175 ], |
1179 }], | 1176 }], |
1180 ['no_strict_aliasing==1', { | 1177 ['no_strict_aliasing==1', { |
1181 'cflags': [ | 1178 'cflags': [ |
1182 '-fno-strict-aliasing', | 1179 '-fno-strict-aliasing', |
1183 ], | 1180 ], |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1532 # and therefore SYMROOT, needs to be set at the project level. | 1529 # and therefore SYMROOT, needs to be set at the project level. |
1533 'SYMROOT': '<(DEPTH)/xcodebuild', | 1530 'SYMROOT': '<(DEPTH)/xcodebuild', |
1534 }, | 1531 }, |
1535 } | 1532 } |
1536 | 1533 |
1537 # Local Variables: | 1534 # Local Variables: |
1538 # tab-width:2 | 1535 # tab-width:2 |
1539 # indent-tabs-mode:nil | 1536 # indent-tabs-mode:nil |
1540 # End: | 1537 # End: |
1541 # vim: set expandtab tabstop=2 shiftwidth=2: | 1538 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |