OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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': { | 9 'variables': { |
10 # .gyp files or targets should set chromium_code to 1 if they build | 10 # .gyp files or targets should set chromium_code to 1 if they build |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 }, | 918 }, |
919 'defines': [ | 919 'defines': [ |
920 '_DEBUG', | 920 '_DEBUG', |
921 ], | 921 ], |
922 'cflags': [ | 922 'cflags': [ |
923 '-O>(debug_optimize)', | 923 '-O>(debug_optimize)', |
924 '-g', | 924 '-g', |
925 # One can use '-gstabs' to enable building the debugging | 925 # One can use '-gstabs' to enable building the debugging |
926 # information in STABS format for breakpad's dumpsyms. | 926 # information in STABS format for breakpad's dumpsyms. |
927 ], | 927 ], |
928 'ldflags': [ | |
929 '-rdynamic', # Allows backtrace to resolve symbols. | |
930 ], | |
931 }, | 928 }, |
932 'Release_Base': { | 929 'Release_Base': { |
933 'variables': { | 930 'variables': { |
934 'release_optimize%': '2', | 931 'release_optimize%': '2', |
935 # Binaries become big and gold is unable to perform GC | 932 # Binaries become big and gold is unable to perform GC |
936 # and remove unused sections for some of test targets | 933 # and remove unused sections for some of test targets |
937 # on 32 bit platform. | 934 # on 32 bit platform. |
938 # (This is currently observed only in chromeos valgrind bots) | 935 # (This is currently observed only in chromeos valgrind bots) |
939 # The following flag is to disable --gc-sections linker | 936 # The following flag is to disable --gc-sections linker |
940 # option for these bots. | 937 # option for these bots. |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1440 # and therefore SYMROOT, needs to be set at the project level. | 1437 # and therefore SYMROOT, needs to be set at the project level. |
1441 'SYMROOT': '<(DEPTH)/xcodebuild', | 1438 'SYMROOT': '<(DEPTH)/xcodebuild', |
1442 }, | 1439 }, |
1443 } | 1440 } |
1444 | 1441 |
1445 # Local Variables: | 1442 # Local Variables: |
1446 # tab-width:2 | 1443 # tab-width:2 |
1447 # indent-tabs-mode:nil | 1444 # indent-tabs-mode:nil |
1448 # End: | 1445 # End: |
1449 # vim: set expandtab tabstop=2 shiftwidth=2: | 1446 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |