fuchsia: When building on host, add dependency on libcurl

There's no default curl available when building on host Linux in the
Fuchsia tree, so add an explicit dependency when using the curl
transport in Fuchsia.

Change-Id: If80fb0ce0da5b2dcb6558f17ac7ab8b9db1b1668
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2832147
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
GitOrigin-RevId: 7743306709af555263c24139041cc653597c8480
diff --git a/util/BUILD.gn b/util/BUILD.gn
index 6c51a6c..48bf8e2 100644
--- a/util/BUILD.gn
+++ b/util/BUILD.gn
@@ -405,6 +405,10 @@
     }
   } else if (crashpad_http_transport_impl == "libcurl") {
     sources += [ "net/http_transport_libcurl.cc" ]
+    if (crashpad_is_in_fuchsia) {
+      # Host Linux builds in Fuchsia don't have libcurl in a sysroot.
+      deps += [ "//third_party/curl:libcurl" ]
+    }
   }
 
   if (crashpad_is_android) {