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" ] |
} |