Commit 1f99449c authored by Marijn Kruisselbrink's avatar Marijn Kruisselbrink Committed by Commit Bot

Move core/fileapi unit_tests target inside core/fileapi directory.

This way I won't need to bug top-level core/ OWNERS just to add new unit
tests for fileapi code.

Bug: none
Change-Id: I877e42443fd8e819029674d7dc2b6e6b58a1f1b7
Reviewed-on: https://chromium-review.googlesource.com/881941
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531375}
parent 9fd754b3
...@@ -1799,8 +1799,6 @@ jumbo_source_set("unit_tests") { ...@@ -1799,8 +1799,6 @@ jumbo_source_set("unit_tests") {
"fetch/ReadableStreamBytesConsumerTest.cpp", "fetch/ReadableStreamBytesConsumerTest.cpp",
"fetch/RequestTest.cpp", "fetch/RequestTest.cpp",
"fetch/ResponseTest.cpp", "fetch/ResponseTest.cpp",
"fileapi/FileListTest.cpp",
"fileapi/FileTest.cpp",
"frame/BrowserControlsTest.cpp", "frame/BrowserControlsTest.cpp",
"frame/DOMTimerTest.cpp", "frame/DOMTimerTest.cpp",
"frame/DeferredLoadingTest.cpp", "frame/DeferredLoadingTest.cpp",
...@@ -2113,6 +2111,7 @@ jumbo_source_set("unit_tests") { ...@@ -2113,6 +2111,7 @@ jumbo_source_set("unit_tests") {
"//testing/gmock", "//testing/gmock",
"//testing/gtest", "//testing/gtest",
"//third_party/WebKit/Source/core/editing:unit_tests", "//third_party/WebKit/Source/core/editing:unit_tests",
"//third_party/WebKit/Source/core/fileapi:unit_tests",
] ]
# FIXME: Enable mojo unittests on Android after fixing data dependency. # FIXME: Enable mojo unittests on Android after fixing data dependency.
......
...@@ -407,6 +407,6 @@ jumbo_source_set("unit_tests") { ...@@ -407,6 +407,6 @@ jumbo_source_set("unit_tests") {
deps = [ deps = [
"//testing/gmock", "//testing/gmock",
"//testing/gtest", "//testing/gtest",
"//third_party/WebKit/Source/core:core", "//third_party/WebKit/Source/core",
] ]
} }
...@@ -28,3 +28,23 @@ blink_core_sources("fileapi") { ...@@ -28,3 +28,23 @@ blink_core_sources("fileapi") {
"URLRegistry.h", "URLRegistry.h",
] ]
} }
jumbo_source_set("unit_tests") {
testonly = true
sources = [
"FileListTest.cpp",
"FileTest.cpp",
]
configs += [
"//third_party/WebKit/Source/core:blink_core_pch",
"//third_party/WebKit/Source:config",
"//third_party/WebKit/Source:inside_blink",
]
deps = [
"//testing/gmock",
"//testing/gtest",
"//third_party/WebKit/Source/core",
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment