summaryrefslogtreecommitdiff
path: root/deps/v8/third_party/googletest/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/third_party/googletest/BUILD.gn')
-rw-r--r--deps/v8/third_party/googletest/BUILD.gn14
1 files changed, 13 insertions, 1 deletions
diff --git a/deps/v8/third_party/googletest/BUILD.gn b/deps/v8/third_party/googletest/BUILD.gn
index 8271959ad0..77cbac9129 100644
--- a/deps/v8/third_party/googletest/BUILD.gn
+++ b/deps/v8/third_party/googletest/BUILD.gn
@@ -15,8 +15,11 @@ config("gtest_config") {
# and other systems, we tell gtest to always use its internal engine.
"GTEST_HAS_POSIX_RE=0",
+ # Enables C++11 features.
"GTEST_LANG_CXX11=1",
- "GTEST_HAS_STD_TUPLE=1",
+
+ # Prevents gtest from including both <tr1/tuple> and <tuple>.
+ "GTEST_HAS_TR1_TUPLE=0",
]
# Gtest headers need to be able to find themselves.
@@ -86,6 +89,15 @@ source_set("gtest") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ deps = []
+
+ if (is_fuchsia) {
+ deps += [
+ "//third_party/fuchsia-sdk:fdio",
+ "//third_party/fuchsia-sdk:launchpad",
+ ]
+ }
}
# Do NOT depend on this directly. Use //testing/gtest:gtest_main instead.