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 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 | 1343 |
1344 # The default type of gtest. | 1344 # The default type of gtest. |
1345 'gtest_target_type%': 'executable', | 1345 'gtest_target_type%': 'executable', |
1346 | 1346 |
1347 # Enable sampling based profiler. | 1347 # Enable sampling based profiler. |
1348 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 1348 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
1349 'profiling%': '0', | 1349 'profiling%': '0', |
1350 # Profile without optimizing out stack frames when profiling==1. | 1350 # Profile without optimizing out stack frames when profiling==1. |
1351 'profiling_full_stack_frames%': '0', | 1351 'profiling_full_stack_frames%': '0', |
1352 | 1352 |
| 1353 # Enable automatic leak detector. |
| 1354 'leak_detector%': 0, |
| 1355 |
1353 # And if we want to dump symbols for Breakpad-enabled builds. | 1356 # And if we want to dump symbols for Breakpad-enabled builds. |
1354 'linux_dump_symbols%': 0, | 1357 'linux_dump_symbols%': 0, |
1355 # And if we want to strip the binary after dumping symbols. | 1358 # And if we want to strip the binary after dumping symbols. |
1356 'linux_strip_binary%': 0, | 1359 'linux_strip_binary%': 0, |
1357 # If we want stack unwind support for backtrace(). | 1360 # If we want stack unwind support for backtrace(). |
1358 'debug_unwind_tables%': 1, | 1361 'debug_unwind_tables%': 1, |
1359 'release_unwind_tables%': 1, | 1362 'release_unwind_tables%': 1, |
1360 | 1363 |
1361 # Override where to find binutils | 1364 # Override where to find binutils |
1362 'binutils_version%': 0, | 1365 'binutils_version%': 0, |
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2689 }], | 2692 }], |
2690 ['enable_pre_sync_backup==1', { | 2693 ['enable_pre_sync_backup==1', { |
2691 'defines': ['ENABLE_PRE_SYNC_BACKUP'], | 2694 'defines': ['ENABLE_PRE_SYNC_BACKUP'], |
2692 }], | 2695 }], |
2693 ['image_loader_extension==1', { | 2696 ['image_loader_extension==1', { |
2694 'defines': ['IMAGE_LOADER_EXTENSION=1'], | 2697 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
2695 }], | 2698 }], |
2696 ['profiling==1', { | 2699 ['profiling==1', { |
2697 'defines': ['ENABLE_PROFILING=1'], | 2700 'defines': ['ENABLE_PROFILING=1'], |
2698 }], | 2701 }], |
| 2702 ['leak_detector==1 and chromeos==1', { |
| 2703 'defines': ['ENABLE_LEAK_DETECTOR=1'], |
| 2704 }], |
2699 ['remoting==1', { | 2705 ['remoting==1', { |
2700 'defines': ['ENABLE_REMOTING=1'], | 2706 'defines': ['ENABLE_REMOTING=1'], |
2701 }], | 2707 }], |
2702 ['enable_webrtc==1', { | 2708 ['enable_webrtc==1', { |
2703 'defines': ['ENABLE_WEBRTC=1'], | 2709 'defines': ['ENABLE_WEBRTC=1'], |
2704 }], | 2710 }], |
2705 ['proprietary_codecs==1', { | 2711 ['proprietary_codecs==1', { |
2706 'defines': ['USE_PROPRIETARY_CODECS'], | 2712 'defines': ['USE_PROPRIETARY_CODECS'], |
2707 'conditions': [ | 2713 'conditions': [ |
2708 ['enable_mpeg2ts_stream_parser==1', { | 2714 ['enable_mpeg2ts_stream_parser==1', { |
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3746 'ldflags': [ | 3752 'ldflags': [ |
3747 # Warn in case of text relocations. | 3753 # Warn in case of text relocations. |
3748 '-Wl,--warn-shared-textrel', | 3754 '-Wl,--warn-shared-textrel', |
3749 ], | 3755 ], |
3750 }], | 3756 }], |
3751 ['OS=="android"', { | 3757 ['OS=="android"', { |
3752 'variables': { | 3758 'variables': { |
3753 'release_optimize%': 's', | 3759 'release_optimize%': 's', |
3754 }, | 3760 }, |
3755 }], | 3761 }], |
| 3762 ['leak_detector==1 and chromeos==1', { |
| 3763 'cflags': [ |
| 3764 '-fno-omit-frame-pointer', |
| 3765 '-g', |
| 3766 ], |
| 3767 }], |
3756 ['profiling==1', { | 3768 ['profiling==1', { |
3757 'cflags': [ | 3769 'cflags': [ |
3758 '-fno-omit-frame-pointer', | 3770 '-fno-omit-frame-pointer', |
3759 '-g', | 3771 '-g', |
3760 ], | 3772 ], |
3761 'conditions' : [ | 3773 'conditions' : [ |
3762 ['profiling_full_stack_frames==1', { | 3774 ['profiling_full_stack_frames==1', { |
3763 'cflags': [ | 3775 'cflags': [ |
3764 '-fno-inline', | 3776 '-fno-inline', |
3765 '-fno-optimize-sibling-calls', | 3777 '-fno-optimize-sibling-calls', |
(...skipping 2327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6093 # settings in target dicts. SYMROOT is a special case, because many other | 6105 # settings in target dicts. SYMROOT is a special case, because many other |
6094 # Xcode variables depend on it, including variables such as | 6106 # Xcode variables depend on it, including variables such as |
6095 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6107 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6096 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6108 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6097 # files to appear (when present) in the UI as actual files and not red | 6109 # files to appear (when present) in the UI as actual files and not red |
6098 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6110 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6099 # and therefore SYMROOT, needs to be set at the project level. | 6111 # and therefore SYMROOT, needs to be set at the project level. |
6100 'SYMROOT': '<(DEPTH)/xcodebuild', | 6112 'SYMROOT': '<(DEPTH)/xcodebuild', |
6101 }, | 6113 }, |
6102 } | 6114 } |
OLD | NEW |