Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: headless/BUILD.gn

Issue 2816593006: Enable crashpad for Mac (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index 6345e098a44e826849f1c47b48357d3ed5478f6c..dbd6e79bcca169a65f3113b0701c569f5581e7aa 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -474,6 +474,22 @@ static_library("headless_shell_lib") {
configs += [ ":headless_implementation" ]
}
+if (is_mac) {
+ copy("mac_helpers") {
+ deps = [
+ "//third_party/crashpad/crashpad/handler:crashpad_handler",
+ ]
+
+ sources = [
+ "$root_out_dir/crashpad_handler",
+ ]
jzfeng 2017/04/12 06:22:04 nit: put sources and outputs above deps?
dvallet 2017/04/12 07:04:09 Done.
+
+ outputs = [
+ "$root_out_dir/Helpers/{{source_file_part}}",
+ ]
+ }
+}
+
executable("headless_shell") {
sources = [
"app/headless_shell_main.cc",
@@ -491,6 +507,10 @@ executable("headless_shell") {
]
}
+ if (is_mac) {
+ deps += [ ":mac_helpers" ]
+ }
+
configs += [ ":headless_implementation" ]
}
« no previous file with comments | « no previous file | headless/lib/headless_content_main_delegate.h » ('j') | headless/lib/headless_content_main_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698