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