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

Side by Side Diff: third_party/tcmalloc/tcmalloc.gyp

Issue 342041: Taking advantage of new configuration inheritance option.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
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 | « chrome/installer/mini_installer.gyp ('k') | no next file » | 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'tcmalloc', 8 'target_name': 'tcmalloc',
9 'type': '<(library)', 9 'type': '<(library)',
10 'msvs_guid': 'C564F145-9172-42C3-BFCB-60FDEA124321', 10 'msvs_guid': 'C564F145-9172-42C3-BFCB-60FDEA124321',
11 'include_dirs': [ 11 'include_dirs': [
12 '.', 12 '.',
13 'tcmalloc/src/base', 13 'tcmalloc/src/base',
14 'tcmalloc/src', 14 'tcmalloc/src',
15 '../..', 15 '../..',
16 ], 16 ],
17 'direct_dependent_settings': { 17 'direct_dependent_settings': {
18 'configurations': { 18 'configurations': {
19 # TODO(bradnelson): find a way to make this more graceful in gyp. 19 'Common': {
20 # Ideally configurations should be able to have some sort of
21 # inheritance hierarchy. So that Purify no-tcmalloc could be
22 # be derived from Release.
23 'Debug': {
24 'msvs_settings': { 20 'msvs_settings': {
25 'VCLinkerTool': { 21 'VCLinkerTool': {
26 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'], 22 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'],
27 'AdditionalDependencies': [ 23 'AdditionalDependencies': [
28 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib' 24 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib'
29 ], 25 ],
30 }, 26 },
31 }, 27 },
32 }, 28 },
33 'Release': {
34 'msvs_settings': {
35 'VCLinkerTool': {
36 'IgnoreDefaultLibraryNames': ['libcmtd.lib', 'libcmt.lib'],
37 'AdditionalDependencies': [
38 '<(SHARED_INTERMEDIATE_DIR)/tcmalloc/libcmt.lib'
39 ],
40 },
41 },
42 },
43 }, 29 },
44 'conditions': [ 30 'conditions': [
45 ['OS=="win"', { 31 ['OS=="win"', {
46 'defines': [ 32 'defines': [
47 ['PERFTOOLS_DLL_DECL', ''] 33 ['PERFTOOLS_DLL_DECL', '']
48 ], 34 ],
49 }], 35 }],
50 ], 36 ],
51 }, 37 },
52 'sources': [ 38 'sources': [
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 ], 277 ],
292 }], 278 }],
293 ], 279 ],
294 } 280 }
295 281
296 # Local Variables: 282 # Local Variables:
297 # tab-width:2 283 # tab-width:2
298 # indent-tabs-mode:nil 284 # indent-tabs-mode:nil
299 # End: 285 # End:
300 # vim: set expandtab tabstop=2 shiftwidth=2: 286 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/installer/mini_installer.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698