Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: ui/gfx/BUILD.gn

Issue 1806033002: [iOS] Define bundle_data target for //ui unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@google_apis
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698