OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 <project name="chromium-jars" default="dist"> | 6 <project name="chromium-jars" default="dist"> |
7 <!-- | 7 <!-- |
8 Common ant build file for for chromium_*.jars. | 8 Common ant build file for for chromium_*.jars. |
9 For creating a new chromium_*.jar : | 9 For creating a new chromium_*.jar : |
10 1. Use build/java.gypi action. | 10 1. Use build/java.gypi action. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 </target> | 61 </target> |
62 | 62 |
63 <target name="compile" depends="init" description="Compiles source."> | 63 <target name="compile" depends="init" description="Compiles source."> |
64 <fail message="Error: javac.custom.classpath is not set. Please set it to | 64 <fail message="Error: javac.custom.classpath is not set. Please set it to |
65 classpath for javac."> | 65 classpath for javac."> |
66 <condition> | 66 <condition> |
67 <not><isreference refid="javac.custom.classpath"/></not> | 67 <not><isreference refid="javac.custom.classpath"/></not> |
68 </condition> | 68 </condition> |
69 </fail> | 69 </fail> |
70 | 70 |
71 <echo> | |
72 Compiling ${javac.srcdir}, classpath: ${toString:javac.custom.classpath} | |
73 ${javac_includes_message} | |
74 </echo> | |
75 | |
76 <javac | 71 <javac |
77 srcdir="${javac.srcdir}" | 72 srcdir="${javac.srcdir}" |
78 destdir="${dest.dir}" | 73 destdir="${dest.dir}" |
79 classpathref="javac.custom.classpath" | 74 classpathref="javac.custom.classpath" |
80 debug="true" | 75 debug="true" |
81 includeantruntime="false" | 76 includeantruntime="false" |
82 includes="${JAVAC_INCLUDES}" | 77 includes="${JAVAC_INCLUDES}" |
83 /> | 78 /> |
84 </target> | 79 </target> |
85 | 80 |
(...skipping 13 matching lines...) Expand all Loading... |
99 be rebuilt in future builds. | 94 be rebuilt in future builds. |
100 --> | 95 --> |
101 <touch file="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"/> | 96 <touch file="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"/> |
102 </target> | 97 </target> |
103 | 98 |
104 <target name="clean" description="clean up"> | 99 <target name="clean" description="clean up"> |
105 <!-- Delete the appropriate directory trees --> | 100 <!-- Delete the appropriate directory trees --> |
106 <delete dir="${dest.dir}"/> | 101 <delete dir="${dest.dir}"/> |
107 </target> | 102 </target> |
108 </project> | 103 </project> |
OLD | NEW |