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 14 matching lines...) Expand all Loading... | |
25 'meta_table.h', | 25 'meta_table.h', |
26 'statement.cc', | 26 'statement.cc', |
27 'statement.h', | 27 'statement.h', |
28 'transaction.cc', | 28 'transaction.cc', |
29 'transaction.h', | 29 'transaction.h', |
30 ], | 30 ], |
31 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 31 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
32 'msvs_disabled_warnings': [4267, ], | 32 'msvs_disabled_warnings': [4267, ], |
33 }, | 33 }, |
34 { | 34 { |
35 'target_name': 'test_support_sql', | |
36 'type': 'static_library', | |
37 'defines': [ 'SQL_IMPLEMENTATION' ], | |
erikwright (departed)
2013/06/13 01:26:24
I think this define should be removed. It is only
Scott Hess - ex-Googler
2013/06/13 03:23:27
Done.
| |
38 'dependencies': [ | |
39 'sql', | |
40 '../base/base.gyp:test_support_base', | |
41 '../testing/gtest.gyp:gtest', | |
42 ], | |
43 'export_dependent_settings': [ | |
44 'sql', | |
45 ], | |
46 'sources': [ | |
47 'test/scoped_error_ignorer.cc', | |
48 'test/scoped_error_ignorer.h', | |
49 ], | |
50 }, | |
51 { | |
35 'target_name': 'sql_unittests', | 52 'target_name': 'sql_unittests', |
36 'type': '<(gtest_target_type)', | 53 'type': '<(gtest_target_type)', |
37 'dependencies': [ | 54 'dependencies': [ |
38 'sql', | 55 'test_support_sql', |
erikwright (departed)
2013/06/13 01:26:24
In the spirit of IWYU I think you should not rely
Scott Hess - ex-Googler
2013/06/13 03:23:27
Done.
| |
39 '../base/base.gyp:test_support_base', | 56 '../base/base.gyp:test_support_base', |
40 '../testing/gtest.gyp:gtest', | 57 '../testing/gtest.gyp:gtest', |
41 ], | 58 ], |
42 'sources': [ | 59 'sources': [ |
43 'run_all_unittests.cc', | 60 'run_all_unittests.cc', |
44 'connection_unittest.cc', | 61 'connection_unittest.cc', |
45 'sqlite_features_unittest.cc', | 62 'sqlite_features_unittest.cc', |
46 'statement_unittest.cc', | 63 'statement_unittest.cc', |
47 'transaction_unittest.cc', | 64 'transaction_unittest.cc', |
48 ], | 65 ], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 'variables': { | 100 'variables': { |
84 'test_suite_name': 'sql_unittests', | 101 'test_suite_name': 'sql_unittests', |
85 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sql_unitt ests<(SHARED_LIB_SUFFIX)', | 102 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sql_unitt ests<(SHARED_LIB_SUFFIX)', |
86 }, | 103 }, |
87 'includes': [ '../build/apk_test.gypi' ], | 104 'includes': [ '../build/apk_test.gypi' ], |
88 }, | 105 }, |
89 ], | 106 ], |
90 }], | 107 }], |
91 ], | 108 ], |
92 } | 109 } |
OLD | NEW |