| 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   'variables': { |  | 
| 7     'chromium_code': 1, |  | 
| 8   }, |  | 
| 9   'includes': [ | 6   'includes': [ | 
| 10     '../build/common.gypi', | 7     '../build/common.gypi', | 
| 11   ], | 8   ], | 
| 12   'targets': [ | 9   'targets': [ | 
| 13     { | 10     { | 
| 14       'target_name': 'gtest', | 11       'target_name': 'gtest', | 
| 15       'type': '<(library)', | 12       'type': '<(library)', | 
| 16       'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B', | 13       'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B', | 
| 17       'sources': [ | 14       'sources': [ | 
| 18         'gtest/include/gtest/internal/gtest-death-test-internal.h', | 15         'gtest/include/gtest/internal/gtest-death-test-internal.h', | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
| 49         'gtest/include', | 46         'gtest/include', | 
| 50       ], | 47       ], | 
| 51       'conditions': [ | 48       'conditions': [ | 
| 52         [ 'OS == "mac"', { 'sources': [ 'platform_test_mac.mm' ] } ], | 49         [ 'OS == "mac"', { 'sources': [ 'platform_test_mac.mm' ] } ], | 
| 53       ], | 50       ], | 
| 54       'direct_dependent_settings': { | 51       'direct_dependent_settings': { | 
| 55         'defines': [ | 52         'defines': [ | 
| 56           'UNIT_TEST', | 53           'UNIT_TEST', | 
| 57         ], | 54         ], | 
| 58         'include_dirs': [ | 55         'include_dirs': [ | 
| 59           'gtest', | 56           'gtest/include',  # So that gtest headers can find themselves. | 
| 60           'gtest/include', |  | 
| 61         ], | 57         ], | 
| 62         'target_conditions': [ | 58         'target_conditions': [ | 
| 63           ['_type=="executable"', {'test': 1}], | 59           ['_type=="executable"', {'test': 1}], | 
| 64         ], | 60         ], | 
| 65       }, | 61       }, | 
| 66     }, | 62     }, | 
| 67     { | 63     { | 
| 68       # Note that calling this "gtest_main" confuses the scons build, | 64       # Note that calling this "gtest_main" confuses the scons build, | 
| 69       # which uses "_main" on scons files to produce special behavior. | 65       # which uses "_main" on scons files to produce special behavior. | 
| 70       'target_name': 'gtestmain', | 66       'target_name': 'gtestmain', | 
| 71       'type': '<(library)', | 67       'type': '<(library)', | 
| 72       'dependencies': [ | 68       'dependencies': [ | 
| 73         'gtest', | 69         'gtest', | 
| 74       ], | 70       ], | 
| 75       'sources': [ | 71       'sources': [ | 
| 76         'gtest/src/gtest_main.cc', | 72         'gtest/src/gtest_main.cc', | 
| 77       ], | 73       ], | 
| 78     }, | 74     }, | 
| 79   ], | 75   ], | 
| 80 } | 76 } | 
| OLD | NEW | 
|---|