Index: Source/web/BUILD.gn |
diff --git a/Source/web/BUILD.gn b/Source/web/BUILD.gn |
index 0c0aa568529a0309252ef45c1850596f14199492..60d5338a490631a29384a50b4316b0f3520df58a 100644 |
--- a/Source/web/BUILD.gn |
+++ b/Source/web/BUILD.gn |
@@ -105,36 +105,39 @@ source_set("test_support") { |
} |
# GYP version: WebKit/Source/web/web_tests.gyp:webkit_unit_tests |
-test("webkit_unit_tests") { |
- deps = [ |
- ":test_support", |
- ":web", |
- "//base", |
- "//base/test:test_support", |
- "//base:i18n", |
- "//content/test:test_support", |
- "//testing/gmock", |
- "//testing/gtest", |
- "//third_party/WebKit/Source/wtf:test_support", |
- "//third_party/libwebp", |
- "//third_party/zlib", |
- "//url", |
- "//v8", |
- ] |
+if (!is_mac) { |
+ # TODO(GYP): Can't link Blink binaries yet. |
+ test("webkit_unit_tests") { |
+ deps = [ |
+ ":test_support", |
+ ":web", |
+ "//base", |
+ "//base/test:test_support", |
+ "//base:i18n", |
+ "//content/test:test_support", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ "//third_party/WebKit/Source/wtf:test_support", |
+ "//third_party/libwebp", |
+ "//third_party/zlib", |
+ "//url", |
+ "//v8", |
+ ] |
- sources = [ "tests/RunAllTests.cpp" ] |
+ sources = [ "tests/RunAllTests.cpp" ] |
- configs += [ "//third_party/WebKit/Source:config" ] |
+ configs += [ "//third_party/WebKit/Source:config" ] |
- if (!is_component_build) { |
- deps += [ "//third_party/WebKit/Source/core" ] |
+ if (!is_component_build) { |
+ deps += [ "//third_party/WebKit/Source/core" ] |
- configs += [ "//third_party/WebKit/Source:inside_blink" ] |
+ configs += [ "//third_party/WebKit/Source:inside_blink" ] |
- sources += web_gypi.web_unittest_files |
- sources += bindings_unittest_files |
- sources += core_unittest_files |
- sources += modules_unittest_files |
- sources += platform_web_unittest_files |
+ sources += web_gypi.web_unittest_files |
+ sources += bindings_unittest_files |
+ sources += core_unittest_files |
+ sources += modules_unittest_files |
+ sources += platform_web_unittest_files |
+ } |
} |
} |