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 3356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3367 # These should end with %, but there seems to be a bug with % in | 3367 # These should end with %, but there seems to be a bug with % in |
3368 # variables that are intended to be set to different values in | 3368 # variables that are intended to be set to different values in |
3369 # different targets, like these. | 3369 # different targets, like these. |
3370 'mac_pie': 1, # Most executables can be position-independent. | 3370 'mac_pie': 1, # Most executables can be position-independent. |
3371 # Strip debugging symbols from the target. | 3371 # Strip debugging symbols from the target. |
3372 'mac_strip': '<(mac_strip_release)', | 3372 'mac_strip': '<(mac_strip_release)', |
3373 'conditions': [ | 3373 'conditions': [ |
3374 ['asan==1', { | 3374 ['asan==1', { |
3375 'conditions': [ | 3375 'conditions': [ |
3376 ['mac_want_real_dsym=="default"', { | 3376 ['mac_want_real_dsym=="default"', { |
3377 'mac_real_dsym': 1, | 3377 # TODO(glider): use real dSYM files for ASan once |
| 3378 # http://crbug.com/166857 is fixed. |
| 3379 'mac_real_dsym': 0, |
3378 }, { | 3380 }, { |
3379 'mac_real_dsym': '<(mac_want_real_dsym)' | 3381 'mac_real_dsym': '<(mac_want_real_dsym)' |
3380 }], | 3382 }], |
3381 ], | 3383 ], |
3382 }, { | 3384 }, { |
3383 'conditions': [ | 3385 'conditions': [ |
3384 ['mac_want_real_dsym=="default"', { | 3386 ['mac_want_real_dsym=="default"', { |
3385 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. | 3387 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. |
3386 }, { | 3388 }, { |
3387 'mac_real_dsym': '<(mac_want_real_dsym)' | 3389 'mac_real_dsym': '<(mac_want_real_dsym)' |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3944 # settings in target dicts. SYMROOT is a special case, because many other | 3946 # settings in target dicts. SYMROOT is a special case, because many other |
3945 # Xcode variables depend on it, including variables such as | 3947 # Xcode variables depend on it, including variables such as |
3946 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3948 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3947 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3949 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3948 # files to appear (when present) in the UI as actual files and not red | 3950 # files to appear (when present) in the UI as actual files and not red |
3949 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3951 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3950 # and therefore SYMROOT, needs to be set at the project level. | 3952 # and therefore SYMROOT, needs to be set at the project level. |
3951 'SYMROOT': '<(DEPTH)/xcodebuild', | 3953 'SYMROOT': '<(DEPTH)/xcodebuild', |
3952 }, | 3954 }, |
3953 } | 3955 } |
OLD | NEW |