From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../tools/gyp/test/mac/swift-library/Info.plist | 28 ++++++++++++++++++++++ .../tools/gyp/test/mac/swift-library/file.swift | 9 +++++++ .../tools/gyp/test/mac/swift-library/test.gyp | 21 ++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 media/webrtc/trunk/tools/gyp/test/mac/swift-library/Info.plist create mode 100644 media/webrtc/trunk/tools/gyp/test/mac/swift-library/file.swift create mode 100644 media/webrtc/trunk/tools/gyp/test/mac/swift-library/test.gyp (limited to 'media/webrtc/trunk/tools/gyp/test/mac/swift-library') diff --git a/media/webrtc/trunk/tools/gyp/test/mac/swift-library/Info.plist b/media/webrtc/trunk/tools/gyp/test/mac/swift-library/Info.plist new file mode 100644 index 000000000..804990ca5 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/swift-library/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + NSPrincipalClass + + + diff --git a/media/webrtc/trunk/tools/gyp/test/mac/swift-library/file.swift b/media/webrtc/trunk/tools/gyp/test/mac/swift-library/file.swift new file mode 100644 index 000000000..88db7da5c --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/swift-library/file.swift @@ -0,0 +1,9 @@ +import Foundation + +public class GypSwiftTest { + let myProperty = false + + init() { + self.myProperty = true + } +} \ No newline at end of file diff --git a/media/webrtc/trunk/tools/gyp/test/mac/swift-library/test.gyp b/media/webrtc/trunk/tools/gyp/test/mac/swift-library/test.gyp new file mode 100644 index 000000000..373a677cb --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/mac/swift-library/test.gyp @@ -0,0 +1,21 @@ +# Copyright (c) 2011 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': 'SwiftFramework', + 'product_name': 'SwiftFramework', + 'type': 'shared_library', + 'mac_bundle': 1, + 'xcode_settings': { + 'INFOPLIST_FILE': 'Info.plist', + 'CODE_SIGNING_REQUIRED': 'NO', + 'CONFIGURATION_BUILD_DIR':'build/Default', + }, + 'sources': [ + 'file.swift', + ], + }, + ], +} -- cgit v1.2.3