Index: snapshot/snapshot.gyp |
diff --git a/snapshot/snapshot.gyp b/snapshot/snapshot.gyp |
index 894fd061f6f2552aae735e51d5c9301369d115df..c6098ffa921f5890b647aa2189dad77965466559 100644 |
--- a/snapshot/snapshot.gyp |
+++ b/snapshot/snapshot.gyp |
@@ -72,7 +72,21 @@ |
'process_snapshot.h', |
'system_snapshot.h', |
'thread_snapshot.h', |
+ 'win/process_reader_win.cc', |
+ 'win/process_reader_win.h', |
+ 'win/system_snapshot_win.cc', |
+ 'win/system_snapshot_win.h', |
], |
+ 'conditions': [ |
+ ['OS=="win"', { |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-lpowrprof.lib', |
+ '-lversion.lib', |
+ ], |
+ }, |
+ }], |
+ ] |
}, |
{ |
'target_name': 'snapshot_test_lib', |
@@ -128,6 +142,7 @@ |
'mac/process_reader_test.cc', |
'mac/process_types_test.cc', |
'mac/system_snapshot_mac_test.cc', |
+ 'win/system_snapshot_win_test.cc', |
], |
}, |
], |