| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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': '<(library)', | 9 'type': '<(library)', |
| 10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B', | 10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B', |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 'include_dirs': [ | 101 'include_dirs': [ |
| 102 'gtest/include', # So that gtest headers can find themselves. | 102 'gtest/include', # So that gtest headers can find themselves. |
| 103 ], | 103 ], |
| 104 'target_conditions': [ | 104 'target_conditions': [ |
| 105 ['_type=="executable"', {'test': 1}], | 105 ['_type=="executable"', {'test': 1}], |
| 106 ], | 106 ], |
| 107 'msvs_disabled_warnings': [4800], | 107 'msvs_disabled_warnings': [4800], |
| 108 }, | 108 }, |
| 109 }, | 109 }, |
| 110 { | 110 { |
| 111 # Note that calling this "gtest_main" confuses the scons build, | 111 'target_name': 'gtest_main', |
| 112 # which uses "_main" on scons files to produce special behavior. | |
| 113 'target_name': 'gtestmain', | |
| 114 'type': '<(library)', | 112 'type': '<(library)', |
| 115 'dependencies': [ | 113 'dependencies': [ |
| 116 'gtest', | 114 'gtest', |
| 117 ], | 115 ], |
| 118 'sources': [ | 116 'sources': [ |
| 119 'gtest/src/gtest_main.cc', | 117 'gtest/src/gtest_main.cc', |
| 120 ], | 118 ], |
| 121 }, | 119 }, |
| 122 ], | 120 ], |
| 123 } | 121 } |
| 124 | 122 |
| 125 # Local Variables: | 123 # Local Variables: |
| 126 # tab-width:2 | 124 # tab-width:2 |
| 127 # indent-tabs-mode:nil | 125 # indent-tabs-mode:nil |
| 128 # End: | 126 # End: |
| 129 # vim: set expandtab tabstop=2 shiftwidth=2: | 127 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |