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

Side by Side Diff: testing/gtest.gyp

Issue 3028047: This adds adds four macros when compiling using GTEST_OS_MAC: (Closed)
Patch Set: Fix compile Created 10 years, 4 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
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': '<(library)', 9 'type': '<(library)',
10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B', 10 'msvs_guid': 'BFE8E2A7-3B3B-43B0-A994-3058B852DB8B',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'sources!': [ 44 'sources!': [
45 'gtest/src/gtest-all.cc', # Not needed by our build. 45 'gtest/src/gtest-all.cc', # Not needed by our build.
46 ], 46 ],
47 'include_dirs': [ 47 'include_dirs': [
48 'gtest', 48 'gtest',
49 'gtest/include', 49 'gtest/include',
50 ], 50 ],
51 'conditions': [ 51 'conditions': [
52 ['OS == "mac"', { 52 ['OS == "mac"', {
53 'sources': [ 53 'sources': [
54 'gtest_mac.h',
55 'gtest_mac.mm',
54 'platform_test_mac.mm' 56 'platform_test_mac.mm'
55 ], 57 ],
56 'link_settings': { 58 'link_settings': {
57 'libraries': [ 59 'libraries': [
58 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 60 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
59 ], 61 ],
60 }, 62 },
61 }], 63 }],
62 ['OS == "mac" or OS == "linux" or OS == "freebsd" or OS == "openbsd"', { 64 ['OS == "mac" or OS == "linux" or OS == "freebsd" or OS == "openbsd"', {
63 'defines': [ 65 'defines': [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ], 105 ],
104 }, 106 },
105 ], 107 ],
106 } 108 }
107 109
108 # Local Variables: 110 # Local Variables:
109 # tab-width:2 111 # tab-width:2
110 # indent-tabs-mode:nil 112 # indent-tabs-mode:nil
111 # End: 113 # End:
112 # vim: set expandtab tabstop=2 shiftwidth=2: 114 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | testing/gtest_mac.h » ('j') | testing/gtest_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698