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 3543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3554 }, | 3554 }, |
3555 'defines': [ | 3555 'defines': [ |
3556 '_DEBUG', | 3556 '_DEBUG', |
3557 ], | 3557 ], |
3558 'cflags': [ | 3558 'cflags': [ |
3559 '-O>(debug_optimize)', | 3559 '-O>(debug_optimize)', |
3560 '-g', | 3560 '-g', |
3561 '-gdwarf-4', | 3561 '-gdwarf-4', |
3562 ], | 3562 ], |
3563 'conditions' : [ | 3563 'conditions' : [ |
3564 ['fastbuild==0', { | |
3565 'cflags': [ | |
3566 '-fvar-tracking-assignments', '-fvar-tracking', | |
Lei Zhang
2014/09/23 23:58:05
Do we need to explicitly pass -fvar-tracking? The
| |
3567 ], | |
3568 }], | |
3564 ['OS=="android"', { | 3569 ['OS=="android"', { |
3565 'ldflags': [ | 3570 'ldflags': [ |
3566 # Warn in case of text relocations. | 3571 # Warn in case of text relocations. |
3567 '-Wl,--warn-shared-textrel', | 3572 '-Wl,--warn-shared-textrel', |
3568 ], | 3573 ], |
3569 }], | 3574 }], |
3570 ['OS=="android" and android_full_debug==0', { | 3575 ['OS=="android" and android_full_debug==0', { |
3571 # Some configurations are copied from Release_Base to reduce | 3576 # Some configurations are copied from Release_Base to reduce |
3572 # the binary size. | 3577 # the binary size. |
3573 'variables': { | 3578 'variables': { |
(...skipping 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5779 # settings in target dicts. SYMROOT is a special case, because many other | 5784 # settings in target dicts. SYMROOT is a special case, because many other |
5780 # Xcode variables depend on it, including variables such as | 5785 # Xcode variables depend on it, including variables such as |
5781 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5786 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5782 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5787 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5783 # files to appear (when present) in the UI as actual files and not red | 5788 # files to appear (when present) in the UI as actual files and not red |
5784 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5789 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5785 # and therefore SYMROOT, needs to be set at the project level. | 5790 # and therefore SYMROOT, needs to be set at the project level. |
5786 'SYMROOT': '<(DEPTH)/xcodebuild', | 5791 'SYMROOT': '<(DEPTH)/xcodebuild', |
5787 }, | 5792 }, |
5788 } | 5793 } |
OLD | NEW |