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

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

Issue 177923012: android: Remove unused codegen_input_paths and library_manifest_paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/java_apk.gypi » ('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
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 <loadresource property="project.library.packages"> 55 <loadresource property="project.library.packages">
56 <propertyresource name="ADDITIONAL_RES_PACKAGES"/> 56 <propertyresource name="ADDITIONAL_RES_PACKAGES"/>
57 <filterchain> 57 <filterchain>
58 <replacestring from=" " to=";"/> 58 <replacestring from=" " to=";"/>
59 </filterchain> 59 </filterchain>
60 </loadresource> 60 </loadresource>
61 <!-- Set to empty if not set by the loadresource above --> 61 <!-- Set to empty if not set by the loadresource above -->
62 <property name="project.library.packages" value=""/> 62 <property name="project.library.packages" value=""/>
63 63
64 <path id="project.library.manifest.file.path">
65 <filelist files="${LIBRARY_MANIFEST_PATHS}"/>
66 </path>
67
68 <!-- manifest merger default value -->
69 <condition property="manifestmerger.enabled"
70 value="false"
71 else="true">
72 <equals arg1="${LIBRARY_MANIFEST_PATHS}" arg2="" />
73 </condition>
74
75 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/> 64 <property name="resource.absolute.dir" value="${RESOURCE_DIR}"/>
76 65
77 <property name="manifest.file" value="${ANDROID_MANIFEST}" /> 66 <property name="manifest.file" value="${ANDROID_MANIFEST}" />
78 <property name="manifest.abs.file" location="${manifest.file}" /> 67 <property name="manifest.abs.file" location="${manifest.file}" />
79 68
80 <!-- Intermediate files --> 69 <!-- Intermediate files -->
81 <property name="resource.package.file.name" value="${APK_NAME}.ap_" /> 70 <property name="resource.package.file.name" value="${APK_NAME}.ap_" />
82 71
83 <property name="aapt.ignore.assets" value="" /> 72 <property name="aapt.ignore.assets" value="" />
84 73
85 <target name="-mergemanifest">
86 <mergemanifest
87 appManifest="${manifest.abs.file}"
88 outManifest="${out.manifest.abs.file}"
89 enabled="${manifestmerger.enabled}">
90 <library refid="project.library.manifest.file.path" />
91 </mergemanifest>
92 </target>
93
94 <!-- Code Generation: compile resources (aapt -> R.java), aidl --> 74 <!-- Code Generation: compile resources (aapt -> R.java), aidl -->
95 <target name="-code-gen" depends="-mergemanifest"> 75 <target name="-code-gen">
96 <mkdir dir="${out.absolute.dir}" /> 76 <mkdir dir="${out.absolute.dir}" />
97 <mkdir dir="${out.res.absolute.dir}" /> 77 <mkdir dir="${out.res.absolute.dir}" />
98 <mkdir dir="${gen.absolute.dir}" /> 78 <mkdir dir="${gen.absolute.dir}" />
99 79
100 <aapt executable="${aapt}" 80 <aapt executable="${aapt}"
101 command="package" 81 command="package"
102 verbose="${verbose}" 82 verbose="${verbose}"
103 manifest="${out.manifest.abs.file}" 83 manifest="${out.manifest.abs.file}"
cjhopman 2014/03/10 20:04:57 This should be: manifest="${manifest.abs.file}"
Nico 2014/03/10 20:10:24 https://codereview.chromium.org/193163004/ , thank
104 androidjar="${project.target.android.jar}" 84 androidjar="${project.target.android.jar}"
105 rfolder="${gen.absolute.dir}" 85 rfolder="${gen.absolute.dir}"
106 nonConstantId="false" 86 nonConstantId="false"
107 libraryResFolderPathRefid="project.library.res.folder.path" 87 libraryResFolderPathRefid="project.library.res.folder.path"
108 libraryPackagesRefid="project.library.packages" 88 libraryPackagesRefid="project.library.packages"
109 libraryRFileRefid="project.library.bin.r.file.path" 89 libraryRFileRefid="project.library.bin.r.file.path"
110 ignoreAssets="${aapt.ignore.assets}" 90 ignoreAssets="${aapt.ignore.assets}"
111 binFolder="${out.absolute.dir}" 91 binFolder="${out.absolute.dir}"
112 proguardFile="${out.absolute.dir}/proguard.txt"> 92 proguardFile="${out.absolute.dir}/proguard.txt">
113 <res path="${out.res.absolute.dir}" /> 93 <res path="${out.res.absolute.dir}" />
114 <res path="${resource.absolute.dir}" /> 94 <res path="${resource.absolute.dir}" />
115 </aapt> 95 </aapt>
116 96
117 <touch file="${STAMP}" /> 97 <touch file="${STAMP}" />
118 </target> 98 </target>
119 </project> 99 </project>
OLDNEW
« no previous file with comments | « no previous file | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698