| 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 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1183 # Don't warn about printf format problems. | 1183 # Don't warn about printf format problems. |
| 1184 # This is off by default in gcc but on in Ubuntu's gcc(!). | 1184 # This is off by default in gcc but on in Ubuntu's gcc(!). |
| 1185 '-Wno-format', | 1185 '-Wno-format', |
| 1186 ], | 1186 ], |
| 1187 'cflags_cc!': [ | 1187 'cflags_cc!': [ |
| 1188 # TODO(fischman): remove this. | 1188 # TODO(fischman): remove this. |
| 1189 # http://code.google.com/p/chromium/issues/detail?id=90453 | 1189 # http://code.google.com/p/chromium/issues/detail?id=90453 |
| 1190 '-Wsign-compare', | 1190 '-Wsign-compare', |
| 1191 ] | 1191 ] |
| 1192 }], | 1192 }], |
| 1193 [ 'os_posix==1 and OS!="mac" and OS!="openbsd" and chromeos==0', { | 1193 [ 'os_posix==1 and OS!="mac" and OS!="openbsd" and OS!="android" and c
hromeos==0', { |
| 1194 'cflags': [ | 1194 'cflags': [ |
| 1195 # Don't warn about ignoring the return value from e.g. close(). | 1195 # Don't warn about ignoring the return value from e.g. close(). |
| 1196 # This is off by default in some gccs but on by default in others. | 1196 # This is off by default in some gccs but on by default in others. |
| 1197 # Currently this option is not set for Chrome OS build because | 1197 # Currently this option is not set for Chrome OS build because |
| 1198 # the current version of gcc (4.3.4) used for building Chrome in | 1198 # the current version of gcc (4.3.4) used for building Chrome in |
| 1199 # Chrome OS chroot doesn't support this option. | 1199 # Chrome OS chroot doesn't support this option. |
| 1200 # OpenBSD does not support this option either, since it's using | 1200 # OpenBSD does not support this option either, since it's using |
| 1201 # gcc 4.2.1, which does not have this flag yet. | 1201 # gcc 4.2.1, which does not have this flag yet. |
| 1202 # TODO(mazda): remove the conditional for Chrome OS when gcc | 1202 # TODO(mazda): remove the conditional for Chrome OS when gcc |
| 1203 # version is upgraded. | 1203 # version is upgraded. |
| (...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2602 # settings in target dicts. SYMROOT is a special case, because many other | 2602 # settings in target dicts. SYMROOT is a special case, because many other |
| 2603 # Xcode variables depend on it, including variables such as | 2603 # Xcode variables depend on it, including variables such as |
| 2604 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2604 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2605 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2605 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2606 # files to appear (when present) in the UI as actual files and not red | 2606 # files to appear (when present) in the UI as actual files and not red |
| 2607 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2607 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2608 # and therefore SYMROOT, needs to be set at the project level. | 2608 # and therefore SYMROOT, needs to be set at the project level. |
| 2609 'SYMROOT': '<(DEPTH)/xcodebuild', | 2609 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2610 }, | 2610 }, |
| 2611 } | 2611 } |
| OLD | NEW |