| Index: test/ios/swift-wmo/test.gyp
|
| diff --git a/test/ios/swift-wmo/test.gyp b/test/ios/swift-wmo/test.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..10fcfcdca18c38b498daa01042e66d6932c0446b
|
| --- /dev/null
|
| +++ b/test/ios/swift-wmo/test.gyp
|
| @@ -0,0 +1,41 @@
|
| +{
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'swift_wmo',
|
| + 'type': 'executable',
|
| + 'mac_bundle': '1',
|
| + 'xcode_settings': {
|
| + 'CLANG_ENABLE_MODULES': 'YES',
|
| + 'CLANG_ENABLE_OBJC_ARC': 'YES',
|
| + 'CLANG_MODULE_CACHE_PATH': '<(PRODUCT_DIR)/ModuleCache',
|
| + 'CODE_SIGNING_REQUIRED': 'NO',
|
| + 'INFOPLIST_FILE': 'Info.plist',
|
| + 'IPHONEOS_DEPLOYMENT_TARGET': '7.0',
|
| + 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/Frameworks'],
|
| + 'SWIFT_OPTIMIZATION_LEVEL': '-Owholemodule',
|
| + 'TARGETED_DEVICE_FAMILY': '1,2',
|
| + 'conditions': [
|
| + ['"<(GENERATOR)"=="xcode"', {
|
| + 'SDKROOT': 'iphoneos',
|
| + }, {
|
| + 'SDKROOT': 'iphonesimulator',
|
| + }],
|
| + ],
|
| + },
|
| + 'sources': [
|
| + 'AppDelegate.h',
|
| + 'AppDelegate.m',
|
| + 'main.m',
|
| + 'MySecondSwiftClass.swift',
|
| + 'MySwiftClass.swift',
|
| + ],
|
| + 'conditions': [
|
| + ['"<(GENERATOR)"=="ninja"', {
|
| + 'include_dirs': [
|
| + '<(INTERMEDIATE_DIR)',
|
| + ],
|
| + }],
|
| + ],
|
| + },
|
| + ],
|
| +}
|
|
|