diff options
Diffstat (limited to 'ui/touch_selection/BUILD.gn')
-rw-r--r-- | ui/touch_selection/BUILD.gn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/touch_selection/BUILD.gn b/ui/touch_selection/BUILD.gn index 3f98ea0..f5f2825 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", |