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

Unified Diff: third_party/WebKit/Source/platform/loader/BUILD.gn

Issue 2732243005: platform/loader: move test support files definition to loader/BUILD.gn (Closed)
Patch Set: rebase Created 3 years, 9 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 | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/loader/BUILD.gn b/third_party/WebKit/Source/platform/loader/BUILD.gn
index 186f254fdb72a29d5f74f318c43be717f4b3ad04..0696c63513d672ef030d38c8bf6dd91bac8e4da2 100644
--- a/third_party/WebKit/Source/platform/loader/BUILD.gn
+++ b/third_party/WebKit/Source/platform/loader/BUILD.gn
@@ -118,3 +118,33 @@ source_set("unit_tests") {
"//third_party/WebKit/Source/platform",
]
}
+
+source_set("test_support") {
+ # This target defines test files for platform:test_support that
+ # blink_platform_unittests and webkit_unit_tests can use.
+ visibility = [ "//third_party/WebKit/Source/platform:test_support" ]
+ testonly = true
+
+ # Source files that can be called from blink_platform_unittests and
+ # webkit_unit_tests.
+ sources = [
+ "testing/FetchTestingPlatformSupport.cpp",
+ "testing/FetchTestingPlatformSupport.h",
+ "testing/MockFetchContext.h",
+ "testing/MockResource.cpp",
+ "testing/MockResource.h",
+ "testing/MockResourceClient.cpp",
+ "testing/MockResourceClient.h",
+ ]
+
+ defines = [ "INSIDE_BLINK" ]
+
+ configs += [
+ "//third_party/WebKit/Source/wtf:wtf_config",
+ "//third_party/WebKit/Source:config",
+ ]
+
+ deps = [
+ "//third_party/WebKit/Source/platform",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698