| Index: test/mac/xctest/App/app.gyp
|
| diff --git a/test/mac/xctest/App/app.gyp b/test/mac/xctest/App/app.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5b290f4a74dde18e7261790a9628f30e7ccd3d80
|
| --- /dev/null
|
| +++ b/test/mac/xctest/App/app.gyp
|
| @@ -0,0 +1,83 @@
|
| +# 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': 'App',
|
| + 'type': 'executable',
|
| + 'mac_bundle': 1,
|
| + 'sources': [
|
| + 'main.m',
|
| + ],
|
| + 'mac_bundle_resources': [
|
| + 'App-Info.plist',
|
| + ],
|
| + 'dependencies': [
|
| + 'Classes/classes.gyp:classes',
|
| + ],
|
| + 'export_dependent_settings': [
|
| + '<@(_dependencies)',
|
| + ],
|
| + 'link_settings': {
|
| + 'libraries': [
|
| + '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
|
| + ],
|
| + },
|
| + 'xcode_settings': {
|
| + 'INFOPLIST_FILE': 'App-Info.plist',
|
| + 'OTHER_LDFLAGS': [
|
| + '$(inherited)',
|
| + '-ObjC',
|
| + ],
|
| + },
|
| + },
|
| + {
|
| + 'target_name': 'Tests',
|
| + 'type': 'loadable_module',
|
| + 'xctest_bundle': 1,
|
| + 'xctest_host': 'App',
|
| + 'sources': [
|
| + 'Tests/TestCase.m',
|
| + ],
|
| + 'dependencies': [
|
| + 'App',
|
| + '../TestSupport/testsupport.gyp:test_support',
|
| + ],
|
| + 'xcode_settings': {
|
| + 'BUNDLE_LOADER': '$(BUILT_PRODUCTS_DIR)/App.app/Contents/MacOS/App',
|
| + 'TEST_HOST': '$(BUNDLE_LOADER)',
|
| + 'WRAPPER_EXTENSION': 'xctest',
|
| + 'FRAMEWORK_SEARCH_PATHS': [
|
| + '$(inherited)',
|
| + '$(DEVELOPER_FRAMEWORKS_DIR)',
|
| + ],
|
| + 'OTHER_LDFLAGS': [
|
| + '$(inherited)',
|
| + '-ObjC',
|
| + ],
|
| + },
|
| + },
|
| + {
|
| + 'target_name': 'classes',
|
| + 'type': 'static_library',
|
| + 'sources': [
|
| + 'Classes/AppDelegate.h',
|
| + 'Classes/AppDelegate.m',
|
| + 'Classes/Shared+Category.h',
|
| + 'Classes/Shared+Category.m',
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [ 'Classes' ],
|
| + },
|
| + 'dependencies': [
|
| + '../Shared/shared.gyp:shared',
|
| + ],
|
| + 'export_dependent_settings': [
|
| + '<@(_dependencies)',
|
| + ],
|
| + },
|
| + ],
|
| +}
|
| +
|
| +
|
|
|