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

Unified Diff: tools/valgrind/chrome_tests.py

Issue 100060: Fix chrome_tests.sh without -b BUILD_DIR on the Mac (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/chrome_tests.py
===================================================================
--- tools/valgrind/chrome_tests.py (revision 14630)
+++ tools/valgrind/chrome_tests.py (working copy)
@@ -94,7 +94,11 @@
self._data_dirs.append(os.path.join(module_dir, "data", "valgrind"))
if not self._options.build_dir:
- dir_chrome = os.path.join(self._source_dir, "sconsbuild", "Debug")
+ builddir = {
+ 'darwin': 'xcodebuild',
+ 'linux2': 'sconsbuild'
+ }[sys.platform]
+ dir_chrome = os.path.join(self._source_dir, builddir, "Debug")
dir_module = os.path.join(module_dir, "Debug")
if exe:
exe_chrome = os.path.join(dir_chrome, exe)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698