Chromium Code Reviews| Index: ui/gfx/BUILD.gn |
| diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
| index 7115ef211386d1aed8ee369ef5a29f4268148ce3..8d5c1f31fe655d1966f2d968fb4aa9e529ce52a7 100644 |
| --- a/ui/gfx/BUILD.gn |
| +++ b/ui/gfx/BUILD.gn |
| @@ -636,6 +636,16 @@ source_set("test_support") { |
| } |
| } |
| +bundle_data("gfx_unittests_bundle_data") { |
| + sources = [ |
| + "test/data", |
|
Dirk Pranke
2016/03/16 22:06:05
nit: trailing slash
sdefresne
2016/03/17 09:37:19
No, adding a trailing slash will cause an error as
|
| + ] |
| + outputs = [ |
| + "{{bundle_resources_dir}}/" + |
| + "{{source_root_relative_dir}}/{{source_file_part}}", |
| + ] |
| +} |
| + |
| test("gfx_unittests") { |
| sources = [ |
| "font_render_params_linux_unittest.cc", |
| @@ -719,6 +729,7 @@ test("gfx_unittests") { |
| deps = [ |
| ":gfx", |
| + ":gfx_unittests_bundle_data", |
| ":test_support", |
| "//base", |
| "//base/test:test_support", |