Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: testing/gtest.gyp

Issue 7055003: Last gyp patch for cross-platform Unix support (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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': 'static_library', 9 'type': 'static_library',
10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B', 10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 'gtest_mac.h', 55 'gtest_mac.h',
56 'gtest_mac.mm', 56 'gtest_mac.mm',
57 'platform_test_mac.mm' 57 'platform_test_mac.mm'
58 ], 58 ],
59 'link_settings': { 59 'link_settings': {
60 'libraries': [ 60 'libraries': [
61 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 61 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
62 ], 62 ],
63 }, 63 },
64 }], 64 }],
65 ['OS == "mac" or OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 65 ['os_posix == 1', {
66 'defines': [ 66 'defines': [
67 # gtest isn't able to figure out when RTTI is disabled for gcc 67 # gtest isn't able to figure out when RTTI is disabled for gcc
68 # versions older than 4.3.2, and assumes it's enabled. Our Mac 68 # versions older than 4.3.2, and assumes it's enabled. Our Mac
69 # and Linux builds disable RTTI, and cannot guarantee that the 69 # and Linux builds disable RTTI, and cannot guarantee that the
70 # compiler will be 4.3.2. or newer. The Mac, for example, uses 70 # compiler will be 4.3.2. or newer. The Mac, for example, uses
71 # 4.2.1 as that is the latest available on that platform. gtest 71 # 4.2.1 as that is the latest available on that platform. gtest
72 # must be instructed that RTTI is disabled here, and for any 72 # must be instructed that RTTI is disabled here, and for any
73 # direct dependents that might include gtest headers. 73 # direct dependents that might include gtest headers.
74 'GTEST_HAS_RTTI=0', 74 'GTEST_HAS_RTTI=0',
75 ], 75 ],
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 ], 132 ],
133 }, 133 },
134 ], 134 ],
135 } 135 }
136 136
137 # Local Variables: 137 # Local Variables:
138 # tab-width:2 138 # tab-width:2
139 # indent-tabs-mode:nil 139 # indent-tabs-mode:nil
140 # End: 140 # End:
141 # vim: set expandtab tabstop=2 shiftwidth=2: 141 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« printing/printing.gyp ('K') | « skia/skia.gyp ('k') | third_party/bzip2/bzip2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698