Index: ui/gfx/BUILD.gn |
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
index 721611e9ea941ac55902afc759bc7f5fa185c090..f0914a20269dbe51fd9c30380b55692ff7be09dc 100644 |
--- a/ui/gfx/BUILD.gn |
+++ b/ui/gfx/BUILD.gn |
@@ -456,6 +456,15 @@ source_set("test_support") { |
} |
} |
+# TODO(GYP): Delete this after we've converted everything to GN. |
+# The _run targets exist only for compatibility w/ GYP. |
+group("gfx_unittests_run") { |
+ testonly = true |
+ deps = [ |
+ ":gfx_unittests", |
+ ] |
+} |
+ |
test("gfx_unittests") { |
sources = [ |
"font_render_params_linux_unittest.cc", |
@@ -471,6 +480,11 @@ test("gfx_unittests") { |
"text_utils_unittest.cc", |
] |
+ data = [ |
+ "test/data/", |
+ "$root_out_dir/ui_test.pak", |
+ ] |
+ |
if (!is_ios) { |
sources += [ |
"animation/animation_container_unittest.cc", |
@@ -543,6 +557,8 @@ test("gfx_unittests") { |
"//ui/resources:ui_test_pak", |
] |
+ data_deps = [ "//ui/resources:ui_test_pak" ] |
+ |
if (!is_mac && !is_ios) { |
sources += [ |
"interpolated_transform_unittest.cc", |