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 1381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1392 | 1392 |
1393 # The default type of gtest. | 1393 # The default type of gtest. |
1394 'gtest_target_type%': 'executable', | 1394 'gtest_target_type%': 'executable', |
1395 | 1395 |
1396 # Enable sampling based profiler. | 1396 # Enable sampling based profiler. |
1397 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 1397 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
1398 'profiling%': '0', | 1398 'profiling%': '0', |
1399 # Profile without optimizing out stack frames when profiling==1. | 1399 # Profile without optimizing out stack frames when profiling==1. |
1400 'profiling_full_stack_frames%': '0', | 1400 'profiling_full_stack_frames%': '0', |
1401 | 1401 |
1402 # Enable runtime memory leak detector. | |
1403 'enable_leak_detector%': 0, | |
1404 | |
1402 # And if we want to dump symbols for Breakpad-enabled builds. | 1405 # And if we want to dump symbols for Breakpad-enabled builds. |
1403 'linux_dump_symbols%': 0, | 1406 'linux_dump_symbols%': 0, |
1404 # And if we want to strip the binary after dumping symbols. | 1407 # And if we want to strip the binary after dumping symbols. |
1405 'linux_strip_binary%': 0, | 1408 'linux_strip_binary%': 0, |
1406 # If we want stack unwind support for backtrace(). | 1409 # If we want stack unwind support for backtrace(). |
1407 'debug_unwind_tables%': 1, | 1410 'debug_unwind_tables%': 1, |
1408 'release_unwind_tables%': 1, | 1411 'release_unwind_tables%': 1, |
1409 | 1412 |
1410 # Override where to find binutils | 1413 # Override where to find binutils |
1411 'binutils_version%': 0, | 1414 'binutils_version%': 0, |
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2753 }], | 2756 }], |
2754 ['enable_pre_sync_backup==1', { | 2757 ['enable_pre_sync_backup==1', { |
2755 'defines': ['ENABLE_PRE_SYNC_BACKUP'], | 2758 'defines': ['ENABLE_PRE_SYNC_BACKUP'], |
2756 }], | 2759 }], |
2757 ['image_loader_extension==1', { | 2760 ['image_loader_extension==1', { |
2758 'defines': ['IMAGE_LOADER_EXTENSION=1'], | 2761 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
2759 }], | 2762 }], |
2760 ['profiling==1', { | 2763 ['profiling==1', { |
2761 'defines': ['ENABLE_PROFILING=1'], | 2764 'defines': ['ENABLE_PROFILING=1'], |
2762 }], | 2765 }], |
2766 ['enable_leak_detector==1 and chromeos==1', { | |
2767 'defines': ['ENABLE_LEAK_DETECTOR=1'], | |
2768 }], | |
2769 ['remoting==1', { | |
2770 'defines': ['ENABLE_REMOTING=1'], | |
Will Harris
2015/09/26 05:09:06
driveby: this looks like a confused rebase?
Simon Que
2015/09/26 21:48:33
Done.
| |
2771 }], | |
2763 ['enable_webrtc==1', { | 2772 ['enable_webrtc==1', { |
2764 'defines': ['ENABLE_WEBRTC=1'], | 2773 'defines': ['ENABLE_WEBRTC=1'], |
2765 }], | 2774 }], |
2766 ['enable_media_router==1', { | 2775 ['enable_media_router==1', { |
2767 'defines': ['ENABLE_MEDIA_ROUTER=1'], | 2776 'defines': ['ENABLE_MEDIA_ROUTER=1'], |
2768 }], | 2777 }], |
2769 ['proprietary_codecs==1', { | 2778 ['proprietary_codecs==1', { |
2770 'defines': ['USE_PROPRIETARY_CODECS'], | 2779 'defines': ['USE_PROPRIETARY_CODECS'], |
2771 'conditions': [ | 2780 'conditions': [ |
2772 ['enable_mpeg2ts_stream_parser==1', { | 2781 ['enable_mpeg2ts_stream_parser==1', { |
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3886 'ldflags': [ | 3895 'ldflags': [ |
3887 # Warn in case of text relocations. | 3896 # Warn in case of text relocations. |
3888 '-Wl,--warn-shared-textrel', | 3897 '-Wl,--warn-shared-textrel', |
3889 ], | 3898 ], |
3890 }], | 3899 }], |
3891 ['OS=="android"', { | 3900 ['OS=="android"', { |
3892 'variables': { | 3901 'variables': { |
3893 'release_optimize%': 's', | 3902 'release_optimize%': 's', |
3894 }, | 3903 }, |
3895 }], | 3904 }], |
3905 ['enable_leak_detector==1 and chromeos==1', { | |
3906 'cflags': [ | |
3907 '-fno-omit-frame-pointer', | |
3908 ], | |
3909 }], | |
3896 ['profiling==1', { | 3910 ['profiling==1', { |
3897 'cflags': [ | 3911 'cflags': [ |
3898 '-fno-omit-frame-pointer', | 3912 '-fno-omit-frame-pointer', |
3899 '-g', | 3913 '-g', |
3900 ], | 3914 ], |
3901 'conditions' : [ | 3915 'conditions' : [ |
3902 ['profiling_full_stack_frames==1', { | 3916 ['profiling_full_stack_frames==1', { |
3903 'cflags': [ | 3917 'cflags': [ |
3904 '-fno-inline', | 3918 '-fno-inline', |
3905 '-fno-optimize-sibling-calls', | 3919 '-fno-optimize-sibling-calls', |
(...skipping 2427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6333 # settings in target dicts. SYMROOT is a special case, because many other | 6347 # settings in target dicts. SYMROOT is a special case, because many other |
6334 # Xcode variables depend on it, including variables such as | 6348 # Xcode variables depend on it, including variables such as |
6335 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6349 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6336 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6350 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6337 # files to appear (when present) in the UI as actual files and not red | 6351 # files to appear (when present) in the UI as actual files and not red |
6338 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6352 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6339 # and therefore SYMROOT, needs to be set at the project level. | 6353 # and therefore SYMROOT, needs to be set at the project level. |
6340 'SYMROOT': '<(DEPTH)/xcodebuild', | 6354 'SYMROOT': '<(DEPTH)/xcodebuild', |
6341 }, | 6355 }, |
6342 } | 6356 } |
OLD | NEW |