OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 # Don't warn about printf format problems. | 1273 # Don't warn about printf format problems. |
1274 # This is off by default in gcc but on in Ubuntu's gcc(!). | 1274 # This is off by default in gcc but on in Ubuntu's gcc(!). |
1275 '-Wno-format', | 1275 '-Wno-format', |
1276 ], | 1276 ], |
1277 'cflags_cc!': [ | 1277 'cflags_cc!': [ |
1278 # TODO(fischman): remove this. | 1278 # TODO(fischman): remove this. |
1279 # http://code.google.com/p/chromium/issues/detail?id=90453 | 1279 # http://code.google.com/p/chromium/issues/detail?id=90453 |
1280 '-Wsign-compare', | 1280 '-Wsign-compare', |
1281 ] | 1281 ] |
1282 }], | 1282 }], |
1283 [ 'os_posix==1 and os_bsd!=1 and OS!="mac" and OS!="android" and chrom
eos==0', { | 1283 [ 'os_posix==1 and os_bsd!=1 and OS!="mac" and OS!="android"', { |
1284 'cflags': [ | 1284 'cflags': [ |
1285 # Don't warn about ignoring the return value from e.g. close(). | 1285 # Don't warn about ignoring the return value from e.g. close(). |
1286 # This is off by default in some gccs but on by default in others. | 1286 # This is off by default in some gccs but on by default in others. |
1287 # Currently this option is not set for Chrome OS build because | 1287 # BSD systems do not support this option, since they are usually |
1288 # the current version of gcc (4.3.4) used for building Chrome in | 1288 # using gcc 4.2.1, which does not have this flag yet. |
1289 # Chrome OS chroot doesn't support this option. | |
1290 # BSD systems do not support this option either, since they are | |
1291 # usually using gcc 4.2.1, which does not have this flag yet. | |
1292 # TODO(mazda): remove the conditional for Chrome OS when gcc | |
1293 # version is upgraded. | |
1294 '-Wno-unused-result', | 1289 '-Wno-unused-result', |
1295 ], | 1290 ], |
1296 }], | 1291 }], |
1297 [ 'OS=="win"', { | 1292 [ 'OS=="win"', { |
1298 'defines': [ | 1293 'defines': [ |
1299 '_CRT_SECURE_NO_DEPRECATE', | 1294 '_CRT_SECURE_NO_DEPRECATE', |
1300 '_CRT_NONSTDC_NO_WARNINGS', | 1295 '_CRT_NONSTDC_NO_WARNINGS', |
1301 '_CRT_NONSTDC_NO_DEPRECATE', | 1296 '_CRT_NONSTDC_NO_DEPRECATE', |
1302 '_SCL_SECURE_NO_DEPRECATE', | 1297 '_SCL_SECURE_NO_DEPRECATE', |
1303 ], | 1298 ], |
(...skipping 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2806 # settings in target dicts. SYMROOT is a special case, because many other | 2801 # settings in target dicts. SYMROOT is a special case, because many other |
2807 # Xcode variables depend on it, including variables such as | 2802 # Xcode variables depend on it, including variables such as |
2808 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2803 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2809 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2804 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2810 # files to appear (when present) in the UI as actual files and not red | 2805 # files to appear (when present) in the UI as actual files and not red |
2811 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2806 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2812 # and therefore SYMROOT, needs to be set at the project level. | 2807 # and therefore SYMROOT, needs to be set at the project level. |
2813 'SYMROOT': '<(DEPTH)/xcodebuild', | 2808 'SYMROOT': '<(DEPTH)/xcodebuild', |
2814 }, | 2809 }, |
2815 } | 2810 } |
OLD | NEW |