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

Unified Diff: tools/binary_size/explain_binary_size_delta.py

Issue 797363002: binary_size: Remove legacy path, keep / as / for unittests on windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years 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 | « no previous file | tools/binary_size/legacy_template/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/explain_binary_size_delta.py
diff --git a/tools/binary_size/explain_binary_size_delta.py b/tools/binary_size/explain_binary_size_delta.py
index cb99fe6cc93981b3bec3ecff66e8ea0cb1a9fa07..d6eba2601224ae0bc0cc71d4986ffe1bf599cf8e 100755
--- a/tools/binary_size/explain_binary_size_delta.py
+++ b/tools/binary_size/explain_binary_size_delta.py
@@ -66,6 +66,8 @@ def Compare(symbols1, symbols2):
symbol_type = '@' # hack to categorize these separately
if file_path:
file_path = os.path.normpath(file_path)
+ if sys.platform.startswith('win'):
+ file_path = file_path.replace('\\', '/')
else:
file_path = '(No Path)'
key = (file_path, symbol_type)
« no previous file with comments | « no previous file | tools/binary_size/legacy_template/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698