| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 for details. All rights reserved. Use of this source code is governed by a | 3 for details. All rights reserved. Use of this source code is governed by a |
| 4 BSD-style license that can be found in the LICENSE file. | 4 BSD-style license that can be found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <project default="dist"> | 6 <project default="dist"> |
| 7 <!-- | 7 <!-- |
| 8 EDIT DARTC.XML FIRST. This file is no longer used to build | 8 EDIT DARTC.XML FIRST. This file is no longer used to build |
| 9 dartc proper. It is only here to avoid breaking dartium.gyp | 9 dartc proper. It is only here to avoid breaking dartium.gyp |
| 10 short term. Change dartc.xml to get everything working, | 10 short term. Change dartc.xml to get everything working, |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 <regexpmapper from="${third_party.dir}/(.*)" to="$DART_ANALYZER_LIBS/\1"/> | 133 <regexpmapper from="${third_party.dir}/(.*)" to="$DART_ANALYZER_LIBS/\1"/> |
| 134 </pathconvert> | 134 </pathconvert> |
| 135 | 135 |
| 136 <copy file="scripts/dart_analyzer.sh" tofile="${dist.dir}/bin/dart_analyzer"
> | 136 <copy file="scripts/dart_analyzer.sh" tofile="${dist.dir}/bin/dart_analyzer"
> |
| 137 <filterset> | 137 <filterset> |
| 138 <filter token="CLASSPATH" value="$DART_ANALYZER_LIBS/dart_analyzer.jar:$
{analyzer.classpath.runtime.unix}"/> | 138 <filter token="CLASSPATH" value="$DART_ANALYZER_LIBS/dart_analyzer.jar:$
{analyzer.classpath.runtime.unix}"/> |
| 139 </filterset> | 139 </filterset> |
| 140 </copy> | 140 </copy> |
| 141 <chmod file="${dist.dir}/bin/dart_analyzer" perm="a+rx"/> | 141 <chmod file="${dist.dir}/bin/dart_analyzer" perm="a+rx"/> |
| 142 | 142 |
| 143 <copy file="scripts/dart_analyzer.bat" tofile="${dist.dir}/bin/dart_analyzer
.bat"> |
| 144 <filterset> |
| 145 <filter token="CLASSPATH" value="$DART_ANALYZER_LIBS/dart_analyzer.jar:$
{analyzer.classpath.runtime.win}"/> |
| 146 </filterset> |
| 147 </copy> |
| 148 |
| 143 <!-- | 149 <!-- |
| 144 TODO: The following files are not strictly due to dist, move them out. | 150 TODO: The following files are not strictly due to dist, move them out. |
| 145 --> | 151 --> |
| 146 <copy todir="${build.dir}"> | 152 <copy todir="${build.dir}"> |
| 147 <fileset dir="scripts"> | 153 <fileset dir="scripts"> |
| 148 <include name="analyzer_metrics.sh"/> | 154 <include name="analyzer_metrics.sh"/> |
| 149 </fileset> | 155 </fileset> |
| 150 <filterset> | 156 <filterset> |
| 151 <filter token="CLASSPATH" value="$DARTC_LIBS/dart_analyzer.jar:${analyze
r.classpath.runtime.unix}"/> | 157 <filter token="CLASSPATH" value="$DARTC_LIBS/dart_analyzer.jar:${analyze
r.classpath.runtime.unix}"/> |
| 152 </filterset> | 158 </filterset> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 164 | 170 |
| 165 <target name="clean" description="Deletes the build output directory."> | 171 <target name="clean" description="Deletes the build output directory."> |
| 166 <delete dir="${build.dir}"/> | 172 <delete dir="${build.dir}"/> |
| 167 <delete dir="${dist.dir}"/> | 173 <delete dir="${dist.dir}"/> |
| 168 </target> | 174 </target> |
| 169 | 175 |
| 170 <target name="tests.jar" depends="compile-tests"> | 176 <target name="tests.jar" depends="compile-tests"> |
| 171 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/> | 177 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/> |
| 172 </target> | 178 </target> |
| 173 </project> | 179 </project> |
| OLD | NEW |