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

Unified Diff: sql/BUILD.gn

Issue 1811633002: [iOS] Define bundle_data target for //sql:sql_unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@net
Patch Set: Rebase on origin/master 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/BUILD.gn
diff --git a/sql/BUILD.gn b/sql/BUILD.gn
index 8c1cbb79997e2fc766fb2829362f0a1bf267ab64..b2ca63849f918ae42b403190b46ac40c097a3464 100644
--- a/sql/BUILD.gn
+++ b/sql/BUILD.gn
@@ -69,6 +69,17 @@ source_set("redirection_header") {
]
}
+bundle_data("sql_unittests_bundle_data") {
+ testonly = true
+ sources = [
+ "test/data",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/" +
+ "{{source_root_relative_dir}}/{{source_file_part}}",
+ ]
+}
+
test("sql_unittests") {
sources = [
"connection_unittest.cc",
@@ -97,6 +108,7 @@ test("sql_unittests") {
deps = [
":redirection_header",
":sql",
+ ":sql_unittests_bundle_data",
":test_support",
"//base/test:test_support",
"//testing/gtest",
@@ -113,8 +125,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) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698