Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Unified Diff: runtime/bin/platform_patch.dart

Issue 1553233002: Add package config support to dart:isolate (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Addressed review comments. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698