summaryrefslogtreecommitdiff
path: root/chromium/components/crash/content/app/BUILD.gn
blob: c1a07138aaa0d65ddf132a868f0f81b8763c4db6 (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
# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# TODO(crbug.com/565771): This target should be removed.
if (is_win) {
  static_library("deprecated_breakpad_win") {
    visibility = [ "//components/nacl/broker:nacl64" ]

    sources = [
      "breakpad_win.cc",
      "breakpad_win.h",
      "hard_error_handler_win.cc",
      "hard_error_handler_win.h",
    ]

    defines = [ "CRASH_IMPLEMENTATION" ]

    deps = [
      "//base",
      "//base:base_static",
      "//components/crash/core/app:lib",
      "//components/crash/core/common",
      "//content/public/common:result_codes",
      "//third_party/breakpad:breakpad_handler",
      "//third_party/breakpad:client",
    ]

    include_dirs = [ "../../../../third_party/breakpad/breakpad/src" ]

    libs = [ "userenv.lib" ]
  }
}