Roll src/third_party/WebKit a2aeeb7:6373c4f (svn 198318:198336)
[chromium-blink-merge.git] / components / browser_watcher.gypi
blob0595a01e650afb3f58b64126362a17412ce3a503
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
3 # found in the LICENSE file.
6   'conditions': [
7   ['OS=="win"', {
8       'targets': [
9           {
10             # This is a separate lib to minimize the dependencies for its
11             # hosting binary "chrome_watcher.dll".
12             'target_name': 'browser_watcher',
13             'type': 'static_library',
14             'sources': [
15               'browser_watcher/endsession_watcher_window_win.cc',
16               'browser_watcher/endsession_watcher_window_win.h',
17               'browser_watcher/exit_code_watcher_win.cc',
18               'browser_watcher/exit_code_watcher_win.h',
19               'browser_watcher/exit_funnel_win.cc',
20               'browser_watcher/exit_funnel_win.h',
21               'browser_watcher/window_hang_monitor_win.cc',
22               'browser_watcher/window_hang_monitor_win.h',
23             ],
24             'dependencies': [
25               '../base/base.gyp:base',
26             ],
27           },
28           {
29             # Users of the watcher link this target.
30             'target_name': 'browser_watcher_client',
31             'type': 'static_library',
32             'sources': [
33               'browser_watcher/crash_reporting_metrics_win.cc',
34               'browser_watcher/crash_reporting_metrics_win.h',
35               'browser_watcher/watcher_client_win.cc',
36               'browser_watcher/watcher_client_win.h',
37               'browser_watcher/watcher_metrics_provider_win.cc',
38               'browser_watcher/watcher_metrics_provider_win.h',
39             ],
40             'dependencies': [
41               '../base/base.gyp:base',
42             ],
43           },
44         ],
45       }
46     ],
47   ],