Index: syzygy/agent/common/common.gyp |
diff --git a/syzygy/agent/common/common.gyp b/syzygy/agent/common/common.gyp |
index 54a20139bf2a34d724e0af29d7221d5b61fc4e57..7ec83f3183d353e8edbd37df2723ef9ee748b879 100644 |
--- a/syzygy/agent/common/common.gyp |
+++ b/syzygy/agent/common/common.gyp |
@@ -35,8 +35,6 @@ |
'scoped_last_error_keeper.h', |
'stack_capture.cc', |
'stack_capture.h', |
- 'stack_walker_x86.cc', |
- 'stack_walker_x86.h', |
'thread_state.cc', |
'thread_state.h', |
], |
@@ -47,6 +45,19 @@ |
'<(src)/syzygy/trace/client/client.gyp:rpc_client_lib', |
'<(src)/syzygy/trace/rpc/rpc.gyp:call_trace_rpc_lib', |
], |
+ 'conditions': [ |
+ ['target_arch == "x64"', { |
+ 'sources': [ |
+ 'stack_walker.cc', |
+ 'stack_walker.h', |
+ ] |
+ }, { |
+ 'sources': [ |
+ 'stack_walker_x86.cc', |
+ 'stack_walker_x86.h', |
+ ] |
+ }] |
+ ], |
}, |
{ |
'target_name': 'agent_common_unittests', |