Blink roll 25b6bd3a7a131ffe68d809546ad1a20707915cdc:3a503f41ae42e5b79cfcd2ff10e65afde...
[chromium-blink-merge.git] / components / browser_watcher.gypi
blob728511dbf714f7b7ad242d6e0291a704291fdf9d
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_lib',
13             'type': 'static_library',
14             'sources': [
15               'browser_watcher/exit_code_watcher_win.cc',
16               'browser_watcher/exit_code_watcher_win.h',
17             ],
18             'dependencies': [
19               '../base/base.gyp:base',
20             ],
21           },
22           {
23             # Users of the watcher link this target.
24             'target_name': 'browser_watcher_client',
25             'type': 'static_library',
26             'sources': [
27               'browser_watcher/watcher_client_win.cc',
28               'browser_watcher/watcher_client_win.h',
29               'browser_watcher/watcher_metrics_provider_win.cc',
30               'browser_watcher/watcher_metrics_provider_win.h',
31             ],
32             'dependencies': [
33               'browser_watcher_lib',
34               '../base/base.gyp:base',
35             ],
36           },
37         ],
38       }
39     ],
40   ],