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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 ['OS == "mac"', { | 52 ['OS == "mac"', { |
53 'sources': [ | 53 'sources': [ |
54 'platform_test_mac.mm' | 54 'platform_test_mac.mm' |
55 ], | 55 ], |
56 'link_settings': { | 56 'link_settings': { |
57 'libraries': [ | 57 'libraries': [ |
58 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 58 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
59 ], | 59 ], |
60 }, | 60 }, |
61 }], | 61 }], |
62 ['OS == "mac" or OS == "linux"', { | 62 ['OS == "mac" or OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
63 'defines': [ | 63 'defines': [ |
64 # gtest isn't able to figure out when RTTI is disabled for gcc | 64 # gtest isn't able to figure out when RTTI is disabled for gcc |
65 # versions older than 4.3.2, and assumes it's enabled. Our Mac | 65 # versions older than 4.3.2, and assumes it's enabled. Our Mac |
66 # and Linux builds disable RTTI, and cannot guarantee that the | 66 # and Linux builds disable RTTI, and cannot guarantee that the |
67 # compiler will be 4.3.2. or newer. The Mac, for example, uses | 67 # compiler will be 4.3.2. or newer. The Mac, for example, uses |
68 # 4.2.1 as that is the latest available on that platform. gtest | 68 # 4.2.1 as that is the latest available on that platform. gtest |
69 # must be instructed that RTTI is disabled here, and for any | 69 # must be instructed that RTTI is disabled here, and for any |
70 # direct dependents that might include gtest headers. | 70 # direct dependents that might include gtest headers. |
71 'GTEST_HAS_RTTI=0', | 71 'GTEST_HAS_RTTI=0', |
72 ], | 72 ], |
(...skipping 30 matching lines...) Expand all Loading... |
103 ], | 103 ], |
104 }, | 104 }, |
105 ], | 105 ], |
106 } | 106 } |
107 | 107 |
108 # Local Variables: | 108 # Local Variables: |
109 # tab-width:2 | 109 # tab-width:2 |
110 # indent-tabs-mode:nil | 110 # indent-tabs-mode:nil |
111 # End: | 111 # End: |
112 # vim: set expandtab tabstop=2 shiftwidth=2: | 112 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |