Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index 4b11485e0a5f5f8fb2d37845137ac6ff43386de3..ed7ff79758158970805628cd4ce065ab55979155 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -766,6 +766,9 @@ |
'sources': [ |
'profiler/win32_stack_frame_unwinder_unittest.cc', |
], |
+ 'dependencies': [ |
+ 'base_profiler_test_support_library', |
+ ], |
}], |
['OS == "win"', { |
'sources!': [ |
@@ -1271,6 +1274,21 @@ |
}, |
], |
}], |
+ ['OS == "win" and target_arch=="x64"', { |
+ 'targets': [ |
+ { |
+ 'target_name': 'base_profiler_test_support_library', |
+ # Must be a shared library so that it can be unloaded during testing. |
+ 'type': 'shared_library', |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ 'sources': [ |
+ 'profiler/test_support_library.cc', |
+ ], |
+ }, |
+ ] |
+ }], |
['os_posix==1 and OS!="mac" and OS!="ios"', { |
'targets': [ |
{ |