Index: sql/BUILD.gn |
diff --git a/sql/BUILD.gn b/sql/BUILD.gn |
index 8c1cbb79997e2fc766fb2829362f0a1bf267ab64..fff35bf75eb2c25bc3dde98eb15d0d4202465cf8 100644 |
--- a/sql/BUILD.gn |
+++ b/sql/BUILD.gn |
@@ -69,6 +69,16 @@ source_set("redirection_header") { |
] |
} |
+bundle_data("sql_unittests_bundle_data") { |
+ sources = [ |
+ "test/data", |
Dirk Pranke
2016/03/16 22:03:42
nit: please use a trailing slash, assuming that wo
sdefresne
2016/03/17 17:54:00
Will be addressed once https://bugs.chromium.org/p
|
+ ] |
+ outputs = [ |
+ "{{bundle_resources_dir}}/" + |
+ "{{source_root_relative_dir}}/{{source_file_part}}", |
+ ] |
+} |
+ |
test("sql_unittests") { |
sources = [ |
"connection_unittest.cc", |
@@ -97,6 +107,7 @@ test("sql_unittests") { |
deps = [ |
":redirection_header", |
":sql", |
+ ":sql_unittests_bundle_data", |
":test_support", |
"//base/test:test_support", |
"//testing/gtest", |
@@ -113,8 +124,6 @@ test("sql_unittests") { |
# '../testing/android/native_test.gyp:native_test_native_code', |
# ], |
#}], |
- |
- # TODO(GYP): dep on copy_test_data_ios action. |
} |
if (is_android) { |