Reviewers: iegorov,

Description:
Make windows-tick-processor respect D8_PATH.

Please review this at http://codereview.chromium.org/4078002/show

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  tools/windows-tick-processor.bat


Index: tools/windows-tick-processor.bat
diff --git a/tools/windows-tick-processor.bat b/tools/windows-tick-processor.bat index 33b1f77052ae2e2060c300dfde781b530f1ef4dd..d67f0471feaf2de41f489aee0a6146cb3947ea74 100755
--- a/tools/windows-tick-processor.bat
+++ b/tools/windows-tick-processor.bat
@@ -1,6 +1,7 @@
 @echo off

 SET tools_dir=%~dp0
+IF 1%D8_PATH% == 1 (SET D8_PATH=%tools_dir%..)

 SET log_file=v8.log

@@ -26,4 +27,4 @@ IF NOT %arg8:~0,2% == 8 (IF NOT %arg8:~0,2% == 8- SET log_file=%8)
 SET arg9=9%9
 IF NOT %arg9:~0,2% == 9 (IF NOT %arg9:~0,2% == 9- SET log_file=%9)

-type %log_file% | %tools_dir%..\d8 %tools_dir%splaytree.js %tools_dir%codemap.js %tools_dir%csvparser.js %tools_dir%consarray.js %tools_dir%profile.js %tools_dir%profile_view.js %tools_dir%logreader.js %tools_dir%tickprocessor.js %tools_dir%tickprocessor-driver.js -- --windows %* +type %log_file% | %D8_PATH%\d8 %tools_dir%splaytree.js %tools_dir%codemap.js %tools_dir%csvparser.js %tools_dir%consarray.js %tools_dir%profile.js %tools_dir%profile_view.js %tools_dir%logreader.js %tools_dir%tickprocessor.js %tools_dir%tickprocessor-driver.js -- --windows %*


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to