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

Unified Diff: build/android/pylib/valgrind_tools.py

Issue 11876021: Support startup performance tests on Galaxy S3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Support startup performance tests on Galaxy S3 - code review fixes Created 7 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: build/android/pylib/valgrind_tools.py
diff --git a/build/android/pylib/valgrind_tools.py b/build/android/pylib/valgrind_tools.py
index 1fb97dc61b1125dfb54a9314de5c3e6ed1d9a3c0..48a5ba73d46e924a8f6b7ab6ff6788a0ec873484 100644
--- a/build/android/pylib/valgrind_tools.py
+++ b/build/android/pylib/valgrind_tools.py
@@ -35,7 +35,7 @@ def SetChromeTimeoutScale(adb, scale):
# Delete if scale is None/0.0/1.0 since the default timeout scale is 1.0
adb.RunShellCommand('rm %s' % path)
else:
- adb.SetFileContents(path, '%f' % scale)
+ adb.SetProtectedFileContents(path, '%f' % scale)
class BaseTool(object):
« build/android/pylib/flag_changer.py ('K') | « build/android/pylib/perf_tests_helper.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698