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

Unified Diff: util/util.gyp

Issue 977003003: win: Add implementation of ProcessInfo (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes3 Created 5 years, 10 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
« no previous file with comments | « no previous file | util/win/process_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/util.gyp
diff --git a/util/util.gyp b/util/util.gyp
index 083a92d7fa090254f369759d42c0886bb989e309..ba72b15c4454d30f67b335ff5db433e63b3c8e5e 100644
--- a/util/util.gyp
+++ b/util/util.gyp
@@ -129,6 +129,8 @@
'synchronization/semaphore_posix.cc',
'synchronization/semaphore_win.cc',
'synchronization/semaphore.h',
+ 'win/process_info.cc',
+ 'win/process_info.h',
'win/scoped_handle.cc',
'win/scoped_handle.h',
'win/time.cc',
@@ -308,6 +310,7 @@
'test/multiprocess_exec_test.cc',
'test/multiprocess_posix_test.cc',
'test/scoped_temp_dir_test.cc',
+ 'win/process_info_test.cc',
'win/time_test.cc',
],
'conditions': [
@@ -318,6 +321,13 @@
],
},
}],
+ ['OS=="win"', {
+ 'link_settings': {
+ 'libraries': [
+ '-lrpcrt4.lib',
+ ],
+ },
+ }],
],
},
{
@@ -328,4 +338,28 @@
],
},
],
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets': [
+ {
+ 'target_name': 'util_test_process_info_test_child',
+ 'type': 'executable',
+ 'sources': [
+ 'win/process_info_test_child.cc',
+ ],
+ # Set an unusually high load address to make sure that the main
+ # executable still appears as the first element in
+ # ProcessInfo::Modules().
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalOptions': [
+ '/BASE:0x78000000',
+ '/FIXED',
+ ],
+ },
+ },
+ },
+ ]
+ }],
+ ],
}
« no previous file with comments | « no previous file | util/win/process_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698