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: 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: provide access to resources of dependencies (take 2) 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
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 srcdir="${javac.srcdir}" 70 srcdir="${javac.srcdir}"
71 destdir="${dest.dir}" 71 destdir="${dest.dir}"
72 classpathref="javac.custom.classpath" 72 classpathref="javac.custom.classpath"
73 debug="true" 73 debug="true"
74 includeantruntime="false" 74 includeantruntime="false"
75 /> 75 />
76 </target> 76 </target>
77 77
78 <target name="dist" depends="compile" 78 <target name="dist" depends="compile"
79 description="Generate chromium_${PACKAGE_NAME}.jar."> 79 description="Generate chromium_${PACKAGE_NAME}.jar.">
80 <!-- Create the distribution directory --> 80 <!-- Create the distribution directory. We exclude R.class and R$*.class
81 files since new versions of these files with the correct resource -> ID
82 mapping will be provided when we build each individual apk. -->
81 <jar 83 <jar
82 jarfile="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar" 84 jarfile="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"
85 excludes="**/R.class **/R$*.class"
83 basedir="${dest.dir}" 86 basedir="${dest.dir}"
84 /> 87 />
85 88
86 <!-- If Gyp thinks this output is stale but Ant doesn't, the modification 89 <!-- If Gyp thinks this output is stale but Ant doesn't, the modification
87 time should still be updated. Otherwise, this target will continue to 90 time should still be updated. Otherwise, this target will continue to
88 be rebuilt in future builds. 91 be rebuilt in future builds.
89 --> 92 -->
90 <touch file="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"/> 93 <touch file="${lib.java.dir}/chromium_${PACKAGE_NAME}.jar"/>
91 </target> 94 </target>
92 95
93 <target name="clean" description="clean up"> 96 <target name="clean" description="clean up">
94 <!-- Delete the appropriate directory trees --> 97 <!-- Delete the appropriate directory trees -->
95 <delete dir="${dest.dir}"/> 98 <delete dir="${dest.dir}"/>
96 </target> 99 </target>
97 </project> 100 </project>
OLDNEW
« no previous file with comments | « build/android/ant/chromium-apk.xml ('k') | build/java.gypi » ('j') | build/java.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698