Index: runtime/bin/platform.cc |
diff --git a/runtime/bin/platform.cc b/runtime/bin/platform.cc |
index 0ed2bd364fd10eec6d347472f6233379e94a3cc1..ec75ee97cb3d9e0e11216b62d0acb6f92dd539eb 100644 |
--- a/runtime/bin/platform.cc |
+++ b/runtime/bin/platform.cc |
@@ -14,7 +14,6 @@ namespace bin { |
const char* Platform::executable_name_ = NULL; |
const char* Platform::resolved_executable_name_ = NULL; |
-const char* Platform::package_root_ = NULL; |
int Platform::script_index_ = 1; |
char** Platform::argv_ = NULL; |
@@ -76,15 +75,6 @@ void FUNCTION_NAME(Platform_ExecutableArguments)(Dart_NativeArguments args) { |
} |
-void FUNCTION_NAME(Platform_PackageRoot)(Dart_NativeArguments args) { |
- const char* package_root = Platform::GetPackageRoot(); |
- if (package_root == NULL) { |
- package_root = ""; |
- } |
- Dart_SetReturnValue(args, Dart_NewStringFromCString(package_root)); |
-} |
- |
- |
void FUNCTION_NAME(Platform_Environment)(Dart_NativeArguments args) { |
intptr_t count = 0; |
char** env = Platform::Environment(&count); |