| 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 'toolsets': ['host', 'target'], | 9 'toolsets': ['host', 'target'], |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 'gtest', | 48 'gtest', |
| 49 'gtest/include', | 49 'gtest/include', |
| 50 ], | 50 ], |
| 51 'dependencies': [ | 51 'dependencies': [ |
| 52 'gtest_prod', | 52 'gtest_prod', |
| 53 ], | 53 ], |
| 54 'defines': [ | 54 'defines': [ |
| 55 # In order to allow regex matches in gtest to be shared between Windows | 55 # In order to allow regex matches in gtest to be shared between Windows |
| 56 # and other systems, we tell gtest to always use it's internal engine. | 56 # and other systems, we tell gtest to always use it's internal engine. |
| 57 'GTEST_HAS_POSIX_RE=0', | 57 'GTEST_HAS_POSIX_RE=0', |
| 58 # Chrome doesn't support / require C++11, yet. |
| 59 'GTEST_LANG_CXX11=0', |
| 58 ], | 60 ], |
| 59 'all_dependent_settings': { | 61 'all_dependent_settings': { |
| 60 'defines': [ | 62 'defines': [ |
| 61 'GTEST_HAS_POSIX_RE=0', | 63 'GTEST_HAS_POSIX_RE=0', |
| 64 'GTEST_LANG_CXX11=0', |
| 62 ], | 65 ], |
| 63 }, | 66 }, |
| 64 'conditions': [ | 67 'conditions': [ |
| 65 ['OS == "mac" or OS == "ios"', { | 68 ['OS == "mac" or OS == "ios"', { |
| 66 'sources': [ | 69 'sources': [ |
| 67 'gtest_mac.h', | 70 'gtest_mac.h', |
| 68 'gtest_mac.mm', | 71 'gtest_mac.mm', |
| 69 ], | 72 ], |
| 70 'link_settings': { | 73 'link_settings': { |
| 71 'libraries': [ | 74 'libraries': [ |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 { | 240 { |
| 238 'target_name': 'gtest_prod', | 241 'target_name': 'gtest_prod', |
| 239 'toolsets': ['host', 'target'], | 242 'toolsets': ['host', 'target'], |
| 240 'type': 'none', | 243 'type': 'none', |
| 241 'sources': [ | 244 'sources': [ |
| 242 'gtest/include/gtest/gtest_prod.h', | 245 'gtest/include/gtest/gtest_prod.h', |
| 243 ], | 246 ], |
| 244 }, | 247 }, |
| 245 ], | 248 ], |
| 246 } | 249 } |
| OLD | NEW |