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

Unified Diff: base/allocator/allocator.gyp

Issue 10239012: Route calls to tcmalloc MallocExtension through allocator agnostic interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/allocator/allocator_extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/allocator.gyp
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
index ee07ecc451917c4aa088db39dc148cef77a51efb..7b1058c10a96a4e15e09c45818ee85d4991ac12c 100644
--- a/base/allocator/allocator.gyp
+++ b/base/allocator/allocator.gyp
@@ -427,7 +427,22 @@
}],
],
},
+ {
+ # This library is linked in to libbase and allocator_unittests.
+ # It can't depend on either and nothing else should depend on it -
+ # all other code should use the interfaced provided by libbase.
+ 'target_name': 'allocator_extension_thunks',
+ 'type': 'static_library',
+ 'sources': [
+ 'allocator_extension_thunks.cc',
+ 'allocator_extension_thunks.h',
],
+ 'toolsets': ['host', 'target'],
+ 'include_dirs': [
+ '../../'
+ ],
+ },
+ ],
'conditions': [
['OS=="win"', {
'targets': [
@@ -456,6 +471,7 @@
'type': 'executable',
'dependencies': [
'allocator',
+ 'allocator_extension_thunks',
'../../testing/gtest.gyp:gtest',
],
'include_dirs': [
@@ -470,6 +486,23 @@
'../profiler/alternate_timer.h',
],
},
+ {
+ 'target_name': 'allocator_extension_thunks_win64',
+ 'type': 'static_library',
+ 'sources': [
+ 'allocator_extension_thunks.cc',
+ 'allocator_extension_thunks.h',
+ ],
+ 'toolsets': ['host', 'target'],
+ 'include_dirs': [
+ '../../'
+ ],
+ 'configurations': {
+ 'Common_Base': {
+ 'msvs_target_platform': 'x64',
+ },
+ },
+ },
],
}],
],
« no previous file with comments | « no previous file | base/allocator/allocator_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698