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

Side by Side Diff: build/android/ant/apk-codegen.xml

Issue 306453003: Remove apk-codegen.xml (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix proguard.txt Created 6 years, 7 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 | build/android/ant/apk-obfuscate.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2005-2008 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17
18 <project default="-code-gen">
19 <property name="verbose" value="false" />
20
21 <property name="out.dir" location="${OUT_DIR}" />
22 <property name="out.absolute.dir" location="${out.dir}" />
23 <property name="out.res.absolute.dir" location="${out.dir}/res" />
24 <property name="gen.absolute.dir" value="${out.dir}/gen"/>
25
26 <!-- tools location -->
27 <property name="sdk.dir" location="${ANDROID_SDK_ROOT}"/>
28 <property name="android.sdk.tools.dir" location="${ANDROID_SDK_TOOLS}" />
29 <property name="aapt" location="${android.sdk.tools.dir}/aapt" />
30 <property name="project.target.android.jar" location="${ANDROID_SDK_JAR}" />
31
32 <!-- jar file from where the tasks are loaded -->
33 <path id="android.antlibs">
34 <pathelement path="${sdk.dir}/tools/lib/ant-tasks.jar" />
35 </path>
36
37 <!-- Custom tasks -->
38 <taskdef resource="anttasks.properties" classpathref="android.antlibs" />
39
40 <!--
41 Include additional resource folders in the apk, e.g. content/.../res. We
42 list the res folders in project.library.res.folder.path and the
43 corresponding java packages in project.library.packages, which must be
44 semicolon-delimited while ADDITIONAL_RES_PACKAGES is space-delimited, hence
45 the replacestring filterchain task.
46 -->
47 <path id="project.library.res.folder.path">
48 <filelist files="${ADDITIONAL_RES_DIRS}"/>
49 </path>
50 <path id="project.library.bin.r.file.path">
51 <filelist files="${ADDITIONAL_R_TEXT_FILES}"/>
52 </path>
53
54 <loadresource property="project.library.packages">
55 <propertyresource name="ADDITIONAL_RES_PACKAGES"/>
56 <filterchain>
57 <replacestring from=" " to=";"/>
58 </filterchain>
59 </loadresource>
60 <!-- Set to empty if not set by the loadresource above -->
61 <property name="project.library.packages" value=""/>
62
63 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/>
64
65 <property name="manifest.file" value="${ANDROID_MANIFEST}" />
66 <property name="manifest.abs.file" location="${manifest.file}" />
67
68 <!-- Intermediate files -->
69 <property name="resource.package.file.name" value="${APK_NAME}.ap_" />
70
71 <property name="aapt.ignore.assets" value="" />
72
73 <!-- Code Generation: compile resources (aapt -> R.java), aidl -->
74 <target name="-code-gen">
75 <mkdir dir="${out.absolute.dir}" />
76 <mkdir dir="${out.res.absolute.dir}" />
77 <mkdir dir="${gen.absolute.dir}" />
78
79 <aapt executable="${aapt}"
80 command="package"
81 verbose="${verbose}"
82 manifest="${manifest.abs.file}"
83 androidjar="${project.target.android.jar}"
84 rfolder="${gen.absolute.dir}"
85 nonConstantId="false"
86 libraryResFolderPathRefid="project.library.res.folder.path"
87 libraryPackagesRefid="project.library.packages"
88 libraryRFileRefid="project.library.bin.r.file.path"
89 ignoreAssets="${aapt.ignore.assets}"
90 binFolder="${out.absolute.dir}"
91 proguardFile="${out.absolute.dir}/proguard.txt">
92 <res path="${out.res.absolute.dir}" />
93 <res path="${resource.absolute.dir}" />
94 </aapt>
95
96 <touch file="${STAMP}" />
97 </target>
98 </project>
OLDNEW
« no previous file with comments | « no previous file | build/android/ant/apk-obfuscate.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698