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 { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 '..', | 73 '..', |
74 ], | 74 ], |
75 }, | 75 }, |
76 }, | 76 }, |
77 { | 77 { |
78 'target_name': 'sql_unittests', | 78 'target_name': 'sql_unittests', |
79 'type': '<(gtest_target_type)', | 79 'type': '<(gtest_target_type)', |
80 'dependencies': [ | 80 'dependencies': [ |
81 'sql', | 81 'sql', |
82 'test_support_sql', | 82 'test_support_sql', |
83 '../base/base.gyp:run_all_unittests', | |
84 '../base/base.gyp:test_support_base', | 83 '../base/base.gyp:test_support_base', |
85 '../testing/gtest.gyp:gtest', | 84 '../testing/gtest.gyp:gtest', |
86 '../third_party/sqlite/sqlite.gyp:sqlite', | 85 '../third_party/sqlite/sqlite.gyp:sqlite', |
87 ], | 86 ], |
88 'sources': [ | 87 'sources': [ |
89 'connection_unittest.cc', | 88 'connection_unittest.cc', |
90 'meta_table_unittest.cc', | 89 'meta_table_unittest.cc', |
91 'recovery_unittest.cc', | 90 'recovery_unittest.cc', |
92 'sqlite_features_unittest.cc', | 91 'sqlite_features_unittest.cc', |
93 'statement_unittest.cc', | 92 'statement_unittest.cc', |
| 93 'test/paths.cc', |
| 94 'test/paths.h', |
| 95 'test/run_all_unittests.cc', |
| 96 'test/sql_test_suite.cc', |
| 97 'test/sql_test_suite.h', |
94 'transaction_unittest.cc', | 98 'transaction_unittest.cc', |
95 ], | 99 ], |
96 'include_dirs': [ | 100 'include_dirs': [ |
97 '..', | 101 '..', |
98 ], | 102 ], |
99 'conditions': [ | 103 'conditions': [ |
100 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 104 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
101 'conditions': [ | 105 'conditions': [ |
102 ['use_allocator!="none"', { | 106 ['use_allocator!="none"', { |
103 'dependencies': [ | 107 'dependencies': [ |
(...skipping 21 matching lines...) Expand all Loading... |
125 'dependencies': [ | 129 'dependencies': [ |
126 'sql_unittests', | 130 'sql_unittests', |
127 ], | 131 ], |
128 'variables': { | 132 'variables': { |
129 'test_suite_name': 'sql_unittests', | 133 'test_suite_name': 'sql_unittests', |
130 }, | 134 }, |
131 'includes': [ '../build/apk_test.gypi' ], | 135 'includes': [ '../build/apk_test.gypi' ], |
132 }, | 136 }, |
133 ], | 137 ], |
134 }], | 138 }], |
| 139 ['test_isolation_mode != "noop"', { |
| 140 'targets': [ |
| 141 { |
| 142 'target_name': 'sql_unittests_run', |
| 143 'type': 'none', |
| 144 'dependencies': [ |
| 145 'sql_unittests', |
| 146 ], |
| 147 'includes': [ |
| 148 '../build/isolate.gypi', |
| 149 'sql_unittests.isolate', |
| 150 ], |
| 151 'sources': [ |
| 152 'sql_unittests.isolate', |
| 153 ], |
| 154 }, |
| 155 ], |
| 156 }], |
135 ], | 157 ], |
136 } | 158 } |
OLD | NEW |