Index: ui/gfx/BUILD.gn |
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
index c14d22d4af7dfc863403da7745d5c04b5388bb73..ff7a9def610198094e720cd5cbd174b7a48f815d 100644 |
--- a/ui/gfx/BUILD.gn |
+++ b/ui/gfx/BUILD.gn |
@@ -452,6 +452,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", |
@@ -467,6 +476,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", |
@@ -536,6 +550,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", |