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

Side by Side Diff: third_party/ocmock/ocmock.gyp

Issue 7031014: Support for better integration between OCMock and gtest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'conditions': [ 8 'conditions': [
9 ['OS=="mac"', { 9 ['OS=="mac"', {
10 'targets' : [ 10 'targets' : [
11 { 11 {
12 'target_name' : 'ocmock', 12 'target_name' : 'ocmock',
13 'type': '<(library)', 13 'type': '<(library)',
14 'include_dirs':[ '.',], 14 'include_dirs': [ '.', '../..', ],
Mark Mentovai 2011/05/16 22:16:38 Surprised you needed this. I assume it was for the
TVL 2011/05/17 14:57:16 Almost every projects start be setting the include
15 'direct_dependent_settings': { 15 'direct_dependent_settings': {
16 'include_dirs': [ '.', ], 16 'include_dirs': [ '.', ],
17 }, 17 },
18 'dependencies': [
19 '<(DEPTH)/testing/gtest.gyp:gtest',
Mark Mentovai 2011/05/16 22:16:38 Don’t use DEPTH unless you need it. Just write a r
TVL 2011/05/17 14:57:16 Done.
20 ],
18 'sources': [ 21 'sources': [
22 # Helper for using with gtest.
23 'gtest_support.h',
24 'gtest_support.mm',
25 # OCMock sources.
Mark Mentovai 2011/05/16 22:16:38 Blank before.
TVL 2011/05/17 14:57:16 Done.
19 'OCMock/NSInvocation+OCMAdditions.h', 26 'OCMock/NSInvocation+OCMAdditions.h',
20 'OCMock/OCMObserverRecorder.m', 27 'OCMock/OCMObserverRecorder.m',
21 'OCMock/NSInvocation+OCMAdditions.m', 28 'OCMock/NSInvocation+OCMAdditions.m',
22 'OCMock/NSMethodSignature+OCMAdditions.h',» 29 'OCMock/NSMethodSignature+OCMAdditions.h',
Mark Mentovai 2011/05/16 22:16:38 Heh, who let the tabs in here?
23 'OCMock/NSMethodSignature+OCMAdditions.m',» 30 'OCMock/NSMethodSignature+OCMAdditions.m',
24 'OCMock/NSNotificationCenter+OCMAdditions.h',» 31 'OCMock/NSNotificationCenter+OCMAdditions.h',
25 'OCMock/NSNotificationCenter+OCMAdditions.m',» 32 'OCMock/NSNotificationCenter+OCMAdditions.m',
26 'OCMock/OCClassMockObject.h',» » » 33 'OCMock/OCClassMockObject.h',
27 'OCMock/OCClassMockObject.m',» » » 34 'OCMock/OCClassMockObject.m',
28 'OCMock/OCMArg.h',» » » » 35 'OCMock/OCMArg.h',
29 'OCMock/OCMArg.m',» » » » 36 'OCMock/OCMArg.m',
30 'OCMock/OCMBlockCaller.h', 37 'OCMock/OCMBlockCaller.h',
31 'OCMock/OCMBlockCaller.m', 38 'OCMock/OCMBlockCaller.m',
32 'OCMock/OCMBoxedReturnValueProvider.h',» » 39 'OCMock/OCMBoxedReturnValueProvider.h',
33 'OCMock/OCMBoxedReturnValueProvider.m',» » 40 'OCMock/OCMBoxedReturnValueProvider.m',
34 'OCMock/OCMConstraint.h',» » » » 41 'OCMock/OCMConstraint.h',
35 'OCMock/OCMConstraint.m',» » » » 42 'OCMock/OCMConstraint.m',
36 'OCMock/OCMExceptionReturnValueProvider.h',» 43 'OCMock/OCMExceptionReturnValueProvider.h',
37 'OCMock/OCMExceptionReturnValueProvider.m',» 44 'OCMock/OCMExceptionReturnValueProvider.m',
38 'OCMock/OCMIndirectReturnValueProvider.h',» 45 'OCMock/OCMIndirectReturnValueProvider.h',
39 'OCMock/OCMIndirectReturnValueProvider.m',» 46 'OCMock/OCMIndirectReturnValueProvider.m',
40 'OCMock/OCMNotificationPoster.h',» » » 47 'OCMock/OCMNotificationPoster.h',
41 'OCMock/OCMNotificationPoster.m',» » » 48 'OCMock/OCMNotificationPoster.m',
42 'OCMock/OCMObserverRecorder.h',» » » 49 'OCMock/OCMObserverRecorder.h',
43 'OCMock/OCMPassByRefSetter.h', 50 'OCMock/OCMPassByRefSetter.h',
44 'OCMock/OCMPassByRefSetter.m', 51 'OCMock/OCMPassByRefSetter.m',
45 'OCMock/OCMRealObjectForwarder.h', 52 'OCMock/OCMRealObjectForwarder.h',
46 'OCMock/OCMRealObjectForwarder.m', 53 'OCMock/OCMRealObjectForwarder.m',
47 'OCMock/OCMReturnValueProvider.h', 54 'OCMock/OCMReturnValueProvider.h',
48 'OCMock/OCMReturnValueProvider.m', 55 'OCMock/OCMReturnValueProvider.m',
49 'OCMock/OCMock.h', 56 'OCMock/OCMock.h',
50 'OCMock/OCMockObject.h', 57 'OCMock/OCMockObject.h',
51 'OCMock/OCMockObject.m', 58 'OCMock/OCMockObject.m',
52 'OCMock/OCPartialMockObject.h', 59 'OCMock/OCPartialMockObject.h',
(...skipping 11 matching lines...) Expand all
64 ], 71 ],
65 }], 72 }],
66 ], 73 ],
67 } 74 }
68 75
69 # Local Variables: 76 # Local Variables:
70 # tab-width:2 77 # tab-width:2
71 # indent-tabs-mode:nil 78 # indent-tabs-mode:nil
72 # End: 79 # End:
73 # vim: set expandtab tabstop=2 shiftwidth=2: 80 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« third_party/ocmock/gtest_support.mm ('K') | « third_party/ocmock/gtest_support.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698