diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/mac/xctest/test.gyp')
-rw-r--r-- | media/webrtc/trunk/tools/gyp/test/mac/xctest/test.gyp | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/mac/xctest/test.gyp b/media/webrtc/trunk/tools/gyp/test/mac/xctest/test.gyp new file mode 100644 index 000000000..ac25656b3 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/xctest/test.gyp @@ -0,0 +1,47 @@ +# Copyright (c) 2013 Google Inc. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'classes', + 'type': 'static_library', + 'sources': [ + 'MyClass.h', + 'MyClass.m', + ], + 'link_settings': { + 'libraries': [ + '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', + ], + }, + }, + { + 'target_name': 'tests', + 'type': 'loadable_module', + 'mac_xctest_bundle': 1, + 'sources': [ + 'TestCase.m', + ], + 'dependencies': [ + 'classes', + ], + 'mac_bundle_resources': [ + 'resource.txt', + ], + 'xcode_settings': { + 'WRAPPER_EXTENSION': 'xctest', + 'FRAMEWORK_SEARCH_PATHS': [ + '$(inherited)', + '$(DEVELOPER_FRAMEWORKS_DIR)', + ], + 'OTHER_LDFLAGS': [ + '$(inherited)', + '-ObjC', + ], + }, + }, + ], +} + |