Index: runtime/bin/platform_patch.dart |
diff --git a/runtime/bin/platform_patch.dart b/runtime/bin/platform_patch.dart |
index dec7493e64fdfebd22180bf171aac4ff4d6e5947..50439c5002803d8eb191f1b1cdb7617b721b2ac6 100644 |
--- a/runtime/bin/platform_patch.dart |
+++ b/runtime/bin/platform_patch.dart |
@@ -5,17 +5,25 @@ |
patch class _Platform { |
/* patch */ static int _numberOfProcessors() |
native "Platform_NumberOfProcessors"; |
- /* patch */ static String _pathSeparator() native "Platform_PathSeparator"; |
+ /* patch */ static String _pathSeparator() |
+ native "Platform_PathSeparator"; |
/* patch */ static String _operatingSystem() |
native "Platform_OperatingSystem"; |
- /* patch */ static _localHostname() native "Platform_LocalHostname"; |
- /* patch */ static _executable() native "Platform_ExecutableName"; |
+ /* patch */ static _localHostname() |
+ native "Platform_LocalHostname"; |
+ /* patch */ static _executable() |
+ native "Platform_ExecutableName"; |
/* patch */ static _resolvedExecutable() |
native "Platform_ResolvedExecutableName"; |
- /* patch */ static _environment() native "Platform_Environment"; |
+ /* patch */ static _environment() |
+ native "Platform_Environment"; |
/* patch */ static List<String> _executableArguments() |
- native "Platform_ExecutableArguments"; |
- /* patch */ static String _packageRoot() => VMLibraryHooks.packageRoot; |
- /* patch */ static String _packageConfig() => VMLibraryHooks.packageConfig; |
- /* patch */ static String _version() native "Platform_GetVersion"; |
+ native "Platform_ExecutableArguments"; |
+ /* patch */ static String _version() |
+ native "Platform_GetVersion"; |
+ |
+ /* patch */ static String _packageRoot() |
+ => VMLibraryHooks.packageRootString; |
+ /* patch */ static String _packageConfig() |
+ => VMLibraryHooks.packageConfigString; |
} |