1 # Copyright (c) 2015 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.
5 assert(is_mac || is_ios)
7 config("ocmock_config") {
8 include_dirs = [ "//third_party/ocmock" ]
11 source_set("ocmock") {
15 # Helper for using with gtest.
19 # Some extra features to make using OCMock easier.
20 "ocmock_extensions.h",
21 "ocmock_extensions.mm",
24 "OCMock/NSInvocation+OCMAdditions.h",
25 "OCMock/NSInvocation+OCMAdditions.m",
26 "OCMock/NSMethodSignature+OCMAdditions.h",
27 "OCMock/NSMethodSignature+OCMAdditions.m",
28 "OCMock/NSNotificationCenter+OCMAdditions.h",
29 "OCMock/NSNotificationCenter+OCMAdditions.m",
30 "OCMock/OCClassMockObject.h",
31 "OCMock/OCClassMockObject.m",
34 "OCMock/OCMBlockCaller.h",
35 "OCMock/OCMBlockCaller.m",
36 "OCMock/OCMBoxedReturnValueProvider.h",
37 "OCMock/OCMBoxedReturnValueProvider.m",
38 "OCMock/OCMConstraint.h",
39 "OCMock/OCMConstraint.m",
40 "OCMock/OCMExceptionReturnValueProvider.h",
41 "OCMock/OCMExceptionReturnValueProvider.m",
42 "OCMock/OCMIndirectReturnValueProvider.h",
43 "OCMock/OCMIndirectReturnValueProvider.m",
44 "OCMock/OCMNotificationPoster.h",
45 "OCMock/OCMNotificationPoster.m",
46 "OCMock/OCMObserverRecorder.h",
47 "OCMock/OCMObserverRecorder.m",
48 "OCMock/OCMPassByRefSetter.h",
49 "OCMock/OCMPassByRefSetter.m",
50 "OCMock/OCMRealObjectForwarder.h",
51 "OCMock/OCMRealObjectForwarder.m",
52 "OCMock/OCMReturnValueProvider.h",
53 "OCMock/OCMReturnValueProvider.m",
55 "OCMock/OCMockObject.h",
56 "OCMock/OCMockObject.m",
57 "OCMock/OCMockRecorder.h",
58 "OCMock/OCMockRecorder.m",
59 "OCMock/OCObserverMockObject.h",
60 "OCMock/OCObserverMockObject.m",
61 "OCMock/OCPartialMockObject.h",
62 "OCMock/OCPartialMockObject.m",
63 "OCMock/OCPartialMockRecorder.h",
64 "OCMock/OCPartialMockRecorder.m",
65 "OCMock/OCProtocolMockObject.h",
66 "OCMock/OCProtocolMockObject.m",
72 public_configs = [ ":ocmock_config" ]