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 2560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2571 }, | 2571 }, |
2572 'includes': [ 'set_clang_warning_flags.gypi', ], | 2572 'includes': [ 'set_clang_warning_flags.gypi', ], |
2573 'defines': [ | 2573 'defines': [ |
2574 # Don't use deprecated V8 APIs anywhere. | 2574 # Don't use deprecated V8 APIs anywhere. |
2575 'V8_DEPRECATION_WARNINGS', | 2575 'V8_DEPRECATION_WARNINGS', |
2576 ], | 2576 ], |
2577 'include_dirs': [ | 2577 'include_dirs': [ |
2578 '<(SHARED_INTERMEDIATE_DIR)', | 2578 '<(SHARED_INTERMEDIATE_DIR)', |
2579 ], | 2579 ], |
2580 'conditions': [ | 2580 'conditions': [ |
| 2581 ['OS=="mac"', { |
| 2582 # When compiling Objective C, warns if a method is used whose |
| 2583 # availability is newer than the deployment target. |
| 2584 'xcode_settings': { 'WARNING_CFLAGS': ['-Wpartial-availability']}, |
| 2585 }], |
2581 ['(OS=="mac" or OS=="ios") and asan==1', { | 2586 ['(OS=="mac" or OS=="ios") and asan==1', { |
2582 'dependencies': [ | 2587 'dependencies': [ |
2583 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', | 2588 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', |
2584 ], | 2589 ], |
2585 }], | 2590 }], |
2586 ['OS=="win" and asan==1 and component=="shared_library"', { | 2591 ['OS=="win" and asan==1 and component=="shared_library"', { |
2587 'dependencies': [ | 2592 'dependencies': [ |
2588 '<(DEPTH)/build/win/asan.gyp:asan_dynamic_runtime', | 2593 '<(DEPTH)/build/win/asan.gyp:asan_dynamic_runtime', |
2589 ], | 2594 ], |
2590 }], | 2595 }], |
(...skipping 3595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6186 # settings in target dicts. SYMROOT is a special case, because many other | 6191 # settings in target dicts. SYMROOT is a special case, because many other |
6187 # Xcode variables depend on it, including variables such as | 6192 # Xcode variables depend on it, including variables such as |
6188 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6193 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6189 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6194 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6190 # files to appear (when present) in the UI as actual files and not red | 6195 # files to appear (when present) in the UI as actual files and not red |
6191 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6196 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6192 # and therefore SYMROOT, needs to be set at the project level. | 6197 # and therefore SYMROOT, needs to be set at the project level. |
6193 'SYMROOT': '<(DEPTH)/xcodebuild', | 6198 'SYMROOT': '<(DEPTH)/xcodebuild', |
6194 }, | 6199 }, |
6195 } | 6200 } |
OLD | NEW |