Don't preload rarely seen large images
[chromium-blink-merge.git] / components / browser_watcher / BUILD.gn
blob376699d870d2e782dfe757a27ecaa5f2965a492d
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".
8   sources = [
9     "endsession_watcher_window_win.cc",
10     "endsession_watcher_window_win.h",
11     "exit_code_watcher_win.cc",
12     "exit_code_watcher_win.h",
13     "exit_funnel_win.cc",
14     "exit_funnel_win.h",
15     "window_hang_monitor_win.cc",
16     "window_hang_monitor_win.h",
17   ]
18   deps = [
19     "//base",
20   ]
23 source_set("browser_watcher_client") {
24   sources = [
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",
31   ]
32   deps = [
33     "//base",
34   ]
37 source_set("unit_tests") {
38   testonly = true
39   sources = [
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",
46   ]
47   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
48   deps = [
49     ":browser_watcher",
50     ":browser_watcher_client",
51     "//testing/gtest",
52   ]