diff options
Diffstat (limited to 'base/allocator/allocator.gyp')
-rw-r--r-- | base/allocator/allocator.gyp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp index ee07ecc..7b1058c 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', + }, + }, + }, ], }], ], |