| OLD | NEW |
| 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 component("sql") { | 5 component("sql") { |
| 6 sources = [ | 6 sources = [ |
| 7 "connection.cc", | 7 "connection.cc", |
| 8 "connection.h", | 8 "connection.h", |
| 9 "error_delegate_util.cc", | 9 "error_delegate_util.cc", |
| 10 "error_delegate_util.h", | 10 "error_delegate_util.h", |
| 11 "init_status.h", | 11 "init_status.h", |
| 12 "meta_table.cc", | 12 "meta_table.cc", |
| 13 "meta_table.h", | 13 "meta_table.h", |
| 14 "recovery.cc", | 14 "recovery.cc", |
| 15 "recovery.h", | 15 "recovery.h", |
| 16 "statement.cc", | 16 "statement.cc", |
| 17 "statement.h", | 17 "statement.h", |
| 18 "transaction.cc", | 18 "transaction.cc", |
| 19 "transaction.h", | 19 "transaction.h", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 defines = [ "SQL_IMPLEMENTATION" ] | 22 defines = [ "SQL_IMPLEMENTATION" ] |
| 23 | 23 |
| 24 if (is_win) { | 24 if (is_win) { |
| 25 cflags += [ "/wd4267" ] # size_t to int. | 25 cflags = [ "/wd4267" ] # size_t to int. |
| 26 } | 26 } |
| 27 | 27 |
| 28 deps = [ | 28 deps = [ |
| 29 "//base", | 29 "//base", |
| 30 "//third_party/sqlite", | 30 "//third_party/sqlite", |
| 31 "//base/third_party/dynamic_annotations", | 31 "//base/third_party/dynamic_annotations", |
| 32 ] | 32 ] |
| 33 } | 33 } |
| 34 | 34 |
| 35 source_set("test_support") { | 35 source_set("test_support") { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #'target_name': 'sql_unittests_apk', | 85 #'target_name': 'sql_unittests_apk', |
| 86 #'type': 'none', | 86 #'type': 'none', |
| 87 #'dependencies': [ | 87 #'dependencies': [ |
| 88 # 'sql_unittests', | 88 # 'sql_unittests', |
| 89 #], | 89 #], |
| 90 #'variables': { | 90 #'variables': { |
| 91 # 'test_suite_name': 'sql_unittests', | 91 # 'test_suite_name': 'sql_unittests', |
| 92 #}, | 92 #}, |
| 93 #'includes': [ '../build/apk_test.gypi' ], | 93 #'includes': [ '../build/apk_test.gypi' ], |
| 94 } | 94 } |
| OLD | NEW |