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

Side by Side Diff: build/android/ant/chromium-jars.xml

Issue 11363150: Support Java resources within content and chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 | « build/android/ant/chromium-apk.xml ('k') | build/android/findbugs_filter/findbugs_exclude.xml » ('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 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 destdir="${dest.dir}" 78 destdir="${dest.dir}"
79 classpathref="javac.custom.classpath" 79 classpathref="javac.custom.classpath"
80 debug="true" 80 debug="true"
81 includeantruntime="false" 81 includeantruntime="false"
82 includes="${JAVAC_INCLUDES}" 82 includes="${JAVAC_INCLUDES}"
83 /> 83 />
84 </target> 84 </target>
85 85
86 <target name="dist" depends="compile" 86 <target name="dist" depends="compile"
87 description="Generate chromium_${PACKAGE_NAME}.jar."> 87 description="Generate chromium_${PACKAGE_NAME}.jar.">
88 <!-- Create the distribution directory --> 88 <!-- Create the distribution directory. We exclude R.class and R$*.class
89 files since new versions of these files with the correct resource -> ID
90 mapping will be provided when we build each individual apk. -->
89 <jar 91 <jar
90 jarfile="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar" 92 jarfile="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"
93 excludes="**/R.class **/R$*.class"
91 basedir="${dest.dir}" 94 basedir="${dest.dir}"
92 /> 95 />
93 96
94 <!-- If Gyp thinks this output is stale but Ant doesn't, the modification 97 <!-- If Gyp thinks this output is stale but Ant doesn't, the modification
95 time should still be updated. Otherwise, this target will continue to 98 time should still be updated. Otherwise, this target will continue to
96 be rebuilt in future builds. 99 be rebuilt in future builds.
97 --> 100 -->
98 <touch file="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"/> 101 <touch file="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"/>
99 </target> 102 </target>
100 103
101 <target name="clean" description="clean up"> 104 <target name="clean" description="clean up">
102 <!-- Delete the appropriate directory trees --> 105 <!-- Delete the appropriate directory trees -->
103 <delete dir="${dest.dir}"/> 106 <delete dir="${dest.dir}"/>
104 </target> 107 </target>
105 </project> 108 </project>
OLDNEW
« no previous file with comments | « build/android/ant/chromium-apk.xml ('k') | build/android/findbugs_filter/findbugs_exclude.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698