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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 1597 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
1598 }, | 1598 }, |
1599 }, { # else: OS != "win", generate less debug information. | 1599 }, { # else: OS != "win", generate less debug information. |
1600 'variables': { | 1600 'variables': { |
1601 'debug_extra_cflags': '-g1', | 1601 'debug_extra_cflags': '-g1', |
1602 }, | 1602 }, |
1603 }], | 1603 }], |
1604 # Clang creates chubby debug information, which makes linking very | 1604 # Clang creates chubby debug information, which makes linking very |
1605 # slow. For now, don't create debug information with clang. See | 1605 # slow. For now, don't create debug information with clang. See |
1606 # http://crbug.com/70000 | 1606 # http://crbug.com/70000 |
1607 ['OS=="linux" and clang==1', { | 1607 ['(OS=="linux" or OS=="android") and clang==1', { |
1608 'variables': { | 1608 'variables': { |
1609 'debug_extra_cflags': '-g0', | 1609 'debug_extra_cflags': '-g0', |
1610 }, | 1610 }, |
1611 }], | 1611 }], |
1612 ], # conditions for fastbuild. | 1612 ], # conditions for fastbuild. |
1613 }], # fastbuild!=0 | 1613 }], # fastbuild!=0 |
1614 ['dcheck_always_on!=0', { | 1614 ['dcheck_always_on!=0', { |
1615 'defines': ['DCHECK_ALWAYS_ON=1'], | 1615 'defines': ['DCHECK_ALWAYS_ON=1'], |
1616 }], # dcheck_always_on!=0 | 1616 }], # dcheck_always_on!=0 |
1617 ['selinux==1', { | 1617 ['selinux==1', { |
(...skipping 1988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3606 # settings in target dicts. SYMROOT is a special case, because many other | 3606 # settings in target dicts. SYMROOT is a special case, because many other |
3607 # Xcode variables depend on it, including variables such as | 3607 # Xcode variables depend on it, including variables such as |
3608 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3608 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3609 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3609 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3610 # files to appear (when present) in the UI as actual files and not red | 3610 # files to appear (when present) in the UI as actual files and not red |
3611 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3611 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3612 # and therefore SYMROOT, needs to be set at the project level. | 3612 # and therefore SYMROOT, needs to be set at the project level. |
3613 'SYMROOT': '<(DEPTH)/xcodebuild', | 3613 'SYMROOT': '<(DEPTH)/xcodebuild', |
3614 }, | 3614 }, |
3615 } | 3615 } |
OLD | NEW |