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/ios/xctests/App/AppDelegate.h | 11 ++++ .../tools/gyp/test/ios/xctests/App/AppDelegate.m | 18 ++++++ .../ios/xctests/App/Base.lproj/LaunchScreen.xib | 41 +++++++++++++ .../ios/xctests/App/Base.lproj/Main.storyboard | 25 ++++++++ .../AppIcon.appiconset/Contents.json | 68 ++++++++++++++++++++++ .../tools/gyp/test/ios/xctests/App/Info.plist | 47 +++++++++++++++ .../gyp/test/ios/xctests/App/ViewController.h | 9 +++ .../gyp/test/ios/xctests/App/ViewController.m | 21 +++++++ .../trunk/tools/gyp/test/ios/xctests/App/main.m | 13 +++++ 9 files changed, 253 insertions(+) create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.h create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.m create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/LaunchScreen.xib create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/Main.storyboard create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Info.plist create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.h create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.m create mode 100644 media/webrtc/trunk/tools/gyp/test/ios/xctests/App/main.m (limited to 'media/webrtc/trunk/tools/gyp/test/ios/xctests/App') diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.h b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.h new file mode 100644 index 000000000..f8efce97e --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.h @@ -0,0 +1,11 @@ +// Copyright 2015 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. + +#import + +@interface AppDelegate : UIResponder + +@property(strong, nonatomic) UIWindow* window; + +@end diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.m b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.m new file mode 100644 index 000000000..825dda75b --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/AppDelegate.m @@ -0,0 +1,18 @@ +// Copyright 2015 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. + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + +- (BOOL)application:(UIApplication*)application + didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { + return YES; +} + +@end diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/LaunchScreen.xib b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/LaunchScreen.xib new file mode 100644 index 000000000..063dc5ea7 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/LaunchScreen.xib @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/Main.storyboard b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/Main.storyboard new file mode 100644 index 000000000..f56d2f3bb --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Base.lproj/Main.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Images.xcassets/AppIcon.appiconset/Contents.json b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 000000000..36d2c80d8 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Info.plist b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Info.plist new file mode 100644 index 000000000..3f938f60f --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.google.gyptest.App + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.h b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.h new file mode 100644 index 000000000..95a281e8d --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.h @@ -0,0 +1,9 @@ +// Copyright 2015 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. + +#import + +@interface ViewController : UIViewController + +@end diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.m b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.m new file mode 100644 index 000000000..d38e3c5bb --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/ViewController.m @@ -0,0 +1,21 @@ +// Copyright 2015 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. + +#import "ViewController.h" + +@interface ViewController () + +@end + +@implementation ViewController + +- (void)viewDidLoad { + [super viewDidLoad]; +} + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; +} + +@end diff --git a/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/main.m b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/main.m new file mode 100644 index 000000000..83368075c --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/ios/xctests/App/main.m @@ -0,0 +1,13 @@ +// Copyright 2015 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. + +#import +#import "AppDelegate.h" + +int main(int argc, char* argv[]) { + @autoreleasepool { + return UIApplicationMain( + argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} -- cgit v1.2.3