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

Unified Diff: runtime/bin/platform_android.cc

Issue 3001963002: [dart:io] Namespaces for file IO (Closed)
Patch Set: Fuchsia fix Created 3 years, 4 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
« no previous file with comments | « runtime/bin/namespace_win.cc ('k') | runtime/bin/platform_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform_android.cc
diff --git a/runtime/bin/platform_android.cc b/runtime/bin/platform_android.cc
index 2ea90778ce2388dbb5ee5e4f18347c5475312aca..770c27f05eb4c05963c0d657db5ff97533de6330 100644
--- a/runtime/bin/platform_android.cc
+++ b/runtime/bin/platform_android.cc
@@ -115,7 +115,7 @@ const char* Platform::GetExecutableName() {
}
const char* Platform::ResolveExecutablePath() {
- return NULL;
+ return File::ReadLink("/proc/self/exe");
}
void Platform::Exit(int exit_code) {
« no previous file with comments | « runtime/bin/namespace_win.cc ('k') | runtime/bin/platform_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698