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