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

Unified Diff: third_party/WebKit/public/BUILD.gn

Issue 2853173002: Fix header dependency in WebKit/public about testing (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/BUILD.gn
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn
index ca750bb3d4f157e6f50918d8d80e5a304c03f1df..d63c9ab697fa43923630264d959e3ef0bb4e6c9d 100644
--- a/third_party/WebKit/public/BUILD.gn
+++ b/third_party/WebKit/public/BUILD.gn
@@ -27,6 +27,7 @@ group("blink") {
group("test_support") {
testonly = true
public_deps = [
+ ":test_headers",
"//third_party/WebKit/Source/platform:test_support",
"//third_party/WebKit/Source/web:test_support",
]
@@ -86,6 +87,20 @@ if (is_android) {
}
}
+source_set("test_headers") {
+ testonly = true
+ sources = [
+ "platform/scheduler/test/fake_renderer_scheduler.h",
+ "platform/scheduler/test/mock_renderer_scheduler.h",
+ "platform/scheduler/test/renderer_scheduler_test_support.h",
+ ]
+ deps = [
+ "//base:base",
+ "//cc:cc",
+ "//testing/gmock:gmock",
+ ]
+}
+
# Depend on this target to use public blink API headers for things like enums
# and public structures without actually linking against any Blink libraries.
source_set("blink_headers") {
@@ -430,9 +445,6 @@ source_set("blink_headers") {
"platform/scheduler/child/webthread_base.h",
"platform/scheduler/renderer/render_widget_scheduling_state.h",
"platform/scheduler/renderer/renderer_scheduler.h",
- "platform/scheduler/test/fake_renderer_scheduler.h",
- "platform/scheduler/test/mock_renderer_scheduler.h",
- "platform/scheduler/test/renderer_scheduler_test_support.h",
"web/WebAXEnums.h",
"web/WebAXObject.h",
"web/WebActiveWheelFlingParameters.h",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698