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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 debug="true" | 58 debug="true" |
59 includeantruntime="false" | 59 includeantruntime="false" |
60 /> | 60 /> |
61 </target> | 61 </target> |
62 | 62 |
63 <target name="dist" depends="compile" | 63 <target name="dist" depends="compile" |
64 description="Generate chromium_${PACKAGE_NAME}.jar."> | 64 description="Generate chromium_${PACKAGE_NAME}.jar."> |
65 <!-- Create the distribution directory --> | 65 <!-- Create the distribution directory --> |
66 <mkdir dir="${lib.dir}" /> | 66 <mkdir dir="${lib.dir}" /> |
67 <jar jarfile="${lib.dir}/chromium_${PACKAGE_NAME}.jar" basedir="${dest.dir}"
/> | 67 <jar jarfile="${lib.dir}/chromium_${PACKAGE_NAME}.jar" basedir="${dest.dir}"
/> |
| 68 |
| 69 <!-- If Gyp thinks this output is stale but Ant doesn't, the modification |
| 70 time should still be updated. Otherwise, this target will continue to |
| 71 be rebuilt in future builds. |
| 72 --> |
| 73 <touch file="${lib.dir}/chromium_${PACKAGE_NAME}.jar"/> |
68 </target> | 74 </target> |
69 | 75 |
70 <target name="clean" description="clean up"> | 76 <target name="clean" description="clean up"> |
71 <!-- Delete the appropriate directory trees --> | 77 <!-- Delete the appropriate directory trees --> |
72 <delete dir="${dest.dir}" /> | 78 <delete dir="${dest.dir}" /> |
73 </target> | 79 </target> |
74 </project> | 80 </project> |
OLD | NEW |