blob: 9ad34648ffcd90ed9e4a8fb1372aa0dfb9f08c50 [file] [log] [blame]
# 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("handler_lib") {
sources = [
"crash_report_upload_thread.cc",
"crash_report_upload_thread.h",
"handler_main.cc",
"handler_main.h",
"mac/crash_report_exception_handler.cc",
"mac/crash_report_exception_handler.h",
"mac/exception_handler_server.cc",
"mac/exception_handler_server.h",
"win/crash_report_exception_handler.cc",
"win/crash_report_exception_handler.h",
]
include_dirs = [ ".." ]
deps = [
"../compat",
"../minidump",
"../snapshot",
"../tools:tool_support",
"//base",
]
if (is_win) {
cflags = [ "/wd4201" ]
}
}
executable("crashpad_handler") {
sources = [
"main.cc",
]
include_dirs = [ ".." ]
deps = [
":handler_lib",
"../compat",
"//base",
]
}