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 11 matching lines...) Expand all Loading... |
22 'error_delegate_util.cc', | 22 'error_delegate_util.cc', |
23 'error_delegate_util.h', | 23 'error_delegate_util.h', |
24 'init_status.h', | 24 'init_status.h', |
25 'meta_table.cc', | 25 'meta_table.cc', |
26 'meta_table.h', | 26 'meta_table.h', |
27 'statement.cc', | 27 'statement.cc', |
28 'statement.h', | 28 'statement.h', |
29 'transaction.cc', | 29 'transaction.cc', |
30 'transaction.h', | 30 'transaction.h', |
31 ], | 31 ], |
| 32 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 33 'msvs_disabled_warnings': [4267, ], |
32 }, | 34 }, |
33 { | 35 { |
34 'target_name': 'sql_unittests', | 36 'target_name': 'sql_unittests', |
35 'type': '<(gtest_target_type)', | 37 'type': '<(gtest_target_type)', |
36 'dependencies': [ | 38 'dependencies': [ |
37 'sql', | 39 'sql', |
38 '../base/base.gyp:test_support_base', | 40 '../base/base.gyp:test_support_base', |
39 '../testing/gtest.gyp:gtest', | 41 '../testing/gtest.gyp:gtest', |
40 ], | 42 ], |
41 'sources': [ | 43 'sources': [ |
(...skipping 15 matching lines...) Expand all Loading... |
57 ], | 59 ], |
58 }], | 60 }], |
59 ], | 61 ], |
60 }], | 62 }], |
61 ['OS == "android" and gtest_target_type == "shared_library"', { | 63 ['OS == "android" and gtest_target_type == "shared_library"', { |
62 'dependencies': [ | 64 'dependencies': [ |
63 '../testing/android/native_test.gyp:native_test_native_code', | 65 '../testing/android/native_test.gyp:native_test_native_code', |
64 ], | 66 ], |
65 }], | 67 }], |
66 ], | 68 ], |
| 69 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 70 'msvs_disabled_warnings': [4267, ], |
67 }, | 71 }, |
68 ], | 72 ], |
69 'conditions': [ | 73 'conditions': [ |
70 # Special target to wrap a gtest_target_type==shared_library | 74 # Special target to wrap a gtest_target_type==shared_library |
71 # sql_unittests into an android apk for execution. | 75 # sql_unittests into an android apk for execution. |
72 ['OS == "android" and gtest_target_type == "shared_library"', { | 76 ['OS == "android" and gtest_target_type == "shared_library"', { |
73 'targets': [ | 77 'targets': [ |
74 { | 78 { |
75 'target_name': 'sql_unittests_apk', | 79 'target_name': 'sql_unittests_apk', |
76 'type': 'none', | 80 'type': 'none', |
77 'dependencies': [ | 81 'dependencies': [ |
78 'sql_unittests', | 82 'sql_unittests', |
79 ], | 83 ], |
80 'variables': { | 84 'variables': { |
81 'test_suite_name': 'sql_unittests', | 85 'test_suite_name': 'sql_unittests', |
82 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sql_unitt
ests<(SHARED_LIB_SUFFIX)', | 86 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sql_unitt
ests<(SHARED_LIB_SUFFIX)', |
83 }, | 87 }, |
84 'includes': [ '../build/apk_test.gypi' ], | 88 'includes': [ '../build/apk_test.gypi' ], |
85 }, | 89 }, |
86 ], | 90 ], |
87 }], | 91 }], |
88 ], | 92 ], |
89 } | 93 } |
OLD | NEW |