OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'sql', | 11 'target_name': 'sql', |
12 'type': '<(component)', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
15 '../third_party/sqlite/sqlite.gyp:sqlite', | 15 '../third_party/sqlite/sqlite.gyp:sqlite', |
16 ], | 16 ], |
17 'export_dependent_settings': [ | 17 'export_dependent_settings': [ |
18 '../base/base.gyp:base', | 18 '../base/base.gyp:base', |
19 ], | 19 ], |
20 'defines': [ 'SQL_IMPLEMENTATION' ], | 20 'defines': [ 'SQL_IMPLEMENTATION' ], |
21 'sources': [ | 21 'sources': [ |
22 'connection.cc', | 22 'connection.cc', |
23 'connection.h', | 23 'connection.h', |
24 'error_delegate_util.cc', | 24 'error_delegate_util.cc', |
25 'error_delegate_util.h', | 25 'error_delegate_util.h', |
26 'init_status.h', | 26 'init_status.h', |
27 'meta_table.cc', | 27 'meta_table.cc', |
28 'meta_table.h', | 28 'meta_table.h', |
| 29 'recovery.cc', |
| 30 'recovery.h', |
29 'statement.cc', | 31 'statement.cc', |
30 'statement.h', | 32 'statement.h', |
31 'transaction.cc', | 33 'transaction.cc', |
32 'transaction.h', | 34 'transaction.h', |
33 ], | 35 ], |
34 'include_dirs': [ | 36 'include_dirs': [ |
35 '..', | 37 '..', |
36 ], | 38 ], |
37 'direct_dependent_settings': { | 39 'direct_dependent_settings': { |
38 'include_dirs': [ | 40 'include_dirs': [ |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 'type': '<(gtest_target_type)', | 76 'type': '<(gtest_target_type)', |
75 'dependencies': [ | 77 'dependencies': [ |
76 'sql', | 78 'sql', |
77 'test_support_sql', | 79 'test_support_sql', |
78 '../base/base.gyp:test_support_base', | 80 '../base/base.gyp:test_support_base', |
79 '../testing/gtest.gyp:gtest', | 81 '../testing/gtest.gyp:gtest', |
80 ], | 82 ], |
81 'sources': [ | 83 'sources': [ |
82 'run_all_unittests.cc', | 84 'run_all_unittests.cc', |
83 'connection_unittest.cc', | 85 'connection_unittest.cc', |
| 86 'recovery_unittest.cc', |
84 'sqlite_features_unittest.cc', | 87 'sqlite_features_unittest.cc', |
85 'statement_unittest.cc', | 88 'statement_unittest.cc', |
86 'transaction_unittest.cc', | 89 'transaction_unittest.cc', |
87 ], | 90 ], |
88 'include_dirs': [ | 91 'include_dirs': [ |
89 '..', | 92 '..', |
90 ], | 93 ], |
91 'conditions': [ | 94 'conditions': [ |
92 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 95 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
93 'conditions': [ | 96 'conditions': [ |
(...skipping 28 matching lines...) Expand all Loading... |
122 'variables': { | 125 'variables': { |
123 'test_suite_name': 'sql_unittests', | 126 'test_suite_name': 'sql_unittests', |
124 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sql_unitt
ests<(SHARED_LIB_SUFFIX)', | 127 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sql_unitt
ests<(SHARED_LIB_SUFFIX)', |
125 }, | 128 }, |
126 'includes': [ '../build/apk_test.gypi' ], | 129 'includes': [ '../build/apk_test.gypi' ], |
127 }, | 130 }, |
128 ], | 131 ], |
129 }], | 132 }], |
130 ], | 133 ], |
131 } | 134 } |
OLD | NEW |