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

Unified Diff: syzygy/agent/common/common.gyp

Issue 2194383007: Port some more code to x64 (Closed) Base URL: git@github.com:google/syzygy.git@master
Patch Set: Created 4 years, 4 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
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',

Powered by Google App Engine
This is Rietveld 408576698