| 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 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1099 }], | 1099 }], |
| 1100 ['enable_web_intents==1', { | 1100 ['enable_web_intents==1', { |
| 1101 'defines': [ | 1101 'defines': [ |
| 1102 'ENABLE_WEB_INTENTS=1', | 1102 'ENABLE_WEB_INTENTS=1', |
| 1103 ], | 1103 ], |
| 1104 }], | 1104 }], |
| 1105 ], # conditions for 'target_defaults' | 1105 ], # conditions for 'target_defaults' |
| 1106 'target_conditions': [ | 1106 'target_conditions': [ |
| 1107 ['chromium_code==0', { | 1107 ['chromium_code==0', { |
| 1108 'conditions': [ | 1108 'conditions': [ |
| 1109 [ 'os_posix==1 and OS!="mac"', { | 1109 [ 'os_posix==1 and OS!="mac" and OS!="openbsd"', { |
| 1110 # We don't want to get warnings from third-party code, | 1110 # We don't want to get warnings from third-party code, |
| 1111 # so remove any existing warning-enabling flags like -Wall. | 1111 # so remove any existing warning-enabling flags like -Wall. |
| 1112 'cflags!': [ | 1112 'cflags!': [ |
| 1113 '-Wall', | 1113 '-Wall', |
| 1114 '-Wextra', | 1114 '-Wextra', |
| 1115 '-Werror', | 1115 '-Werror', |
| 1116 ], | 1116 ], |
| 1117 'cflags': [ | 1117 'cflags': [ |
| 1118 # Don't warn about hash_map in third-party code. | 1118 # Don't warn about hash_map in third-party code. |
| 1119 '-Wno-deprecated', | 1119 '-Wno-deprecated', |
| 1120 # Don't warn about printf format problems. | 1120 # Don't warn about printf format problems. |
| 1121 # This is off by default in gcc but on in Ubuntu's gcc(!). | 1121 # This is off by default in gcc but on in Ubuntu's gcc(!). |
| 1122 '-Wno-format', | 1122 '-Wno-format', |
| 1123 ], | 1123 ], |
| 1124 'cflags_cc!': [ | 1124 'cflags_cc!': [ |
| 1125 # TODO(fischman): remove this. | 1125 # TODO(fischman): remove this. |
| 1126 # http://code.google.com/p/chromium/issues/detail?id=90453 | 1126 # http://code.google.com/p/chromium/issues/detail?id=90453 |
| 1127 '-Wsign-compare', | 1127 '-Wsign-compare', |
| 1128 ] | 1128 ] |
| 1129 }], | 1129 }], |
| 1130 [ 'os_posix==1 and OS!="mac" and chromeos==0', { | 1130 [ 'os_posix==1 and OS!="mac" and OS!="openbsd" and chromeos==0', { |
| 1131 'cflags': [ | 1131 'cflags': [ |
| 1132 # Don't warn about ignoring the return value from e.g. close(). | 1132 # Don't warn about ignoring the return value from e.g. close(). |
| 1133 # This is off by default in some gccs but on by default in others. | 1133 # This is off by default in some gccs but on by default in others. |
| 1134 # Currently this option is not set for Chrome OS build because | 1134 # Currently this option is not set for Chrome OS build because |
| 1135 # the current version of gcc (4.3.4) used for building Chrome in | 1135 # the current version of gcc (4.3.4) used for building Chrome in |
| 1136 # Chrome OS chroot doesn't support this option. | 1136 # Chrome OS chroot doesn't support this option. |
| 1137 # TODO(mazda): remove the conditional for Chrome OS when gcc | 1137 # TODO(mazda): remove the conditional for Chrome OS when gcc |
| 1138 # version is upgraded. | 1138 # version is upgraded. |
| 1139 '-Wno-unused-result', | 1139 '-Wno-unused-result', |
| 1140 ], | 1140 ], |
| (...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2520 # settings in target dicts. SYMROOT is a special case, because many other | 2520 # settings in target dicts. SYMROOT is a special case, because many other |
| 2521 # Xcode variables depend on it, including variables such as | 2521 # Xcode variables depend on it, including variables such as |
| 2522 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2522 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2523 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2523 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2524 # files to appear (when present) in the UI as actual files and not red | 2524 # files to appear (when present) in the UI as actual files and not red |
| 2525 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2525 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2526 # and therefore SYMROOT, needs to be set at the project level. | 2526 # and therefore SYMROOT, needs to be set at the project level. |
| 2527 'SYMROOT': '<(DEPTH)/xcodebuild', | 2527 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2528 }, | 2528 }, |
| 2529 } | 2529 } |
| OLD | NEW |