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 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1128 # Don't warn about printf format problems. | 1128 # Don't warn about printf format problems. |
1129 # This is off by default in gcc but on in Ubuntu's gcc(!). | 1129 # This is off by default in gcc but on in Ubuntu's gcc(!). |
1130 '-Wno-format', | 1130 '-Wno-format', |
1131 ], | 1131 ], |
1132 'cflags_cc!': [ | 1132 'cflags_cc!': [ |
1133 # TODO(fischman): remove this. | 1133 # TODO(fischman): remove this. |
1134 # http://code.google.com/p/chromium/issues/detail?id=90453 | 1134 # http://code.google.com/p/chromium/issues/detail?id=90453 |
1135 '-Wsign-compare', | 1135 '-Wsign-compare', |
1136 ] | 1136 ] |
1137 }], | 1137 }], |
1138 [ 'os_posix==1 and OS!="mac" and chromeos==0', { | 1138 [ 'os_posix==1 and OS!="mac" and OS!="openbsd" and chromeos==0', { |
1139 'cflags': [ | 1139 'cflags': [ |
1140 # Don't warn about ignoring the return value from e.g. close(). | 1140 # Don't warn about ignoring the return value from e.g. close(). |
1141 # This is off by default in some gccs but on by default in others. | 1141 # This is off by default in some gccs but on by default in others. |
1142 # Currently this option is not set for Chrome OS build because | 1142 # Currently this option is not set for Chrome OS build because |
1143 # the current version of gcc (4.3.4) used for building Chrome in | 1143 # the current version of gcc (4.3.4) used for building Chrome in |
1144 # Chrome OS chroot doesn't support this option. | 1144 # Chrome OS chroot doesn't support this option. |
| 1145 # OpenBSD does not support this option either, since it's using |
| 1146 # gcc 4.2.1, which does not have this flag yet. |
1145 # TODO(mazda): remove the conditional for Chrome OS when gcc | 1147 # TODO(mazda): remove the conditional for Chrome OS when gcc |
1146 # version is upgraded. | 1148 # version is upgraded. |
1147 '-Wno-unused-result', | 1149 '-Wno-unused-result', |
1148 ], | 1150 ], |
1149 }], | 1151 }], |
1150 [ 'OS=="win"', { | 1152 [ 'OS=="win"', { |
1151 'defines': [ | 1153 'defines': [ |
1152 '_CRT_SECURE_NO_DEPRECATE', | 1154 '_CRT_SECURE_NO_DEPRECATE', |
1153 '_CRT_NONSTDC_NO_WARNINGS', | 1155 '_CRT_NONSTDC_NO_WARNINGS', |
1154 '_CRT_NONSTDC_NO_DEPRECATE', | 1156 '_CRT_NONSTDC_NO_DEPRECATE', |
(...skipping 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2535 # settings in target dicts. SYMROOT is a special case, because many other | 2537 # settings in target dicts. SYMROOT is a special case, because many other |
2536 # Xcode variables depend on it, including variables such as | 2538 # Xcode variables depend on it, including variables such as |
2537 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2539 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2538 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2540 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2539 # files to appear (when present) in the UI as actual files and not red | 2541 # files to appear (when present) in the UI as actual files and not red |
2540 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2542 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2541 # and therefore SYMROOT, needs to be set at the project level. | 2543 # and therefore SYMROOT, needs to be set at the project level. |
2542 'SYMROOT': '<(DEPTH)/xcodebuild', | 2544 'SYMROOT': '<(DEPTH)/xcodebuild', |
2543 }, | 2545 }, |
2544 } | 2546 } |
OLD | NEW |