From 4e871bb6db022185e484eb8b54e40ea9cddcc399 Mon Sep 17 00:00:00 2001 From: George Wright Date: Mon, 7 Feb 2022 15:57:55 -0800 Subject: [PATCH] Add an iOS benchmarks template app (flutter/engine#31269) --- .../IosBenchmarks.xcodeproj/project.pbxproj | 394 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 98 +++++ .../Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 ++ .../IosBenchmarks/Base.lproj/Main.storyboard | 32 ++ .../IosBenchmarks/IosBenchmarks/Info.plist | 25 ++ .../ios/IosBenchmarks/IosBenchmarks/main.mm | 10 + 10 files changed, 616 insertions(+) create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.pbxproj create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/Contents.json create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/LaunchScreen.storyboard create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/Main.storyboard create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Info.plist create mode 100644 engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/main.mm diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.pbxproj b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.pbxproj new file mode 100644 index 00000000000..4a2bf90084a --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.pbxproj @@ -0,0 +1,394 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + D6B6983327892632004B7B51 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D6B6983127892632004B7B51 /* Main.storyboard */; }; + D6B6983527892633004B7B51 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D6B6983427892633004B7B51 /* Assets.xcassets */; }; + D6B6983827892633004B7B51 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D6B6983627892633004B7B51 /* LaunchScreen.storyboard */; }; + D6B6983B27892633004B7B51 /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = D6B6983A27892633004B7B51 /* main.mm */; }; + D6B69850278E4DC8004B7B51 /* libios_display_list_benchmarks.dylib in Embed Libraries */ = {isa = PBXBuildFile; fileRef = D6B6984F278E4DC8004B7B51 /* libios_display_list_benchmarks.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; }; + D6B69853278E5833004B7B51 /* libios_display_list_benchmarks.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B6984F278E4DC8004B7B51 /* libios_display_list_benchmarks.dylib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + D6B6984527892715004B7B51 /* Embed Libraries */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + D6B69850278E4DC8004B7B51 /* libios_display_list_benchmarks.dylib in Embed Libraries */, + ); + name = "Embed Libraries"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + D6B6982527892632004B7B51 /* IosBenchmarks.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IosBenchmarks.app; sourceTree = BUILT_PRODUCTS_DIR; }; + D6B6983227892632004B7B51 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + D6B6983427892633004B7B51 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + D6B6983727892633004B7B51 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + D6B6983927892633004B7B51 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D6B6983A27892633004B7B51 /* main.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = main.mm; sourceTree = ""; }; + D6B6984F278E4DC8004B7B51 /* libios_display_list_benchmarks.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libios_display_list_benchmarks.dylib; path = ../../../../out/ios_profile/libios_display_list_benchmarks.dylib; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + D6B6982227892632004B7B51 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D6B69853278E5833004B7B51 /* libios_display_list_benchmarks.dylib in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + D6B6981C27892632004B7B51 = { + isa = PBXGroup; + children = ( + D6B6984F278E4DC8004B7B51 /* libios_display_list_benchmarks.dylib */, + D6B6982727892632004B7B51 /* IosBenchmarks */, + D6B6982627892632004B7B51 /* Products */, + D6B6984127892715004B7B51 /* Frameworks */, + ); + sourceTree = ""; + }; + D6B6982627892632004B7B51 /* Products */ = { + isa = PBXGroup; + children = ( + D6B6982527892632004B7B51 /* IosBenchmarks.app */, + ); + name = Products; + sourceTree = ""; + }; + D6B6982727892632004B7B51 /* IosBenchmarks */ = { + isa = PBXGroup; + children = ( + D6B6983127892632004B7B51 /* Main.storyboard */, + D6B6983427892633004B7B51 /* Assets.xcassets */, + D6B6983627892633004B7B51 /* LaunchScreen.storyboard */, + D6B6983927892633004B7B51 /* Info.plist */, + D6B6983A27892633004B7B51 /* main.mm */, + ); + path = IosBenchmarks; + sourceTree = ""; + }; + D6B6984127892715004B7B51 /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + D6B6982427892632004B7B51 /* IosBenchmarks */ = { + isa = PBXNativeTarget; + buildConfigurationList = D6B6983E27892633004B7B51 /* Build configuration list for PBXNativeTarget "IosBenchmarks" */; + buildPhases = ( + D6B6982127892632004B7B51 /* Sources */, + D6B6982227892632004B7B51 /* Frameworks */, + D6B6982327892632004B7B51 /* Resources */, + D6B6984527892715004B7B51 /* Embed Libraries */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = IosBenchmarks; + productName = IosBenchmarks; + productReference = D6B6982527892632004B7B51 /* IosBenchmarks.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D6B6981D27892632004B7B51 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastUpgradeCheck = 1320; + TargetAttributes = { + D6B6982427892632004B7B51 = { + CreatedOnToolsVersion = 13.2.1; + }; + }; + }; + buildConfigurationList = D6B6982027892632004B7B51 /* Build configuration list for PBXProject "IosBenchmarks" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = D6B6981C27892632004B7B51; + productRefGroup = D6B6982627892632004B7B51 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + D6B6982427892632004B7B51 /* IosBenchmarks */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + D6B6982327892632004B7B51 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D6B6983827892633004B7B51 /* LaunchScreen.storyboard in Resources */, + D6B6983527892633004B7B51 /* Assets.xcassets in Resources */, + D6B6983327892632004B7B51 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + D6B6982127892632004B7B51 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D6B6983B27892633004B7B51 /* main.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + D6B6983127892632004B7B51 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + D6B6983227892632004B7B51 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + D6B6983627892633004B7B51 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + D6B6983727892633004B7B51 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + D6B6983C27892633004B7B51 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_BITCODE = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + FLUTTER_ENGINE = ios_profile; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ../../../../, + ../../../../third_party/benchmark/include, + ); + IPHONEOS_DEPLOYMENT_TARGET = 15.2; + LIBRARY_SEARCH_PATHS = ""; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + D6B6983D27892633004B7B51 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_BITCODE = NO; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FLUTTER_ENGINE = ios_profile; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ../../../../, + ../../../../third_party/benchmark/include, + ); + IPHONEOS_DEPLOYMENT_TARGET = 15.2; + LIBRARY_SEARCH_PATHS = ""; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + D6B6983F27892633004B7B51 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = ""; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IosBenchmarks/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = "../../../../out/$(FLUTTER_ENGINE)/"; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.google.flutter.IosBenchmarks; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + D6B6984027892633004B7B51 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = ""; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IosBenchmarks/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = "../../../../out/$(FLUTTER_ENGINE)/"; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.google.flutter.IosBenchmarks; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + D6B6982027892632004B7B51 /* Build configuration list for PBXProject "IosBenchmarks" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D6B6983C27892633004B7B51 /* Debug */, + D6B6983D27892633004B7B51 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D6B6983E27892633004B7B51 /* Build configuration list for PBXNativeTarget "IosBenchmarks" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D6B6983F27892633004B7B51 /* Debug */, + D6B6984027892633004B7B51 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D6B6981D27892632004B7B51 /* Project object */; +} diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000000..919434a6254 --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000000..18d981003d6 --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AccentColor.colorset/Contents.json b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 00000000000..eb878970081 --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AppIcon.appiconset/Contents.json b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000000..9221b9bb1a3 --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/Contents.json b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/Contents.json new file mode 100644 index 00000000000..73c00596a7f --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/LaunchScreen.storyboard b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000000..865e9329f37 --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/Main.storyboard b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/Main.storyboard new file mode 100644 index 00000000000..1e6a0821110 --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Base.lproj/Main.storyboard @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Info.plist b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Info.plist new file mode 100644 index 00000000000..81ed29b76cf --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/main.mm b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/main.mm new file mode 100644 index 00000000000..2426416d089 --- /dev/null +++ b/engine/src/flutter/testing/ios/IosBenchmarks/IosBenchmarks/main.mm @@ -0,0 +1,10 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +extern "C" { +int RunBenchmarks(int argc, char** argv); +} +int main(int argc, char* argv[]) { + return RunBenchmarks(argc, argv); +}