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

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

Issue 11017016: Add support for building apk in release (Closed) Base URL: http://git.chromium.org/chromium/src.git@apk_combine
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/java/AndroidManifest.xml ('k') | build/java_apk.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/ant/chromium-apk.xml
diff --git a/build/android/ant/chromium-apk.xml b/build/android/ant/chromium-apk.xml
index 2779a5e6c086fad4bed071a035149dab69ab3f0b..2c0d33d365c33c44829295a4a4c74365c6ea94f2 100644
--- a/build/android/ant/chromium-apk.xml
+++ b/build/android/ant/chromium-apk.xml
@@ -3,8 +3,17 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
-<project default="debug">
+<project default="error">
<property name="ant.project.name" value="${APK_NAME}"/>
+ <!--
+ Gyp will pass CONFIGURATION_NAME as the target for ant to build. These targets will call the
+ appropriate sdk tools target.
+ -->
+ <target name="Debug" depends="debug"/>
+ <target name="Release" depends="release"/>
+ <target name="error">
+ <fail message="CONFIGURATION_NAME should be passed as a target to ant."/>
+ </target>
<description>
Building ${ant.project.name}.apk
« no previous file with comments | « android_webview/java/AndroidManifest.xml ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698