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 3201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3212 'conditions': [ | 3212 'conditions': [ |
3213 ['buildtype=="Official"', { | 3213 ['buildtype=="Official"', { |
3214 'xcode_settings': { | 3214 'xcode_settings': { |
3215 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror | 3215 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror |
3216 }, | 3216 }, |
3217 }], | 3217 }], |
3218 ], | 3218 ], |
3219 }], | 3219 }], |
3220 [ 'OS=="ios"', { | 3220 [ 'OS=="ios"', { |
3221 'xcode_settings': { | 3221 'xcode_settings': { |
3222 # TODO(ios): Fix remaining warnings in third-party code, then | |
3223 # remove this; the Mac cleanup didn't get everything that's | |
3224 # flagged in an iOS build. | |
3225 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', | |
3226 'RUN_CLANG_STATIC_ANALYZER': 'NO', | 3222 'RUN_CLANG_STATIC_ANALYZER': 'NO', |
3227 # Several internal ios directories generate numerous warnings for | 3223 # Several internal ios directories generate numerous warnings for |
3228 # -Wobjc-missing-property-synthesis. | 3224 # -Wobjc-missing-property-synthesis. |
3229 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', | 3225 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'NO', |
3230 }, | 3226 }, |
3231 }], | 3227 }], |
3232 ], | 3228 ], |
3233 }, { | 3229 }, { |
3234 'includes': [ | 3230 'includes': [ |
3235 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. | 3231 # Rules for excluding e.g. foo_win.cc from the build on non-Windows. |
(...skipping 3187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6423 # settings in target dicts. SYMROOT is a special case, because many other | 6419 # settings in target dicts. SYMROOT is a special case, because many other |
6424 # Xcode variables depend on it, including variables such as | 6420 # Xcode variables depend on it, including variables such as |
6425 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6421 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6426 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6422 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6427 # files to appear (when present) in the UI as actual files and not red | 6423 # files to appear (when present) in the UI as actual files and not red |
6428 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6424 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6429 # and therefore SYMROOT, needs to be set at the project level. | 6425 # and therefore SYMROOT, needs to be set at the project level. |
6430 'SYMROOT': '<(DEPTH)/xcodebuild', | 6426 'SYMROOT': '<(DEPTH)/xcodebuild', |
6431 }, | 6427 }, |
6432 } | 6428 } |
OLD | NEW |