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

Unified Diff: headless/BUILD.gn

Issue 2816593006: Enable crashpad for Mac (Closed)
Patch Set: Reland Enable crashpad for Mac 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
« no previous file with comments | « no previous file | headless/lib/headless_browser_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index 6345e098a44e826849f1c47b48357d3ed5478f6c..a4a762ef2914c01d990e0ee8b26f61d30112e806 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -323,7 +323,9 @@ static_library("headless_lib") {
"//url",
]
- if (!is_mac) {
+ if (is_mac) {
+ deps += [ ":mac_helpers" ]
+ } else {
deps += [ "//ui/aura" ]
}
@@ -413,6 +415,22 @@ repack("headless_browser_tests_pak") {
]
}
+if (is_mac) {
+ copy("mac_helpers") {
+ sources = [
+ "$root_out_dir/crashpad_handler",
+ ]
+
+ deps = [
+ "//third_party/crashpad/crashpad/handler:crashpad_handler",
+ ]
+
+ outputs = [
+ "$root_out_dir/Helpers/{{source_file_part}}",
+ ]
+ }
+}
+
test("headless_browsertests") {
sources = [
"lib/embedder_mojo_browsertest.cc",
« no previous file with comments | « no previous file | headless/lib/headless_browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698