1 # Copyright 2015 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.
5 source_set("browser_watcher") {
6 # This is a separate lib to minimize the dependencies for its
7 # hosting binary "chrome_watcher.dll".
9 "endsession_watcher_window_win.cc",
10 "endsession_watcher_window_win.h",
11 "exit_code_watcher_win.cc",
12 "exit_code_watcher_win.h",
15 "window_hang_monitor_win.cc",
16 "window_hang_monitor_win.h",
23 source_set("browser_watcher_client") {
25 "crash_reporting_metrics_win.cc",
26 "crash_reporting_metrics_win.h",
27 "watcher_client_win.cc",
28 "watcher_client_win.h",
29 "watcher_metrics_provider_win.cc",
30 "watcher_metrics_provider_win.h",
37 source_set("unit_tests") {
40 "endsession_watcher_window_win_unittest.cc",
41 "exit_code_watcher_win_unittest.cc",
42 "exit_funnel_win_unittest.cc",
43 "watcher_client_win_unittest.cc",
44 "watcher_metrics_provider_win_unittest.cc",
45 "window_hang_monitor_win_unittest.cc",
47 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
50 ":browser_watcher_client",