summaryrefslogtreecommitdiffstats
path: root/sql/BUILD.gn
diff options
context:
space:
mode:
authordpranke <dpranke@chromium.org>2015-07-22 16:07:43 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-22 23:08:59 +0000
commit177c1e29c1abeb267b3ab1283a4c7c03a398ec6f (patch)
tree516d21ce732fc87744008318a7372dac167cd5ea /sql/BUILD.gn
parent9c3eeb20e87a3c072849e7d45cfda54786e5543f (diff)
downloadchromium_src-177c1e29c1abeb267b3ab1283a4c7c03a398ec6f.zip
chromium_src-177c1e29c1abeb267b3ab1283a4c7c03a398ec6f.tar.gz
chromium_src-177c1e29c1abeb267b3ab1283a4c7c03a398ec6f.tar.bz2
Add GN isolate support for a bunch of unittests.
This enables the following tests to be run under swarming on a GN bot: - angle_unittests - accessibility_unittests - compositor_unittests - cc_unittests - ipc_tests - gl_unittests - sandbox_linux_unittests - gn_unittests - skia_unittests - sql_unittests - url_unittests R=brettw@chromium.org, maruel@chromium.org BUG=504079 CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_rel Review URL: https://codereview.chromium.org/1248673005 Cr-Commit-Position: refs/heads/master@{#339973}
Diffstat (limited to 'sql/BUILD.gn')
-rw-r--r--sql/BUILD.gn13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/BUILD.gn b/sql/BUILD.gn
index fdf8c7b..38f85b4 100644
--- a/sql/BUILD.gn
+++ b/sql/BUILD.gn
@@ -65,6 +65,15 @@ source_set("redirection_header") {
]
}
+# TODO(GYP): Delete this after we've converted everything to GN.
+# The _run targets exist only for compatibility w/ GYP.
+group("sql_unittests_run") {
+ testonly = true
+ deps = [
+ ":sql_unittests",
+ ]
+}
+
test("sql_unittests") {
sources = [
"connection_unittest.cc",
@@ -82,6 +91,10 @@ test("sql_unittests") {
"transaction_unittest.cc",
]
+ data = [
+ "test/data/",
+ ]
+
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]