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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 'conditions': [ | 99 'conditions': [ |
100 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 100 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
101 'conditions': [ | 101 'conditions': [ |
102 ['use_allocator!="none"', { | 102 ['use_allocator!="none"', { |
103 'dependencies': [ | 103 'dependencies': [ |
104 '../base/allocator/allocator.gyp:allocator', | 104 '../base/allocator/allocator.gyp:allocator', |
105 ], | 105 ], |
106 }], | 106 }], |
107 ], | 107 ], |
108 }], | 108 }], |
109 ['OS == "android" and gtest_target_type == "shared_library"', { | 109 ['OS == "android"', { |
110 'dependencies': [ | 110 'dependencies': [ |
111 '../testing/android/native_test.gyp:native_test_native_code', | 111 '../testing/android/native_test.gyp:native_test_native_code', |
112 ], | 112 ], |
113 }], | 113 }], |
114 ], | 114 ], |
115 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 115 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
116 'msvs_disabled_warnings': [4267, ], | 116 'msvs_disabled_warnings': [4267, ], |
117 }, | 117 }, |
118 ], | 118 ], |
119 'conditions': [ | 119 'conditions': [ |
120 # Special target to wrap a gtest_target_type==shared_library | 120 ['OS == "android"', { |
121 # sql_unittests into an android apk for execution. | |
122 ['OS == "android" and gtest_target_type == "shared_library"', { | |
123 'targets': [ | 121 'targets': [ |
124 { | 122 { |
125 'target_name': 'sql_unittests_apk', | 123 'target_name': 'sql_unittests_apk', |
126 'type': 'none', | 124 'type': 'none', |
127 'dependencies': [ | 125 'dependencies': [ |
128 'sql_unittests', | 126 'sql_unittests', |
129 ], | 127 ], |
130 'variables': { | 128 'variables': { |
131 'test_suite_name': 'sql_unittests', | 129 'test_suite_name': 'sql_unittests', |
132 }, | 130 }, |
133 'includes': [ '../build/apk_test.gypi' ], | 131 'includes': [ '../build/apk_test.gypi' ], |
134 }, | 132 }, |
135 ], | 133 ], |
136 }], | 134 }], |
137 ], | 135 ], |
138 } | 136 } |
OLD | NEW |