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 3368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3379 ['debug_unwind_tables==1', { | 3379 ['debug_unwind_tables==1', { |
3380 'cflags': ['-funwind-tables'], | 3380 'cflags': ['-funwind-tables'], |
3381 }, { | 3381 }, { |
3382 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3382 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
3383 }], | 3383 }], |
3384 # TODO(mostynb): shuffle clang/gcc_version/binutils_version | 3384 # TODO(mostynb): shuffle clang/gcc_version/binutils_version |
3385 # definitions in to the right scope to use them when setting | 3385 # definitions in to the right scope to use them when setting |
3386 # linux_use_debug_fission, so it can be used here alone. | 3386 # linux_use_debug_fission, so it can be used here alone. |
3387 ['linux_use_debug_fission==1 and linux_use_gold_flags==1 and (clan
g==1 or gcc_version>=48) and binutils_version>=223', { | 3387 ['linux_use_debug_fission==1 and linux_use_gold_flags==1 and (clan
g==1 or gcc_version>=48) and binutils_version>=223', { |
3388 'cflags': ['-gsplit-dwarf'], | 3388 'cflags': ['-gsplit-dwarf'], |
3389 'ldflags': ['-Wl,--gdb-index'], | |
3390 }], | 3389 }], |
3391 ], | 3390 ], |
3392 }, | 3391 }, |
3393 'Release_Base': { | 3392 'Release_Base': { |
3394 'variables': { | 3393 'variables': { |
3395 'release_optimize%': '2', | 3394 'release_optimize%': '2', |
3396 # Binaries become big and gold is unable to perform GC | 3395 # Binaries become big and gold is unable to perform GC |
3397 # and remove unused sections for some of test targets | 3396 # and remove unused sections for some of test targets |
3398 # on 32 bit platform. | 3397 # on 32 bit platform. |
3399 # (This is currently observed only in chromeos valgrind bots) | 3398 # (This is currently observed only in chromeos valgrind bots) |
(...skipping 2060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5460 # settings in target dicts. SYMROOT is a special case, because many other | 5459 # settings in target dicts. SYMROOT is a special case, because many other |
5461 # Xcode variables depend on it, including variables such as | 5460 # Xcode variables depend on it, including variables such as |
5462 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5461 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5463 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5462 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5464 # files to appear (when present) in the UI as actual files and not red | 5463 # files to appear (when present) in the UI as actual files and not red |
5465 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5464 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5466 # and therefore SYMROOT, needs to be set at the project level. | 5465 # and therefore SYMROOT, needs to be set at the project level. |
5467 'SYMROOT': '<(DEPTH)/xcodebuild', | 5466 'SYMROOT': '<(DEPTH)/xcodebuild', |
5468 }, | 5467 }, |
5469 } | 5468 } |
OLD | NEW |