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

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

Issue 15979032: Android: renames pylib.constants.CHROME_DIR to DIR_SOURCE_ROOT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 0e9819343ed01c8f28ee263e89e603a5a8178578..c0eff12317f416b8fe93d0f9464314b220437763 100644
--- a/build/android/pylib/valgrind_tools.py
+++ b/build/android/pylib/valgrind_tools.py
@@ -25,7 +25,7 @@ import os.path
import sys
from glob import glob
-from constants import CHROME_DIR
+from constants import DIR_SOURCE_ROOT
def SetChromeTimeoutScale(adb, scale):
@@ -106,7 +106,7 @@ class AddressSanitizerTool(BaseTool):
glob('third_party/llvm-build/Release+Asserts/lib/clang/*/lib/'
'linux/libclang_rt.asan-arm-android.so'))
for f in files:
- self._adb.PushIfNeeded(os.path.join(CHROME_DIR, f),
+ self._adb.PushIfNeeded(os.path.join(DIR_SOURCE_ROOT, f),
os.path.join(AddressSanitizerTool.TMP_DIR,
os.path.basename(f)))
@@ -160,7 +160,7 @@ class ValgrindTool(BaseTool):
ValgrindTool.VGLOGS_DIR))
files = self.GetFilesForTool()
for f in files:
- self._adb.PushIfNeeded(os.path.join(CHROME_DIR, f),
+ self._adb.PushIfNeeded(os.path.join(DIR_SOURCE_ROOT, f),
os.path.join(ValgrindTool.VG_DIR,
os.path.basename(f)))
« build/android/pylib/constants.py ('K') | « build/android/pylib/utils/test_options_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698