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

Side by Side Diff: sql/BUILD.gn

Issue 1664653003: Revert of Move gn _run target generation into test(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « skia/BUILD.gn ('k') | sync/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 component("sql") { 7 component("sql") {
8 sources = [ 8 sources = [
9 "connection.cc", 9 "connection.cc",
10 "connection.h", 10 "connection.h",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 # This target exists because we need a way to switch between 62 # This target exists because we need a way to switch between
63 # "test/sql_test_base.h" and "mojo/sql_test_base.h" at compile time, to allow 63 # "test/sql_test_base.h" and "mojo/sql_test_base.h" at compile time, to allow
64 # us to switch out the gtest vs mojo:apptest frameworks. 64 # us to switch out the gtest vs mojo:apptest frameworks.
65 check_includes = false 65 check_includes = false
66 66
67 sources = [ 67 sources = [
68 "correct_sql_test_base.h", 68 "correct_sql_test_base.h",
69 ] 69 ]
70 } 70 }
71 71
72 # TODO(GYP): Delete this after we've converted everything to GN.
73 # The _run targets exist only for compatibility w/ GYP.
74 group("sql_unittests_run") {
75 testonly = true
76 deps = [
77 ":sql_unittests",
78 ]
79 }
80
72 test("sql_unittests") { 81 test("sql_unittests") {
73 sources = [ 82 sources = [
74 "connection_unittest.cc", 83 "connection_unittest.cc",
75 "meta_table_unittest.cc", 84 "meta_table_unittest.cc",
76 "recovery_unittest.cc", 85 "recovery_unittest.cc",
77 "sql_memory_dump_provider_unittest.cc", 86 "sql_memory_dump_provider_unittest.cc",
78 "sqlite_features_unittest.cc", 87 "sqlite_features_unittest.cc",
79 "statement_unittest.cc", 88 "statement_unittest.cc",
80 "test/paths.cc", 89 "test/paths.cc",
81 "test/paths.h", 90 "test/paths.h",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 #'target_name': 'sql_unittests_apk', 129 #'target_name': 'sql_unittests_apk',
121 #'type': 'none', 130 #'type': 'none',
122 #'dependencies': [ 131 #'dependencies': [
123 # 'sql_unittests', 132 # 'sql_unittests',
124 #], 133 #],
125 #'variables': { 134 #'variables': {
126 # 'test_suite_name': 'sql_unittests', 135 # 'test_suite_name': 'sql_unittests',
127 #}, 136 #},
128 #'includes': [ '../build/apk_test.gypi' ], 137 #'includes': [ '../build/apk_test.gypi' ],
129 } 138 }
OLDNEW
« no previous file with comments | « skia/BUILD.gn ('k') | sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698