Index: headless/BUILD.gn |
diff --git a/headless/BUILD.gn b/headless/BUILD.gn |
index c5de06f92ad9688cce9ca7c3b088d4a1181eb447..92f2f6b23694d31b8bbaf574dfbb675793170a5e 100644 |
--- a/headless/BUILD.gn |
+++ b/headless/BUILD.gn |
@@ -489,7 +489,12 @@ if (is_mac) { |
"$root_out_dir/crashpad_handler", |
] |
+ if (is_component_build) { |
+ sources += [ "$root_out_dir/libbase.dylib" ] |
+ } |
+ |
deps = [ |
+ "//base", |
"//third_party/crashpad/crashpad/handler:crashpad_handler", |
] |
@@ -528,7 +533,7 @@ test("headless_browsertests") { |
] |
if (is_mac) { |
- data += [ "$root_out_dir/Helpers/crashpad_handler" ] |
+ data_deps = [ ":mac_helpers" ] |
} |
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |