OLD | NEW |
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS=="win"', { | 7 ['OS=="win"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 # This is a separate lib to minimize the dependencies for its | 10 # This is a separate lib to minimize the dependencies for its |
11 # hosting binary "chrome_watcher.dll". | 11 # hosting binary "chrome_watcher.dll". |
12 'target_name': 'browser_watcher_lib', | 12 'target_name': 'browser_watcher_lib', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'sources': [ | 14 'sources': [ |
15 'browser_watcher/exit_code_watcher_win.cc', | 15 'browser_watcher/exit_code_watcher_win.cc', |
16 'browser_watcher/exit_code_watcher_win.h', | 16 'browser_watcher/exit_code_watcher_win.h', |
17 ], | 17 ], |
18 'dependencies': [ | 18 'dependencies': [ |
19 '../base/base.gyp:base', | 19 '../base/base.gyp:base', |
20 ], | 20 ], |
21 }, | 21 }, |
22 { | 22 { |
23 # Users of the watcher link this target. | 23 # Users of the watcher link this target. |
24 'target_name': 'browser_watcher_client', | 24 'target_name': 'browser_watcher_client', |
25 'type': 'static_library', | 25 'type': 'static_library', |
26 'sources': [ | 26 'sources': [ |
27 'browser_watcher/watcher_client_win.cc', | 27 'browser_watcher/watcher_client_win.cc', |
28 'browser_watcher/watcher_client_win.h', | 28 'browser_watcher/watcher_client_win.h', |
| 29 'browser_watcher/watcher_metrics_provider_win.cc', |
| 30 'browser_watcher/watcher_metrics_provider_win.h', |
29 ], | 31 ], |
30 'dependencies': [ | 32 'dependencies': [ |
31 'browser_watcher_lib', | 33 'browser_watcher_lib', |
32 '../base/base.gyp:base', | 34 '../base/base.gyp:base', |
33 ], | 35 ], |
34 }, | 36 }, |
35 ], | 37 ], |
36 } | 38 } |
37 ], | 39 ], |
38 ], | 40 ], |
39 } | 41 } |
OLD | NEW |