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

Side by Side Diff: sql/BUILD.gn

Issue 1327063002: [tracing] Add sqlite memory statistics to tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 2 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
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",
11 "error_delegate_util.cc", 11 "error_delegate_util.cc",
12 "error_delegate_util.h", 12 "error_delegate_util.h",
13 "init_status.h", 13 "init_status.h",
14 "meta_table.cc", 14 "meta_table.cc",
15 "meta_table.h", 15 "meta_table.h",
16 "recovery.cc", 16 "recovery.cc",
17 "recovery.h", 17 "recovery.h",
18 "sql_memory_dump_provider.cc",
19 "sql_memory_dump_provider.h",
18 "statement.cc", 20 "statement.cc",
19 "statement.h", 21 "statement.h",
20 "transaction.cc", 22 "transaction.cc",
21 "transaction.h", 23 "transaction.h",
22 ] 24 ]
23 25
24 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
26 28
27 defines = [ "SQL_IMPLEMENTATION" ] 29 defines = [ "SQL_IMPLEMENTATION" ]
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 deps = [ 72 deps = [
71 ":sql_unittests", 73 ":sql_unittests",
72 ] 74 ]
73 } 75 }
74 76
75 test("sql_unittests") { 77 test("sql_unittests") {
76 sources = [ 78 sources = [
77 "connection_unittest.cc", 79 "connection_unittest.cc",
78 "meta_table_unittest.cc", 80 "meta_table_unittest.cc",
79 "recovery_unittest.cc", 81 "recovery_unittest.cc",
82 "sql_memory_dump_provider_unittest.cc",
80 "sqlite_features_unittest.cc", 83 "sqlite_features_unittest.cc",
81 "statement_unittest.cc", 84 "statement_unittest.cc",
82 "test/paths.cc", 85 "test/paths.cc",
83 "test/paths.h", 86 "test/paths.h",
84 "test/run_all_unittests.cc", 87 "test/run_all_unittests.cc",
85 "test/sql_test_base.cc", 88 "test/sql_test_base.cc",
86 "test/sql_test_base.h", 89 "test/sql_test_base.h",
87 "test/sql_test_suite.cc", 90 "test/sql_test_suite.cc",
88 "test/sql_test_suite.h", 91 "test/sql_test_suite.h",
89 "transaction_unittest.cc", 92 "transaction_unittest.cc",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 #'target_name': 'sql_unittests_apk', 126 #'target_name': 'sql_unittests_apk',
124 #'type': 'none', 127 #'type': 'none',
125 #'dependencies': [ 128 #'dependencies': [
126 # 'sql_unittests', 129 # 'sql_unittests',
127 #], 130 #],
128 #'variables': { 131 #'variables': {
129 # 'test_suite_name': 'sql_unittests', 132 # 'test_suite_name': 'sql_unittests',
130 #}, 133 #},
131 #'includes': [ '../build/apk_test.gypi' ], 134 #'includes': [ '../build/apk_test.gypi' ],
132 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698