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

Unified Diff: tools/android/md5sum/md5sum.cc

Issue 1307393004: Reland of Don't bother running realpath in DeviceUtils._GetChangedAndStaleFiles() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@device5
Patch Set: with md5sum.cc changes Created 5 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 | « build/android/pylib/device/device_utils.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/md5sum/md5sum.cc
diff --git a/tools/android/md5sum/md5sum.cc b/tools/android/md5sum/md5sum.cc
index 3db05ff18c908c5d1b997d768515cc0c3d4262d6..31f65f39523806ccdc7ba0a0f44db0df0da9d42b 100644
--- a/tools/android/md5sum/md5sum.cc
+++ b/tools/android/md5sum/md5sum.cc
@@ -56,7 +56,6 @@ std::set<std::string> MakeFileSet(const char** files) {
(child = file_enumerator.Next()) != empty; ) {
// If the path contains /.svn/, ignore it.
if (child.value().find(svn_dir_component) == std::string::npos) {
- child = base::MakeAbsoluteFilePath(child);
file_set.insert(child.value());
}
}
@@ -82,9 +81,7 @@ int main(int argc, const char* argv[]) {
if (!MD5Sum(it->c_str(), &digest)) {
failed = true;
} else {
- base::FilePath file_path(*it);
- std::cout << digest << " "
- << base::MakeAbsoluteFilePath(file_path).value() << std::endl;
+ std::cout << digest << " " << *it << std::endl;
}
}
return failed;
« no previous file with comments | « build/android/pylib/device/device_utils.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698