OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 ], | |
8 'conditions': [ | |
9 ['OS=="mac" or OS=="ios"', { | |
10 'targets' : [ | |
11 { | |
12 'target_name' : 'ocmock', | |
13 'type': 'static_library', | |
14 'include_dirs': [ '.', '../..', ], | |
15 'direct_dependent_settings': { | |
16 'include_dirs': [ '.', ], | |
17 }, | |
18 'dependencies': [ | |
19 '../../testing/gtest.gyp:gtest', | |
20 ], | |
21 'sources': [ | |
22 # Helper for using with gtest. | |
23 'gtest_support.h', | |
24 'gtest_support.mm', | |
25 | |
26 # Some extra features to make using OCMock easier. | |
27 'ocmock_extensions.h', | |
28 'ocmock_extensions.mm', | |
29 | |
30 # OCMock sources. | |
31 'OCMock/NSInvocation+OCMAdditions.h', | |
32 'OCMock/OCMObserverRecorder.m', | |
33 'OCMock/NSInvocation+OCMAdditions.m', | |
34 'OCMock/NSMethodSignature+OCMAdditions.h', | |
35 'OCMock/NSMethodSignature+OCMAdditions.m', | |
36 'OCMock/NSNotificationCenter+OCMAdditions.h', | |
37 'OCMock/NSNotificationCenter+OCMAdditions.m', | |
38 'OCMock/OCClassMockObject.h', | |
39 'OCMock/OCClassMockObject.m', | |
40 'OCMock/OCMArg.h', | |
41 'OCMock/OCMArg.m', | |
42 'OCMock/OCMBlockCaller.h', | |
43 'OCMock/OCMBlockCaller.m', | |
44 'OCMock/OCMBoxedReturnValueProvider.h', | |
45 'OCMock/OCMBoxedReturnValueProvider.m', | |
46 'OCMock/OCMConstraint.h', | |
47 'OCMock/OCMConstraint.m', | |
48 'OCMock/OCMExceptionReturnValueProvider.h', | |
49 'OCMock/OCMExceptionReturnValueProvider.m', | |
50 'OCMock/OCMIndirectReturnValueProvider.h', | |
51 'OCMock/OCMIndirectReturnValueProvider.m', | |
52 'OCMock/OCMNotificationPoster.h', | |
53 'OCMock/OCMNotificationPoster.m', | |
54 'OCMock/OCMObserverRecorder.h', | |
55 'OCMock/OCMPassByRefSetter.h', | |
56 'OCMock/OCMPassByRefSetter.m', | |
57 'OCMock/OCMRealObjectForwarder.h', | |
58 'OCMock/OCMRealObjectForwarder.m', | |
59 'OCMock/OCMReturnValueProvider.h', | |
60 'OCMock/OCMReturnValueProvider.m', | |
61 'OCMock/OCMock.h', | |
62 'OCMock/OCMockObject.h', | |
63 'OCMock/OCMockObject.m', | |
64 'OCMock/OCPartialMockObject.h', | |
65 'OCMock/OCPartialMockObject.m', | |
66 'OCMock/OCPartialMockRecorder.h', | |
67 'OCMock/OCPartialMockRecorder.m', | |
68 'OCMock/OCProtocolMockObject.h', | |
69 'OCMock/OCProtocolMockObject.m', | |
70 'OCMock/OCMockRecorder.h', | |
71 'OCMock/OCMockRecorder.m', | |
72 'OCMock/OCObserverMockObject.h', | |
73 'OCMock/OCObserverMockObject.m', | |
74 ], | |
75 'variables': { | |
76 'clang_warning_flags': [ | |
77 # NSInvocation+OCMAdditions.m has some `- (void) foo; {...` | |
78 '-Wno-semicolon-before-method-body', | |
79 ], | |
80 }, | |
81 }, | |
82 ], | |
83 }], | |
84 ], | |
85 } | |
OLD | NEW |