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

Unified Diff: components/browser_watcher.gypi

Issue 743463002: Browser watcher, part deux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Address Erik's remaining comments. Created 6 years, 1 month 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 | components/browser_watcher/exit_code_watcher_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_watcher.gypi
diff --git a/components/browser_watcher.gypi b/components/browser_watcher.gypi
index 87db22e4d865d25ceae364cd3966656856fb4604..c446e6f1bab9d49ce5e47203846c7bf40c396476 100644
--- a/components/browser_watcher.gypi
+++ b/components/browser_watcher.gypi
@@ -7,16 +7,31 @@
['OS=="win"', {
'targets': [
{
+ # This is a separate lib to minimize the dependencies for its
+ # hosting binary "chrome_watcher.dll".
'target_name': 'browser_watcher_lib',
'type': 'static_library',
'sources': [
- 'browser_watcher/watcher_win.cc',
- 'browser_watcher/watcher_win.h',
+ 'browser_watcher/exit_code_watcher_win.cc',
+ 'browser_watcher/exit_code_watcher_win.h',
],
'dependencies': [
'../base/base.gyp:base',
],
},
+ {
+ # Users of the watcher link this target.
+ 'target_name': 'browser_watcher_client',
+ 'type': 'static_library',
+ 'sources': [
+ 'browser_watcher/watcher_client_win.cc',
+ 'browser_watcher/watcher_client_win.h',
+ ],
+ 'dependencies': [
+ 'browser_watcher_lib',
+ '../base/base.gyp:base',
+ ],
+ },
],
}
],
« no previous file with comments | « no previous file | components/browser_watcher/exit_code_watcher_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698