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-apk.xml

Issue 11100002: Add Proguard option to gyp template. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 | « no previous file | build/java_apk.gypi » ('j') | build/java_apk.gypi » ('J')
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 default="debug"> 6 <project default="debug">
7 <property name="ant.project.name" value="${APK_NAME}"/> 7 <property name="ant.project.name" value="${APK_NAME}"/>
8 8
9 <description> 9 <description>
10 Building ${ant.project.name}.apk 10 Building ${ant.project.name}.apk
(...skipping 10 matching lines...) Expand all
21 <filelist files="${ADDITIONAL_SRC_DIRS}"/> 21 <filelist files="${ADDITIONAL_SRC_DIRS}"/>
22 <filelist files="${GENERATED_SRC_DIRS}"/> 22 <filelist files="${GENERATED_SRC_DIRS}"/>
23 </path> 23 </path>
24 24
25 <property-value name="target.abi" value="${APP_ABI}"/> 25 <property-value name="target.abi" value="${APP_ABI}"/>
26 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> 26 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/>
27 <property-value name="gen.absolute.dir" value="${out.dir}/gen"/> 27 <property-value name="gen.absolute.dir" value="${out.dir}/gen"/>
28 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs" 28 <property-location name="native.libs.absolute.dir" location="${out.dir}/libs"
29 check-exists="false"/> 29 check-exists="false"/>
30 30
31 <property-value name="version.code" value="${APP_MANIFEST_VERSION_CODE}"/>
32 <property-value name="version.name" value="${APP_MANIFEST_VERSION_NAME}"/>
33
34 <property name="proguard.config" value="${PROGUARD_FLAGS}"/>
35 <property name="proguard.enabled" value="${PROGUARD_ENABLED}"/>
36 <!-- TODO(shashishekhar): Enable emma and code-coverage filters. -->
37
31 <condition property="asset.absolute.dir" 38 <condition property="asset.absolute.dir"
32 value="${out.dir}/assets" 39 value="${out.dir}/assets"
33 else="${ASSET_DIR}"> 40 else="${ASSET_DIR}">
34 <equals arg1="${ASSET_DIR}" arg2=""/> 41 <equals arg1="${ASSET_DIR}" arg2=""/>
35 </condition> 42 </condition>
36 43
37 <!-- Set the output directory for the final apk to the ${apks.dir}. --> 44 <!-- Set the output directory for the final apk to the ${apks.dir}. -->
38 <property-location name="out.final.file" 45 <property-location name="out.final.file"
39 location="${apks.dir}/${ant.project.name}-debug.apk" 46 location="${apks.dir}/${ant.project.name}-debug.apk"
40 check-exists="false"/> 47 check-exists="false"/>
41 48
42 <path id="out.dex.jar.input.ref"> 49 <!-- Classpath for javac -->
50 <path id="javac.custom.classpath">
43 <filelist files="${INPUT_JARS_PATHS}"/> 51 <filelist files="${INPUT_JARS_PATHS}"/>
44 </path> 52 </path>
45 53
46 <!-- Classpath for javac --> 54 <path id="out.dex.jar.input.ref">
47 <path id="javac.custom.classpath"> 55 <path refid="javac.custom.classpath"/>
48 <path refid="out.dex.jar.input.ref"/>
49 </path> 56 </path>
50 57
51 <import file="sdk-targets.xml"/> 58 <import file="sdk-targets.xml"/>
52 <import file="${sdk.dir}/tools/ant/build.xml"/> 59 <import file="${sdk.dir}/tools/ant/build.xml"/>
53 </project> 60 </project>
54 61
OLDNEW
« no previous file with comments | « no previous file | build/java_apk.gypi » ('j') | build/java_apk.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698