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

Unified Diff: compiler/dart_analyzer.xml

Issue 10872106: Fixed dartc test/build setup, so test can run on Windows. Might be related to dart:2623 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed debugging printouts Created 8 years, 4 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 | « compiler/dart-compiler.gyp ('k') | compiler/scripts/dart_analyzer.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/dart_analyzer.xml
diff --git a/compiler/dart_analyzer.xml b/compiler/dart_analyzer.xml
index ff5713b080e143c2f71b28682db0e8a4e64c2f9d..ec04b4c7d080f18e2746a4217a7653fbb40bb6cb 100644
--- a/compiler/dart_analyzer.xml
+++ b/compiler/dart_analyzer.xml
@@ -132,6 +132,10 @@
<regexpmapper from="${third_party.dir}/(.*)" to="$DART_ANALYZER_LIBS/\1"/>
</pathconvert>
+ <pathconvert property="analyzer.classpath.runtime.win" targetos="windows" refid="classpath.runtime">
+ <regexpmapper from="(.*)third_party\\(.*)" to="%DART_ANALYZER_LIBS%\\\2"/>
+ </pathconvert>
+
<copy file="scripts/dart_analyzer.sh" tofile="${dist.dir}/bin/dart_analyzer">
<filterset>
<filter token="CLASSPATH" value="$DART_ANALYZER_LIBS/dart_analyzer.jar:${analyzer.classpath.runtime.unix}"/>
@@ -139,6 +143,14 @@
</copy>
<chmod file="${dist.dir}/bin/dart_analyzer" perm="a+rx"/>
+ <copy file="scripts/dart_analyzer.bat" tofile="${dist.dir}/bin/dart_analyzer.bat">
+ <filterset>
+ <filter
+ token="CLASSPATH"
+ value="%DART_ANALYZER_LIBS%\dart_analyzer.jar;${analyzer.classpath.runtime.win}"/>
+ </filterset>
+ </copy>
+
<!--
TODO: The following files are not strictly due to dist, move them out.
-->
@@ -157,7 +169,7 @@
-->
<copy todir="${dist.dir}/util/analyzer">
<path refid="classpath.runtime"/>
- <regexpmapper from="${third_party.dir}/(.*)" to="\1"/>
+ <regexpmapper from="(.*)third_party[/\\](.*)" to="\2"/>
</copy>
</target>
« no previous file with comments | « compiler/dart-compiler.gyp ('k') | compiler/scripts/dart_analyzer.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698