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))) |