OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 source_set("handler_lib") { |
| 6 sources = [ |
| 7 "crash_report_upload_thread.cc", |
| 8 "crash_report_upload_thread.h", |
| 9 "handler_main.cc", |
| 10 "handler_main.h", |
| 11 "mac/crash_report_exception_handler.cc", |
| 12 "mac/crash_report_exception_handler.h", |
| 13 "mac/exception_handler_server.cc", |
| 14 "mac/exception_handler_server.h", |
| 15 "win/crash_report_exception_handler.cc", |
| 16 "win/crash_report_exception_handler.h", |
| 17 ] |
| 18 |
| 19 include_dirs = [ ".." ] |
| 20 |
| 21 deps = [ |
| 22 "../compat", |
| 23 "../minidump", |
| 24 "../snapshot", |
| 25 "../tools:tool_support", |
| 26 "//base", |
| 27 ] |
| 28 |
| 29 if (is_win) { |
| 30 cflags = [ "/wd4201" ] |
| 31 } |
| 32 } |
| 33 |
| 34 executable("crashpad_handler") { |
| 35 sources = [ |
| 36 "main.cc", |
| 37 ] |
| 38 |
| 39 include_dirs = [ ".." ] |
| 40 |
| 41 deps = [ |
| 42 ":handler_lib", |
| 43 "../compat", |
| 44 "//base", |
| 45 ] |
| 46 } |
OLD | NEW |