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

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

Issue 21977003: Build changes for updating Android SDK to 4.3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Turns out we need ANDROID_SDK_VERSION in constants.py (findbugs uses it). Created 7 years, 4 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
« no previous file with comments | « build/android/ant/apk-compile.xml ('k') | build/android/ant/apk-package.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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- 2 <!--
3 Copyright (C) 2005-2008 The Android Open Source Project 3 Copyright (C) 2005-2008 The Android Open Source Project
4 4
5 Licensed under the Apache License, Version 2.0 (the "License"); 5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with 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 7 You may obtain a copy of the License at
8 8
9 http://www.apache.org/licenses/LICENSE-2.0 9 http://www.apache.org/licenses/LICENSE-2.0
10 10
11 Unless required by applicable law or agreed to in writing, software 11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS, 12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and 14 See the License for the specific language governing permissions and
15 limitations under the License. 15 limitations under the License.
16 --> 16 -->
17 17
18 <project default="-obfuscate"> 18 <project default="-obfuscate">
19 <property name="verbose" value="false" /> 19 <property name="verbose" value="false" />
20 <property name="out.dir" location="${OUT_DIR}" /> 20 <property name="out.dir" location="${OUT_DIR}" />
21 <!-- Output directories --> 21 <!-- Output directories -->
22 <property name="out.dir" value="bin" /> 22 <property name="out.dir" value="bin" />
23 <property name="out.absolute.dir" location="${out.dir}" /> 23 <property name="out.absolute.dir" location="${out.dir}" />
24 <property name="out.classes.absolute.dir" location="${out.dir}/classes" /> 24 <property name="out.classes.absolute.dir" location="${out.dir}/classes" />
25 <property name="out.manifest.abs.file" location="${out.dir}/AndroidManifest.xm l" /> 25 <property name="out.manifest.abs.file" location="${out.dir}/AndroidManifest.xm l" />
26 26
27 <!-- tools location --> 27 <!-- tools location -->
28 <property name="sdk.dir" location="${ANDROID_SDK_ROOT}"/> 28 <property name="sdk.dir" location="${ANDROID_SDK_ROOT}"/>
29 <property name="target" value="android-${ANDROID_SDK_VERSION}"/>
30 <property name="android.tools.dir" location="${sdk.dir}/tools" /> 29 <property name="android.tools.dir" location="${sdk.dir}/tools" />
31 30
32 <property name="project.target.android.jar" location="${ANDROID_SDK_JAR}" /> 31 <property name="project.target.android.jar" location="${ANDROID_SDK_JAR}" />
33 <path id="project.target.class.path"> 32 <path id="project.target.class.path">
34 <pathelement location="${project.target.android.jar}" /> 33 <pathelement location="${project.target.android.jar}" />
35 </path> 34 </path>
36 35
37 36
38 <!-- jar file from where the tasks are loaded --> 37 <!-- jar file from where the tasks are loaded -->
39 <path id="android.antlibs"> 38 <path id="android.antlibs">
40 <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" /> 39 <pathelement path="${sdk.dir}/tools/lib/ant-tasks.jar" />
41 </path> 40 </path>
42 41
43 <!-- Custom tasks --> 42 <!-- Custom tasks -->
44 <taskdef resource="anttasks.properties" classpathref="android.antlibs" /> 43 <taskdef resource="anttasks.properties" classpathref="android.antlibs" />
45 44
46 <!-- Classpath for javac --> 45 <!-- Classpath for javac -->
47 <path id="javac.custom.classpath"> 46 <path id="javac.custom.classpath">
48 <filelist files="${INPUT_JARS_PATHS}"/> 47 <filelist files="${INPUT_JARS_PATHS}"/>
49 </path> 48 </path>
50 49
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 -dump "${obfuscate.absolute.dir}/dump.txt" 147 -dump "${obfuscate.absolute.dir}/dump.txt"
149 -printseeds "${obfuscate.absolute.dir}/seeds.txt" 148 -printseeds "${obfuscate.absolute.dir}/seeds.txt"
150 -printusage "${obfuscate.absolute.dir}/usage.txt" 149 -printusage "${obfuscate.absolute.dir}/usage.txt"
151 -printmapping "${obfuscate.absolute.dir}/mapping.txt" 150 -printmapping "${obfuscate.absolute.dir}/mapping.txt"
152 </proguard> 151 </proguard>
153 </then> 152 </then>
154 </if> 153 </if>
155 <touch file="${STAMP}" /> 154 <touch file="${STAMP}" />
156 </target> 155 </target>
157 </project> 156 </project>
OLDNEW
« no previous file with comments | « build/android/ant/apk-compile.xml ('k') | build/android/ant/apk-package.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698