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> |