Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1685)

Unified Diff: Source/platform/BUILD.gn

Issue 1285413007: Unify geometry test printers in a test support target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: PrintTo instead of operator<< Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/OverflowModelTest.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/BUILD.gn
diff --git a/Source/platform/BUILD.gn b/Source/platform/BUILD.gn
index e3715335050ce0d42cb6ce739869e221874ecdaf..89aca910ad59f9834f13647ac742cec3f828f4bc 100644
--- a/Source/platform/BUILD.gn
+++ b/Source/platform/BUILD.gn
@@ -319,6 +319,21 @@ component("platform") {
}
}
+source_set("test_support") {
+ sources = platform_test_support_files
+ visibility += [ "//third_party/WebKit/*" ]
+
+ configs += [
+ "//third_party/WebKit/Source:config",
+ "//third_party/WebKit/Source:inside_blink",
+ "//third_party/WebKit/Source:non_test_config",
+ ]
+
+ deps = [
+ ":platform",
+ ]
+}
+
if (!is_mac) {
# TODO(GYP): Can't link Blink binaries yet.
test("heap_unittests") {
@@ -368,6 +383,7 @@ if (!is_mac) {
deps = [
":blink_common",
":platform",
+ ":test_support",
"//base",
"//base/allocator",
"//base/test:test_support",
« no previous file with comments | « Source/core/layout/OverflowModelTest.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698