Upstreaming TransitionPageHelper.
[chromium-blink-merge.git] / components / browser_watcher.gypi
blobe1997ac601a6202b5e14ebfb793aa8db01dfaa64
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             ],
22             'dependencies': [
23               '../base/base.gyp:base',
24             ],
25           },
26           {
27             # Users of the watcher link this target.
28             'target_name': 'browser_watcher_client',
29             'type': 'static_library',
30             'sources': [
31               'browser_watcher/watcher_client_win.cc',
32               'browser_watcher/watcher_client_win.h',
33               'browser_watcher/watcher_metrics_provider_win.cc',
34               'browser_watcher/watcher_metrics_provider_win.h',
35             ],
36             'dependencies': [
37               '../base/base.gyp:base',
38             ],
39           },
40         ],
41       }
42     ],
43   ],