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

Side by Side Diff: compiler/build.xml

Issue 14103023: Change our encoding for javac compiles to explicitly use UTF-8. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | editor/tools/compile_analyzer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 --> 72 -->
73 <mkdir dir="${build.classes.dir}"/> 73 <mkdir dir="${build.classes.dir}"/>
74 74
75 <javac destdir="${build.classes.dir}" 75 <javac destdir="${build.classes.dir}"
76 sourcepath="" 76 sourcepath=""
77 srcdir="java" 77 srcdir="java"
78 includes="${java_sources}" 78 includes="${java_sources}"
79 fork="true" 79 fork="true"
80 debug="true" 80 debug="true"
81 source="1.6" 81 source="1.6"
82 target="1.6"> 82 target="1.6"
83 encoding="UTF-8">
83 <classpath refid="classpath.compile"/> 84 <classpath refid="classpath.compile"/>
84 </javac> 85 </javac>
85 <!-- 86 <!--
86 Copy all non-java resources. 87 Copy all non-java resources.
87 --> 88 -->
88 <copy todir="${build.classes.dir}"> 89 <copy todir="${build.classes.dir}">
89 <filelist refid="java_resources"/> 90 <filelist refid="java_resources"/>
90 </copy> 91 </copy>
91 92
92 </target> 93 </target>
93 94
94 <target name="compile-tests" depends="compile" description="Compiles all of th e java tests and copies the resources to the test classes directory." > 95 <target name="compile-tests" depends="compile" description="Compiles all of th e java tests and copies the resources to the test classes directory." >
95 <mkdir dir="${build.test.classes.dir}"/> 96 <mkdir dir="${build.test.classes.dir}"/>
96 <javac destdir="${build.test.classes.dir}" 97 <javac destdir="${build.test.classes.dir}"
97 sourcepath="" 98 sourcepath=""
98 srcdir="javatests" 99 srcdir="javatests"
99 includes="${javatests_sources}" 100 includes="${javatests_sources}"
100 excludes="com/google/dart/compiler/vm/**" 101 excludes="com/google/dart/compiler/vm/**"
101 fork="true" 102 fork="true"
102 debug="true" 103 debug="true"
103 source="1.6" 104 source="1.6"
104 target="1.6"> 105 target="1.6"
106 encoding="UTF-8">
105 <classpath refid="classpath.compile.tests"/> 107 <classpath refid="classpath.compile.tests"/>
106 </javac> 108 </javac>
107 <!-- 109 <!--
108 Copy the non-java resources. 110 Copy the non-java resources.
109 --> 111 -->
110 <copy todir="${build.test.classes.dir}"> 112 <copy todir="${build.test.classes.dir}">
111 <filelist refid="javatests_resources"/> 113 <filelist refid="javatests_resources"/>
112 </copy> 114 </copy>
113 </target> 115 </target>
114 116
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 176
175 <target name="clean" description="Deletes the build output directory."> 177 <target name="clean" description="Deletes the build output directory.">
176 <delete dir="${build.dir}"/> 178 <delete dir="${build.dir}"/>
177 <delete dir="${dist.dir}"/> 179 <delete dir="${dist.dir}"/>
178 </target> 180 </target>
179 181
180 <target name="tests.jar" depends="compile-tests"> 182 <target name="tests.jar" depends="compile-tests">
181 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/> 183 <jar destfile="${build.dir}/tests.jar" basedir="${build.test.classes.dir}"/>
182 </target> 184 </target>
183 </project> 185 </project>
OLDNEW
« no previous file with comments | « no previous file | editor/tools/compile_analyzer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698