Index: ui/touch_selection/BUILD.gn |
diff --git a/ui/touch_selection/BUILD.gn b/ui/touch_selection/BUILD.gn |
index 3f98ea08cebf6716df2f11c0b5a83fc510d07f6f..f5f2825f2eb7a07432e8c5dda0704b6586eebd01 100644 |
--- a/ui/touch_selection/BUILD.gn |
+++ b/ui/touch_selection/BUILD.gn |
@@ -53,6 +53,19 @@ component("touch_selection") { |
} |
} |
+static_library("test_support") { |
+ testonly = true |
+ |
+ sources = [ |
+ "touch_selection_controller_test_api.cc", |
+ "touch_selection_controller_test_api.h", |
+ ] |
+ |
+ deps = [ |
+ ":touch_selection", |
+ ] |
+} |
+ |
# TODO(GYP): Delete this after we've converted everything to GN. |
# The _run targets exist only for compatibility w/ GYP. |
group("ui_touch_selection_unittests_run") { |
@@ -70,6 +83,7 @@ test("ui_touch_selection_unittests") { |
] |
deps = [ |
+ ":test_support", |
":touch_selection", |
"//base/test:run_all_unittests", |
"//testing/gmock:gmock", |