summaryrefslogtreecommitdiffstats
path: root/third_party/ocmock/ocmock.gyp
blob: 2c3b809975a3ed03dc7e94eebf3864e1add257b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
  ],
  'conditions': [
    ['OS=="mac"', {
      'targets' : [
        {
          'target_name' : 'ocmock',
          'type': 'static_library',
          'include_dirs': [ '.', '../..', ],
          'direct_dependent_settings': {
            'include_dirs': [ '.', ],
          },
          'dependencies': [
            '../../testing/gtest.gyp:gtest',
          ],
          'sources': [
            # Helper for using with gtest.
            'gtest_support.h',
            'gtest_support.mm',

            # Some extra features to make using OCMock easier.
            'ocmock_extensions.h',
            'ocmock_extensions.mm',

            # OCMock sources.
            'OCMock/NSInvocation+OCMAdditions.h',
            'OCMock/OCMObserverRecorder.m',
            'OCMock/NSInvocation+OCMAdditions.m',
            'OCMock/NSMethodSignature+OCMAdditions.h',
            'OCMock/NSMethodSignature+OCMAdditions.m',
            'OCMock/NSNotificationCenter+OCMAdditions.h',
            'OCMock/NSNotificationCenter+OCMAdditions.m',
            'OCMock/OCClassMockObject.h',
            'OCMock/OCClassMockObject.m',
            'OCMock/OCMArg.h',
            'OCMock/OCMArg.m',
            'OCMock/OCMBlockCaller.h',
            'OCMock/OCMBlockCaller.m',
            'OCMock/OCMBoxedReturnValueProvider.h',
            'OCMock/OCMBoxedReturnValueProvider.m',
            'OCMock/OCMConstraint.h',
            'OCMock/OCMConstraint.m',
            'OCMock/OCMExceptionReturnValueProvider.h',
            'OCMock/OCMExceptionReturnValueProvider.m',
            'OCMock/OCMIndirectReturnValueProvider.h',
            'OCMock/OCMIndirectReturnValueProvider.m',
            'OCMock/OCMNotificationPoster.h',
            'OCMock/OCMNotificationPoster.m',
            'OCMock/OCMObserverRecorder.h',
            'OCMock/OCMPassByRefSetter.h',
            'OCMock/OCMPassByRefSetter.m',
            'OCMock/OCMRealObjectForwarder.h',
            'OCMock/OCMRealObjectForwarder.m',
            'OCMock/OCMReturnValueProvider.h',
            'OCMock/OCMReturnValueProvider.m',
            'OCMock/OCMock.h',
            'OCMock/OCMockObject.h',
            'OCMock/OCMockObject.m',
            'OCMock/OCPartialMockObject.h',
            'OCMock/OCPartialMockObject.m',
            'OCMock/OCPartialMockRecorder.h',
            'OCMock/OCPartialMockRecorder.m',
            'OCMock/OCProtocolMockObject.h',
            'OCMock/OCProtocolMockObject.m',
            'OCMock/OCMockRecorder.h',
            'OCMock/OCMockRecorder.m',
            'OCMock/OCObserverMockObject.h',
            'OCMock/OCObserverMockObject.m',
          ],
        },
      ],
    }],
  ],
}