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.
9 ['OS=="mac" or OS=="ios"', {
12 'target_name' : 'ocmock',
13 'type': 'static_library',
14 'include_dirs': [ '.', '../..', ],
15 'direct_dependent_settings': {
16 'include_dirs': [ '.', ],
19 '../../testing/gtest.gyp:gtest',
22 # Helper for using with gtest.
26 # Some extra features to make using OCMock easier.
27 'ocmock_extensions.h',
28 'ocmock_extensions.mm',
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',
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',
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',