[googletest] Add dependencies needed for newer version of googletest
In rolling to a rev based on googletest aac1818, there's a new
dependency on fdio and libzx.
INTK-682 #comment [googletest] Add dependencies needed for newer version of googletest
Test: Manual build
Change-Id: I8bb0d91f0c2e5f19f32dd017742517152b894d8c
diff --git a/BUILD.gn b/BUILD.gn
index db255e7..f2ebff9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -53,6 +53,13 @@
sources -= [ "googletest/src/gtest-all.cc" ]
public_configs = [ ":gtest_config" ]
configs += [ ":gtest_private_config" ]
+
+ if (is_fuchsia) {
+ deps = [
+ "//zircon/public/lib/fdio",
+ "//zircon/public/lib/zx",
+ ]
+ }
}
static_library("gtest_main") {