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

Unified Diff: build/android/ant/apk-package.xml

Issue 13861023: [Android][Reland] Extract signing+zipaligning to python (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clobber build Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/gyp/finalize_apk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/ant/apk-package.xml
diff --git a/build/android/ant/apk-package.xml b/build/android/ant/apk-package.xml
index 51ceb0273c7e7f4734f25fa5cdb86b41b8f79197..6540d9988612322ec0598d638946626017b6c5b1 100644
--- a/build/android/ant/apk-package.xml
+++ b/build/android/ant/apk-package.xml
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<project default="-do-sign">
+<project default="-package">
<property name="verbose" value="false" />
<property name="out.dir" location="${OUT_DIR}" />
<!-- Output directories -->
@@ -46,14 +46,11 @@
<equals arg1="build.target" arg2="debug" />
</condition>
- <property name="out.final.file" location="${FINAL_APK_PATH}" />
-
<!-- Disables automatic signing. -->
<property name="build.is.signing.debug" value="false"/>
<!-- SDK tools assume that out.packaged.file is signed and name it "...-unaligned" -->
- <property name="out.packaged.file" value="${out.dir}/${APK_NAME}-unsigned.apk" />
- <property name="out.unaligned.file" value="${out.dir}/${APK_NAME}-unaligned.apk" />
+ <property name="out.packaged.file" value="${UNSIGNED_APK_PATH}" />
<property name="resource.dir" value="${RESOURCE_DIR}"/>
<property name="resource.absolute.dir" location="${resource.dir}"/>
@@ -167,33 +164,4 @@
<nativefolder path="${native.libs.absolute.dir}" />
</apkbuilder>
</target>
-
-
-
- <property name="key.store" value="${KEYSTORE_PATH}"/>
- <property name="key.store.password" value="chromium"/>
- <property name="key.alias" value="chromiumdebugkey"/>
- <property name="key.alias.password" value="chromium"/>
- <property name="zipalign" location="${android.tools.dir}/zipalign" />
-
- <!-- Signs and zipaligns the apk. -->
- <target name="-do-sign" depends="-package">
- <sequential>
- <echo level="info">Signing final apk...</echo>
- <signapk
- input="${out.packaged.file}"
- output="${out.unaligned.file}"
- keystore="${key.store}"
- storepass="${key.store.password}"
- alias="${key.alias}"
- keypass="${key.alias.password}" />
-
- <zipalign
- executable="${zipalign}"
- input="${out.unaligned.file}"
- output="${out.final.file}"
- verbose="${verbose}" />
- <echo level="info">Release Package: ${out.final.file}</echo>
- </sequential>
- </target>
</project>
« no previous file with comments | « no previous file | build/android/gyp/finalize_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698