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

Side by Side Diff: compiler/dartc.xml

Issue 9466041: Removes dependency on v8 from dartc testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <project default="dist"> 1 <project default="dist">
ahe 2012/02/27 06:33:22 Add copyright.
zundel 2012/02/27 07:31:11 Done.
2 <import file="sources.xml"/> 2 <import file="sources.xml"/>
3 <import file="test_sources.xml"/> 3 <import file="test_sources.xml"/>
4 <import file="corelib_sources.xml"/> 4 <import file="corelib_sources.xml"/>
5 <import file="compiler_corelib_sources.xml"/> 5 <import file="compiler_corelib_sources.xml"/>
6 <import file="domlib_sources.xml"/> 6 <import file="domlib_sources.xml"/>
7 <import file="htmllib_sources.xml"/> 7 <import file="htmllib_sources.xml"/>
8 <import file="jsonlib_sources.xml"/> 8 <import file="jsonlib_sources.xml"/>
9 9
10 <!-- 10 <!--
11 The file build.properties does not exist. If provided, properties can be cus tomized. 11 The file build.properties does not exist. If provided, properties can be cus tomized.
(...skipping 26 matching lines...) Expand all
38 <property name="htmllib.jar" value="${build.dir}/htmllib.jar"/> 38 <property name="htmllib.jar" value="${build.dir}/htmllib.jar"/>
39 39
40 <property name="jsonlib.jar" value="${build.dir}/jsonlib.jar"/> 40 <property name="jsonlib.jar" value="${build.dir}/jsonlib.jar"/>
41 41
42 <property name="dist.dir" value="${build.dir}/dist"/> 42 <property name="dist.dir" value="${build.dir}/dist"/>
43 43
44 <property name="test.report.dir" value="${build.dir}/test"/> 44 <property name="test.report.dir" value="${build.dir}/test"/>
45 45
46 <property name="third_party.dir" value="../third_party"/> 46 <property name="third_party.dir" value="../third_party"/>
47 47
48 <property name="d8" value="$DARTC_HOME/bin/d8.$OS"/>
ahe 2012/02/27 06:33:22 Don't forget to update build.xml as well.
49
50 <property name="test_py" location="../tools/test.py"/> 48 <property name="test_py" location="../tools/test.py"/>
51 49
52 <!-- 50 <!--
53 Define buildtime and runtime classpaths. 51 Define buildtime and runtime classpaths.
54 --> 52 -->
55 <path id="classpath.compile"> 53 <path id="classpath.compile">
56 <pathelement location="${third_party.dir}/args4j/2.0.12/args4j-2.0.12.jar"/> 54 <pathelement location="${third_party.dir}/args4j/2.0.12/args4j-2.0.12.jar"/>
57 <pathelement location="${third_party.dir}/guava/r09/guava-r09.jar"/> 55 <pathelement location="${third_party.dir}/guava/r09/guava-r09.jar"/>
58 <pathelement location="${third_party.dir}/json/r2_20080312/json.jar"/> 56 <pathelement location="${third_party.dir}/json/r2_20080312/json.jar"/>
59 <pathelement location="${third_party.dir}/rhino/1_7R3/js.jar"/> 57 <pathelement location="${third_party.dir}/rhino/1_7R3/js.jar"/>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 <regexpmapper from="${third_party.dir}/(.*)" to="$DARTC_LIBS/\1"/> 206 <regexpmapper from="${third_party.dir}/(.*)" to="$DARTC_LIBS/\1"/>
209 </pathconvert> 207 </pathconvert>
210 208
211 <copy file="scripts/dartc.sh" tofile="${dist.dir}/bin/dartc"> 209 <copy file="scripts/dartc.sh" tofile="${dist.dir}/bin/dartc">
212 <filterset> 210 <filterset>
213 <filter token="CLASSPATH" value="$DARTC_LIBS/dartc.jar:$DARTC_LIBS/corel ib.jar:$DARTC_LIBS/domlib.jar:$DARTC_LIBS/htmllib.jar:$DARTC_LIBS/jsonlib.jar:${ dartc.classpath.runtime.unix}"/> 211 <filter token="CLASSPATH" value="$DARTC_LIBS/dartc.jar:$DARTC_LIBS/corel ib.jar:$DARTC_LIBS/domlib.jar:$DARTC_LIBS/htmllib.jar:$DARTC_LIBS/jsonlib.jar:${ dartc.classpath.runtime.unix}"/>
214 </filterset> 212 </filterset>
215 </copy> 213 </copy>
216 <chmod file="${dist.dir}/bin/dartc" perm="a+rx"/> 214 <chmod file="${dist.dir}/bin/dartc" perm="a+rx"/>
217 215
218 <copy file="scripts/dartc_test.sh" tofile="${dist.dir}/bin/dartc_test">
219 <filterset>
220 <filter token="CLASSPATH" value="$DARTC_LIBS/dartc.jar:$DARTC_LIBS/corel ib.jar:$DARTC_LIBS/domlib.jar:$DARTC_LIBS/htmllib.jar:$DARTC_LIBS/jsonlib.jar:${ dartc.classpath.runtime.unix}"/>
221 <filter token="D8_EXEC" value="${d8}"/>
222 </filterset>
223 </copy>
224 <chmod file="${dist.dir}/bin/dartc_test" perm="a+rx"/>
225
226 <!-- 216 <!--
227 TODO: The following files are not strictly due to dist, move them out. 217 TODO: The following files are not strictly due to dist, move them out.
228 --> 218 -->
229 <copy todir="${build.dir}"> 219 <copy todir="${build.dir}">
230 <fileset dir="scripts"> 220 <fileset dir="scripts">
231 <include name="dartc_run.sh"/> 221 <include name="dartc_run.sh"/>
232 <include name="dartc_size.sh"/> 222 <include name="dartc_size.sh"/>
233 <include name="dartc_metrics.sh"/> 223 <include name="dartc_metrics.sh"/>
234 </fileset> 224 </fileset>
235 <filterset> 225 <filterset>
(...skipping 15 matching lines...) Expand all
251 241
252 <target name="clean" description="Deletes the build output directory."> 242 <target name="clean" description="Deletes the build output directory.">
253 <delete dir="${build.dir}"/> 243 <delete dir="${build.dir}"/>
254 <delete dir="${dist.dir}"/> 244 <delete dir="${dist.dir}"/>
255 </target> 245 </target>
256 246
257 <target name="tests.jar" depends="compile-tests"> 247 <target name="tests.jar" depends="compile-tests">
258 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/> 248 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/>
259 </target> 249 </target>
260 </project> 250 </project>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698