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 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1643 'conditions': [ | 1643 'conditions': [ |
1644 ['buildtype=="Official"', { | 1644 ['buildtype=="Official"', { |
1645 'xcode_settings': { | 1645 'xcode_settings': { |
1646 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror | 1646 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror |
1647 }, | 1647 }, |
1648 }], | 1648 }], |
1649 ], | 1649 ], |
1650 }], | 1650 }], |
1651 [ 'OS=="ios"', { | 1651 [ 'OS=="ios"', { |
1652 'xcode_settings': { | 1652 'xcode_settings': { |
| 1653 # TODO(ios): Fix remaining warnings in third-party code, then |
| 1654 # remove this; the Mac cleanup didn't get everything that's |
| 1655 # flagged in an iOS build. |
| 1656 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', |
1653 'RUN_CLANG_STATIC_ANALYZER': 'NO', | 1657 'RUN_CLANG_STATIC_ANALYZER': 'NO', |
1654 }, | 1658 }, |
1655 }], | 1659 }], |
1656 ], | 1660 ], |
1657 }, { | 1661 }, { |
1658 'includes': [ | 1662 'includes': [ |
1659 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. | 1663 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. |
1660 'filename_rules.gypi', | 1664 'filename_rules.gypi', |
1661 ], | 1665 ], |
1662 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the | 1666 # In Chromium code, we define __STDC_FORMAT_MACROS in order to get the |
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3292 # settings in target dicts. SYMROOT is a special case, because many other | 3296 # settings in target dicts. SYMROOT is a special case, because many other |
3293 # Xcode variables depend on it, including variables such as | 3297 # Xcode variables depend on it, including variables such as |
3294 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3298 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3295 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3299 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3296 # files to appear (when present) in the UI as actual files and not red | 3300 # files to appear (when present) in the UI as actual files and not red |
3297 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3301 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3298 # and therefore SYMROOT, needs to be set at the project level. | 3302 # and therefore SYMROOT, needs to be set at the project level. |
3299 'SYMROOT': '<(DEPTH)/xcodebuild', | 3303 'SYMROOT': '<(DEPTH)/xcodebuild', |
3300 }, | 3304 }, |
3301 } | 3305 } |
OLD | NEW |