| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 }, | 1093 }, |
| 1094 'cflags': [ | 1094 'cflags': [ |
| 1095 '<(werror)', # See note above about the werror variable. | 1095 '<(werror)', # See note above about the werror variable. |
| 1096 '-pthread', | 1096 '-pthread', |
| 1097 '-fno-exceptions', | 1097 '-fno-exceptions', |
| 1098 '-Wall', | 1098 '-Wall', |
| 1099 # TODO(evan): turn this back on once all the builds work. | 1099 # TODO(evan): turn this back on once all the builds work. |
| 1100 # '-Wextra', | 1100 # '-Wextra', |
| 1101 # Don't warn about unused function params. We use those everywhere. | 1101 # Don't warn about unused function params. We use those everywhere. |
| 1102 '-Wno-unused-parameter', | 1102 '-Wno-unused-parameter', |
| 1103 '-Wno-unused-but-set-variable', |
| 1103 # Don't warn about the "struct foo f = {0};" initialization pattern. | 1104 # Don't warn about the "struct foo f = {0};" initialization pattern. |
| 1104 '-Wno-missing-field-initializers', | 1105 '-Wno-missing-field-initializers', |
| 1105 '-D_FILE_OFFSET_BITS=64', | 1106 '-D_FILE_OFFSET_BITS=64', |
| 1106 # Don't export any symbols (for example, to plugins we dlopen()). | 1107 # Don't export any symbols (for example, to plugins we dlopen()). |
| 1107 # Note: this is *required* to make some plugins work. | 1108 # Note: this is *required* to make some plugins work. |
| 1108 '-fvisibility=hidden', | 1109 '-fvisibility=hidden', |
| 1109 '-pipe', | 1110 '-pipe', |
| 1110 ], | 1111 ], |
| 1111 'cflags_cc': [ | 1112 'cflags_cc': [ |
| 1112 '-fno-rtti', | 1113 '-fno-rtti', |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1755 # and therefore SYMROOT, needs to be set at the project level. | 1756 # and therefore SYMROOT, needs to be set at the project level. |
| 1756 'SYMROOT': '<(DEPTH)/xcodebuild', | 1757 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1757 }, | 1758 }, |
| 1758 } | 1759 } |
| 1759 | 1760 |
| 1760 # Local Variables: | 1761 # Local Variables: |
| 1761 # tab-width:2 | 1762 # tab-width:2 |
| 1762 # indent-tabs-mode:nil | 1763 # indent-tabs-mode:nil |
| 1763 # End: | 1764 # End: |
| 1764 # vim: set expandtab tabstop=2 shiftwidth=2: | 1765 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |