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

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

Issue 2733253003: platform/loader: move test file definition to platform/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 a250638de04e993f60868d9015447e4655c1674d..186f254fdb72a29d5f74f318c43be717f4b3ad04 100644
--- a/third_party/WebKit/Source/platform/loader/BUILD.gn
+++ b/third_party/WebKit/Source/platform/loader/BUILD.gn
@@ -84,3 +84,37 @@ source_set("loader") {
"//v8",
]
}
+
+source_set("unit_tests") {
+ # This target defines test files for blink_platform_unittests and only the
+ # blink_platform_unittests target should depend on it.
+ visibility = [ "//third_party/WebKit/Source/platform:*" ]
+ testonly = true
+
+ # Source files for blink_platform_unittests.
+ sources = [
+ "LinkHeaderTest.cpp",
+ "fetch/ClientHintsPreferencesTest.cpp",
+ "fetch/CrossOriginAccessControlTest.cpp",
+ "fetch/FetchUtilsTest.cpp",
+ "fetch/MemoryCacheCorrectnessTest.cpp",
+ "fetch/MemoryCacheTest.cpp",
+ "fetch/RawResourceTest.cpp",
+ "fetch/ResourceFetcherTest.cpp",
+ "fetch/ResourceLoaderOptionsTest.cpp",
+ "fetch/ResourceTest.cpp",
+ ]
+
+ defines = [ "INSIDE_BLINK" ]
+
+ configs += [
+ "//third_party/WebKit/Source/wtf:wtf_config",
+ "//third_party/WebKit/Source:config",
+ ]
+
+ deps = [
+ "//testing/gmock",
+ "//testing/gtest",
+ "//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