Chromium Code Reviews| Index: components/browser_watcher.gypi |
| diff --git a/components/browser_watcher.gypi b/components/browser_watcher.gypi |
| index 87db22e4d865d25ceae364cd3966656856fb4604..bf9d9da1584390ec0a5f19256d968ac0387b87e9 100644 |
| --- a/components/browser_watcher.gypi |
| +++ b/components/browser_watcher.gypi |
| @@ -7,6 +7,8 @@ |
| ['OS=="win"', { |
| 'targets': [ |
| { |
| + # This is a separate lib to minimize the dependencies for its |
|
erikwright (departed)
2014/11/18 20:00:05
personally I find the architecture self-explanator
Sigurður Ásgeirsson
2014/11/18 21:18:56
I've seen plenty of build configuration regression
|
| + # hosting binary "chrome_watcher.dll". |
| 'target_name': 'browser_watcher_lib', |
| 'type': 'static_library', |
| 'sources': [ |
| @@ -17,6 +19,19 @@ |
| '../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', |
| + ], |
| + }, |
| ], |
| } |
| ], |