summaryrefslogtreecommitdiffstats
path: root/third_party/ocmock
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 17:41:33 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 17:41:33 +0000
commit26a2ac5a65eb4c3d8204dbfe1d58ae6a3fe863c3 (patch)
tree08479249a7c29f339fdd194925d58fbc98854e9d /third_party/ocmock
parenta8c7f0e34828c4d2fbbdf4570cb4fec471318405 (diff)
downloadchromium_src-26a2ac5a65eb4c3d8204dbfe1d58ae6a3fe863c3.zip
chromium_src-26a2ac5a65eb4c3d8204dbfe1d58ae6a3fe863c3.tar.gz
chromium_src-26a2ac5a65eb4c3d8204dbfe1d58ae6a3fe863c3.tar.bz2
gyp changes to enable building OCMock. Patch from Paul Wicks (pwicks86@gmail.com).
TEST=Use OCMock in a test BUG=NONE git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/ocmock')
-rw-r--r--third_party/ocmock/ocmock.gyp63
1 files changed, 63 insertions, 0 deletions
diff --git a/third_party/ocmock/ocmock.gyp b/third_party/ocmock/ocmock.gyp
new file mode 100644
index 0000000..5d49fcc
--- /dev/null
+++ b/third_party/ocmock/ocmock.gyp
@@ -0,0 +1,63 @@
+# Copyright (c) 2009 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': '<(library)',
+ 'include_dirs':[ '.',],
+ 'direct_dependent_settings': {
+ 'include_dirs': [ '.', ],
+ },
+ '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/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/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',
+ ],
+ },
+ ],
+ }],
+ ],
+}