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 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1107 }], | 1107 }], |
1108 ['enable_web_intents==1', { | 1108 ['enable_web_intents==1', { |
1109 'defines': [ | 1109 'defines': [ |
1110 'ENABLE_WEB_INTENTS=1', | 1110 'ENABLE_WEB_INTENTS=1', |
1111 ], | 1111 ], |
1112 }], | 1112 }], |
1113 ], # conditions for 'target_defaults' | 1113 ], # conditions for 'target_defaults' |
1114 'target_conditions': [ | 1114 'target_conditions': [ |
1115 ['chromium_code==0', { | 1115 ['chromium_code==0', { |
1116 'conditions': [ | 1116 'conditions': [ |
1117 [ 'os_posix==1 and OS!="mac"', { | 1117 [ 'os_posix==1 and OS!="mac" and OS!="openbsd"', { |
Mark Mentovai
2011/10/12 19:13:48
You haven’t changed this or responded to my commen
| |
1118 # We don't want to get warnings from third-party code, | 1118 # We don't want to get warnings from third-party code, |
1119 # so remove any existing warning-enabling flags like -Wall. | 1119 # so remove any existing warning-enabling flags like -Wall. |
1120 'cflags!': [ | 1120 'cflags!': [ |
1121 '-Wall', | 1121 '-Wall', |
1122 '-Wextra', | 1122 '-Wextra', |
1123 '-Werror', | 1123 '-Werror', |
1124 ], | 1124 ], |
1125 'cflags': [ | 1125 'cflags': [ |
1126 # Don't warn about hash_map in third-party code. | 1126 # Don't warn about hash_map in third-party code. |
1127 '-Wno-deprecated', | 1127 '-Wno-deprecated', |
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 # TODO(mazda): remove the conditional for Chrome OS when gcc | 1145 # TODO(mazda): remove the conditional for Chrome OS when gcc |
1146 # version is upgraded. | 1146 # version is upgraded. |
1147 '-Wno-unused-result', | 1147 '-Wno-unused-result', |
1148 ], | 1148 ], |
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2535 # settings in target dicts. SYMROOT is a special case, because many other | 2535 # settings in target dicts. SYMROOT is a special case, because many other |
2536 # Xcode variables depend on it, including variables such as | 2536 # Xcode variables depend on it, including variables such as |
2537 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2537 # 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 | 2538 # 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 | 2539 # 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, | 2540 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2541 # and therefore SYMROOT, needs to be set at the project level. | 2541 # and therefore SYMROOT, needs to be set at the project level. |
2542 'SYMROOT': '<(DEPTH)/xcodebuild', | 2542 'SYMROOT': '<(DEPTH)/xcodebuild', |
2543 }, | 2543 }, |
2544 } | 2544 } |
OLD | NEW |