Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: build/common.gypi

Issue 390015: linux: TCMalloc-based C++ heap profiler. (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/base.gyp ('k') | webkit/extensions/v8/heap_profiler_extension.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 should set chromium_code to 1 if they build Chromium-specific 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 # running the zygote process. If found, and SUID, it will be used to 169 # running the zygote process. If found, and SUID, it will be used to
170 # sandbox the zygote process and, thus, all renderer processes. 170 # sandbox the zygote process and, thus, all renderer processes.
171 'linux_sandbox_path%': '', 171 'linux_sandbox_path%': '',
172 172
173 # Set this to true to enable SELinux support. 173 # Set this to true to enable SELinux support.
174 'selinux%': 0, 174 'selinux%': 0,
175 175
176 # Strip the binary after dumping symbols. 176 # Strip the binary after dumping symbols.
177 'linux_strip_binary%': 0, 177 'linux_strip_binary%': 0,
178 178
179 # Enable TCMalloc.
180 'linux_use_tcmalloc%': 0,
181
179 # Set to select the Title Case versions of strings in GRD files. 182 # Set to select the Title Case versions of strings in GRD files.
180 'use_titlecase_in_grd_files%': 0, 183 'use_titlecase_in_grd_files%': 0,
181 184
182 # Used to disable Native Client at compile time, for platforms where it 185 # Used to disable Native Client at compile time, for platforms where it
183 # isn't supported 186 # isn't supported
184 'disable_nacl%': 0, 187 'disable_nacl%': 0,
185 188
186 # Set ARM-v7 compilation flags 189 # Set ARM-v7 compilation flags
187 'armv7%': 0, 190 'armv7%': 0,
188 191
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 # When building with shared libraries, remove the visiblity-hiding 705 # When building with shared libraries, remove the visiblity-hiding
703 # flag. 706 # flag.
704 'cflags!': [ '-fvisibility=hidden' ], 707 'cflags!': [ '-fvisibility=hidden' ],
705 'conditions': [ 708 'conditions': [
706 ['target_arch=="x64"', { 709 ['target_arch=="x64"', {
707 # Shared libraries need -fPIC on x86-64 710 # Shared libraries need -fPIC on x86-64
708 'cflags': ['-fPIC'] 711 'cflags': ['-fPIC']
709 }] 712 }]
710 ], 713 ],
711 }], 714 }],
715 ['linux_use_tcmalloc==1', {
716 'defines': ['LINUX_USE_TCMALLOC'],
717 }],
712 ], 718 ],
713 }, 719 },
714 }], 720 }],
715 ['OS=="mac"', { 721 ['OS=="mac"', {
716 'target_defaults': { 722 'target_defaults': {
717 'variables': { 723 'variables': {
718 # This should be 'mac_real_dsym%', but there seems to be a bug 724 # This should be 'mac_real_dsym%', but there seems to be a bug
719 # with % in variables that are intended to be set to different 725 # with % in variables that are intended to be set to different
720 # values in different targets, like this one. 726 # values in different targets, like this one.
721 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases. 727 'mac_real_dsym': 0, # Fake .dSYMs are fine in most cases.
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 # and therefore SYMROOT, needs to be set at the project level. 960 # and therefore SYMROOT, needs to be set at the project level.
955 'SYMROOT': '<(DEPTH)/xcodebuild', 961 'SYMROOT': '<(DEPTH)/xcodebuild',
956 }, 962 },
957 } 963 }
958 964
959 # Local Variables: 965 # Local Variables:
960 # tab-width:2 966 # tab-width:2
961 # indent-tabs-mode:nil 967 # indent-tabs-mode:nil
962 # End: 968 # End:
963 # vim: set expandtab tabstop=2 shiftwidth=2: 969 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | webkit/extensions/v8/heap_profiler_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698