Beginnings of synchronizing notifications in the notification database.
[chromium-blink-merge.git] / third_party / ocmock / BUILD.gn
blobde51636c9ef9615eacf849343d13a5b7941a928f
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") {
12   testonly = true
14   sources = [
15     # Helper for using with gtest.
16     "gtest_support.h",
17     "gtest_support.mm",
19     # Some extra features to make using OCMock easier.
20     "ocmock_extensions.h",
21     "ocmock_extensions.mm",
23     # OCMock sources.
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",
32     "OCMock/OCMArg.h",
33     "OCMock/OCMArg.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",
54     "OCMock/OCMock.h",
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",
67   ]
69   deps = [
70     "//testing/gtest",
71   ]
72   public_configs = [ ":ocmock_config" ]