summaryrefslogtreecommitdiffstats
path: root/components/browser_watcher/BUILD.gn
blob: 0dd629e276e2861dd28879736fdf4df9fc6dba91 (plain)
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
# Copyright 2015 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.

source_set("browser_watcher") {
  # This is a separate lib to minimize the dependencies for its
  # hosting binary "chrome_watcher.dll".
  sources = [
    "endsession_watcher_window_win.cc",
    "endsession_watcher_window_win.h",
    "exit_code_watcher_win.cc",
    "exit_code_watcher_win.h",
    "exit_funnel_win.cc",
    "exit_funnel_win.h",
  ]
  deps = [
    "//base",
  ]
}

source_set("browser_watcher_client") {
  sources = [
    "watcher_client_win.cc",
    "watcher_client_win.h",
    "watcher_metrics_provider_win.cc",
    "watcher_metrics_provider_win.h",
  ]
  deps = [
    "//base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "endsession_watcher_window_win_unittest.cc",
    "exit_code_watcher_win_unittest.cc",
    "exit_funnel_win_unittest.cc",
    "watcher_client_win_unittest.cc",
    "watcher_metrics_provider_win_unittest.cc",
  ]
  deps = [
    "//testing/gtest",
  ]
}