| 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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 | 1092 |
| 1093 # The default type of gtest. | 1093 # The default type of gtest. |
| 1094 'gtest_target_type%': 'executable', | 1094 'gtest_target_type%': 'executable', |
| 1095 | 1095 |
| 1096 # Enable sampling based profiler. | 1096 # Enable sampling based profiler. |
| 1097 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html | 1097 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html |
| 1098 'profiling%': '0', | 1098 'profiling%': '0', |
| 1099 # Profile without optimizing out stack frames when profiling==1. | 1099 # Profile without optimizing out stack frames when profiling==1. |
| 1100 'profiling_full_stack_frames%': '0', | 1100 'profiling_full_stack_frames%': '0', |
| 1101 | 1101 |
| 1102 # Enable strict glibc debug mode. | |
| 1103 'glibcxx_debug%': 0, | |
| 1104 # And if we want to dump symbols for Breakpad-enabled builds. | 1102 # And if we want to dump symbols for Breakpad-enabled builds. |
| 1105 'linux_dump_symbols%': 0, | 1103 'linux_dump_symbols%': 0, |
| 1106 # And if we want to strip the binary after dumping symbols. | 1104 # And if we want to strip the binary after dumping symbols. |
| 1107 'linux_strip_binary%': 0, | 1105 'linux_strip_binary%': 0, |
| 1108 # Strip the test binaries needed for Linux reliability tests. | 1106 # Strip the test binaries needed for Linux reliability tests. |
| 1109 'linux_strip_reliability_tests%': 0, | 1107 'linux_strip_reliability_tests%': 0, |
| 1110 | 1108 |
| 1111 # Enable TCMalloc. | 1109 # Enable TCMalloc. |
| 1112 'linux_use_tcmalloc%': 1, | 1110 'linux_use_tcmalloc%': 1, |
| 1113 'android_use_tcmalloc%': 0, | 1111 'android_use_tcmalloc%': 0, |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2151 }], | 2149 }], |
| 2152 ['file_manager_extension==1', { | 2150 ['file_manager_extension==1', { |
| 2153 'defines': ['FILE_MANAGER_EXTENSION=1'], | 2151 'defines': ['FILE_MANAGER_EXTENSION=1'], |
| 2154 }], | 2152 }], |
| 2155 ['image_loader_extension==1', { | 2153 ['image_loader_extension==1', { |
| 2156 'defines': ['IMAGE_LOADER_EXTENSION=1'], | 2154 'defines': ['IMAGE_LOADER_EXTENSION=1'], |
| 2157 }], | 2155 }], |
| 2158 ['profiling==1', { | 2156 ['profiling==1', { |
| 2159 'defines': ['ENABLE_PROFILING=1'], | 2157 'defines': ['ENABLE_PROFILING=1'], |
| 2160 }], | 2158 }], |
| 2161 ['OS=="linux" and glibcxx_debug==1', { | |
| 2162 'defines': ['_GLIBCXX_DEBUG=1',], | |
| 2163 'cflags_cc+': ['-g'], | |
| 2164 }], | |
| 2165 ['remoting==1', { | 2159 ['remoting==1', { |
| 2166 'defines': ['ENABLE_REMOTING=1'], | 2160 'defines': ['ENABLE_REMOTING=1'], |
| 2167 }], | 2161 }], |
| 2168 ['enable_webrtc==1', { | 2162 ['enable_webrtc==1', { |
| 2169 'defines': ['ENABLE_WEBRTC=1'], | 2163 'defines': ['ENABLE_WEBRTC=1'], |
| 2170 }], | 2164 }], |
| 2171 ['proprietary_codecs==1', { | 2165 ['proprietary_codecs==1', { |
| 2172 'defines': ['USE_PROPRIETARY_CODECS'], | 2166 'defines': ['USE_PROPRIETARY_CODECS'], |
| 2173 }], | 2167 }], |
| 2174 ['enable_viewport==1', { | 2168 ['enable_viewport==1', { |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2733 'conditions': [ | 2727 'conditions': [ |
| 2734 ['OS=="linux" or OS=="android"', { | 2728 ['OS=="linux" or OS=="android"', { |
| 2735 'target_conditions': [ | 2729 'target_conditions': [ |
| 2736 ['_toolset=="target"', { | 2730 ['_toolset=="target"', { |
| 2737 'cflags': [ | 2731 'cflags': [ |
| 2738 '<@(debug_extra_cflags)', | 2732 '<@(debug_extra_cflags)', |
| 2739 ], | 2733 ], |
| 2740 }], | 2734 }], |
| 2741 ], | 2735 ], |
| 2742 }], | 2736 }], |
| 2737 ['OS=="linux" and target_arch!="ia32"', { |
| 2738 # Enable libstdc++ debugging facilities to help catch problems |
| 2739 # early, see http://crbug.com/65151 . |
| 2740 # TODO(phajdan.jr): Should we enable this for all of POSIX? |
| 2741 'defines': ['_GLIBCXX_DEBUG=1',], |
| 2742 }], |
| 2743 # Disabled on iOS because it was causing a crash on startup. | 2743 # Disabled on iOS because it was causing a crash on startup. |
| 2744 # TODO(michelea): investigate, create a reduced test and possibly | 2744 # TODO(michelea): investigate, create a reduced test and possibly |
| 2745 # submit a radar. | 2745 # submit a radar. |
| 2746 ['release_valgrind_build==0 and OS!="ios"', { | 2746 ['release_valgrind_build==0 and OS!="ios"', { |
| 2747 'xcode_settings': { | 2747 'xcode_settings': { |
| 2748 'OTHER_CFLAGS': [ | 2748 'OTHER_CFLAGS': [ |
| 2749 '-fstack-protector-all', # Implies -fstack-protector | 2749 '-fstack-protector-all', # Implies -fstack-protector |
| 2750 ], | 2750 ], |
| 2751 }, | 2751 }, |
| 2752 }], | 2752 }], |
| (...skipping 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4804 # settings in target dicts. SYMROOT is a special case, because many other | 4804 # settings in target dicts. SYMROOT is a special case, because many other |
| 4805 # Xcode variables depend on it, including variables such as | 4805 # Xcode variables depend on it, including variables such as |
| 4806 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4806 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4807 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4807 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4808 # files to appear (when present) in the UI as actual files and not red | 4808 # files to appear (when present) in the UI as actual files and not red |
| 4809 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4809 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4810 # and therefore SYMROOT, needs to be set at the project level. | 4810 # and therefore SYMROOT, needs to be set at the project level. |
| 4811 'SYMROOT': '<(DEPTH)/xcodebuild', | 4811 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4812 }, | 4812 }, |
| 4813 } | 4813 } |
| OLD | NEW |