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 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1357 | 1357 |
1358 # The default type of gtest. | 1358 # The default type of gtest. |
1359 'gtest_target_type%': 'executable', | 1359 'gtest_target_type%': 'executable', |
1360 | 1360 |
1361 # Enable sampling based profiler. | 1361 # Enable sampling based profiler. |
1362 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 1362 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
1363 'profiling%': '0', | 1363 'profiling%': '0', |
1364 # Profile without optimizing out stack frames when profiling==1. | 1364 # Profile without optimizing out stack frames when profiling==1. |
1365 'profiling_full_stack_frames%': '0', | 1365 'profiling_full_stack_frames%': '0', |
1366 | 1366 |
1367 # Enable automatic leak detector. | |
1368 'leak_detector%': 0, | |
1369 | |
1367 # And if we want to dump symbols for Breakpad-enabled builds. | 1370 # And if we want to dump symbols for Breakpad-enabled builds. |
1368 'linux_dump_symbols%': 0, | 1371 'linux_dump_symbols%': 0, |
1369 # And if we want to strip the binary after dumping symbols. | 1372 # And if we want to strip the binary after dumping symbols. |
1370 'linux_strip_binary%': 0, | 1373 'linux_strip_binary%': 0, |
1371 # If we want stack unwind support for backtrace(). | 1374 # If we want stack unwind support for backtrace(). |
1372 'debug_unwind_tables%': 1, | 1375 'debug_unwind_tables%': 1, |
1373 'release_unwind_tables%': 1, | 1376 'release_unwind_tables%': 1, |
1374 | 1377 |
1375 # Override where to find binutils | 1378 # Override where to find binutils |
1376 'binutils_version%': 0, | 1379 'binutils_version%': 0, |
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2700 }], | 2703 }], |
2701 ['enable_pre_sync_backup==1', { | 2704 ['enable_pre_sync_backup==1', { |
2702 'defines': ['ENABLE_PRE_SYNC_BACKUP'], | 2705 'defines': ['ENABLE_PRE_SYNC_BACKUP'], |
2703 }], | 2706 }], |
2704 ['image_loader_extension==1', { | 2707 ['image_loader_extension==1', { |
2705 'defines': ['IMAGE_LOADER_EXTENSION=1'], | 2708 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
2706 }], | 2709 }], |
2707 ['profiling==1', { | 2710 ['profiling==1', { |
2708 'defines': ['ENABLE_PROFILING=1'], | 2711 'defines': ['ENABLE_PROFILING=1'], |
2709 }], | 2712 }], |
2713 ['leak_detector==1 and chromeos==1', { | |
2714 'defines': ['ENABLE_LEAK_DETECTOR=1'], | |
2715 }], | |
2710 ['remoting==1', { | 2716 ['remoting==1', { |
2711 'defines': ['ENABLE_REMOTING=1'], | 2717 'defines': ['ENABLE_REMOTING=1'], |
2712 }], | 2718 }], |
2713 ['enable_webrtc==1', { | 2719 ['enable_webrtc==1', { |
2714 'defines': ['ENABLE_WEBRTC=1'], | 2720 'defines': ['ENABLE_WEBRTC=1'], |
2715 }], | 2721 }], |
2716 ['enable_media_router==1', { | 2722 ['enable_media_router==1', { |
2717 'defines': ['ENABLE_MEDIA_ROUTER=1'], | 2723 'defines': ['ENABLE_MEDIA_ROUTER=1'], |
2718 }], | 2724 }], |
2719 ['proprietary_codecs==1', { | 2725 ['proprietary_codecs==1', { |
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3808 'ldflags': [ | 3814 'ldflags': [ |
3809 # Warn in case of text relocations. | 3815 # Warn in case of text relocations. |
3810 '-Wl,--warn-shared-textrel', | 3816 '-Wl,--warn-shared-textrel', |
3811 ], | 3817 ], |
3812 }], | 3818 }], |
3813 ['OS=="android"', { | 3819 ['OS=="android"', { |
3814 'variables': { | 3820 'variables': { |
3815 'release_optimize%': 's', | 3821 'release_optimize%': 's', |
3816 }, | 3822 }, |
3817 }], | 3823 }], |
3824 ['leak_detector==1 and chromeos==1', { | |
3825 'cflags': [ | |
3826 '-fno-omit-frame-pointer', | |
3827 '-g', | |
Nico
2015/07/16 19:31:24
Including full debug symbols in all chromeos build
Simon Que
2015/07/16 21:15:08
The '-g' isn't necessary; I'm getting rid of it.
| |
3828 ], | |
3829 }], | |
3818 ['profiling==1', { | 3830 ['profiling==1', { |
3819 'cflags': [ | 3831 'cflags': [ |
3820 '-fno-omit-frame-pointer', | 3832 '-fno-omit-frame-pointer', |
3821 '-g', | 3833 '-g', |
3822 ], | 3834 ], |
3823 'conditions' : [ | 3835 'conditions' : [ |
3824 ['profiling_full_stack_frames==1', { | 3836 ['profiling_full_stack_frames==1', { |
3825 'cflags': [ | 3837 'cflags': [ |
3826 '-fno-inline', | 3838 '-fno-inline', |
3827 '-fno-optimize-sibling-calls', | 3839 '-fno-optimize-sibling-calls', |
(...skipping 2369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6197 # settings in target dicts. SYMROOT is a special case, because many other | 6209 # settings in target dicts. SYMROOT is a special case, because many other |
6198 # Xcode variables depend on it, including variables such as | 6210 # Xcode variables depend on it, including variables such as |
6199 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6211 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6200 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6212 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6201 # files to appear (when present) in the UI as actual files and not red | 6213 # files to appear (when present) in the UI as actual files and not red |
6202 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6214 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6203 # and therefore SYMROOT, needs to be set at the project level. | 6215 # and therefore SYMROOT, needs to be set at the project level. |
6204 'SYMROOT': '<(DEPTH)/xcodebuild', | 6216 'SYMROOT': '<(DEPTH)/xcodebuild', |
6205 }, | 6217 }, |
6206 } | 6218 } |
OLD | NEW |