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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'gtest', | 8 'target_name': 'gtest', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'sources': [ | 10 'sources': [ |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 # automatically on android, so it has to be set explicitly here. | 168 # automatically on android, so it has to be set explicitly here. |
169 'GTEST_HAS_TR1_TUPLE=1', | 169 'GTEST_HAS_TR1_TUPLE=1', |
170 ], | 170 ], |
171 'direct_dependent_settings': { | 171 'direct_dependent_settings': { |
172 'defines': [ | 172 'defines': [ |
173 'GTEST_USE_OWN_TR1_TUPLE=1', | 173 'GTEST_USE_OWN_TR1_TUPLE=1', |
174 'GTEST_HAS_TR1_TUPLE=1', | 174 'GTEST_HAS_TR1_TUPLE=1', |
175 ], | 175 ], |
176 }, | 176 }, |
177 }], | 177 }], |
178 ['OS=="win" and (MSVS_VERSION=="2012" or MSVS_VERSION=="2012e")', { | |
179 'defines': [ | |
180 '_VARIADIC_MAX=10', | |
181 ], | |
182 'direct_dependent_settings': { | |
183 'defines': [ | |
184 '_VARIADIC_MAX=10', | |
185 ], | |
186 }, | |
187 }], | |
188 ], | 178 ], |
189 'direct_dependent_settings': { | 179 'direct_dependent_settings': { |
190 'defines': [ | 180 'defines': [ |
191 'UNIT_TEST', | 181 'UNIT_TEST', |
192 ], | 182 ], |
193 'include_dirs': [ | 183 'include_dirs': [ |
194 'gtest/include', # So that gtest headers can find themselves. | 184 'gtest/include', # So that gtest headers can find themselves. |
195 ], | 185 ], |
196 'target_conditions': [ | 186 'target_conditions': [ |
197 ['_type=="executable"', { | 187 ['_type=="executable"', { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 { | 227 { |
238 'target_name': 'gtest_prod', | 228 'target_name': 'gtest_prod', |
239 'toolsets': ['host', 'target'], | 229 'toolsets': ['host', 'target'], |
240 'type': 'none', | 230 'type': 'none', |
241 'sources': [ | 231 'sources': [ |
242 'gtest/include/gtest/gtest_prod.h', | 232 'gtest/include/gtest/gtest_prod.h', |
243 ], | 233 ], |
244 }, | 234 }, |
245 ], | 235 ], |
246 } | 236 } |
OLD | NEW |