8#ifndef SkOSFile_ios_DEFINED
9#define SkOSFile_ios_DEFINED
13#ifdef SK_BUILD_FOR_IOS
14#import <CoreFoundation/CoreFoundation.h>
20 CFBundleRef mainBundle = CFBundleGetMainBundle();
24 sk_cfp<CFURLRef> pathURL(CFURLCreateFromFileSystemRepresentation(
nullptr,
28 sk_cfp<CFStringRef> pathRef(CFURLCopyFileSystemPath(pathURL.get(), kCFURLPOSIXPathStyle));
31 sk_cfp<CFURLRef> fileURL(CFBundleCopyResourceURL(mainBundle, pathRef.get(),
32 nullptr, CFSTR(
"data")));
41 sk_cfp<CFStringRef> filePath(CFURLCopyFileSystemPath(fileURL.get(), kCFURLPOSIXPathStyle));
44 CFStringEncoding encodingMethod = CFStringGetSystemEncoding();
47 result->set(CFStringGetCStringPtr(filePath.get(), encodingMethod));
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path