diff options
author | cjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 20:17:56 +0000 |
---|---|---|
committer | cjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-09 20:17:56 +0000 |
commit | 87529664253b6628bc53c2274628ca6b002f88c2 (patch) | |
tree | 060c2c46864d52092f07b6c8f2041adcb0b3de98 /build/android/ant | |
parent | 5c96d9dadfb0ad24f68cbbb217095f8f20e34cf4 (diff) | |
download | chromium_src-87529664253b6628bc53c2274628ca6b002f88c2.zip chromium_src-87529664253b6628bc53c2274628ca6b002f88c2.tar.gz chromium_src-87529664253b6628bc53c2274628ca6b002f88c2.tar.bz2 |
Add support for building apk in release
Until now, even in a Release configuration, apks were built in debug.
Now, they will be built in the correct configuration.
BUG=
TBR=torne
Review URL: https://chromiumcodereview.appspot.com/11017016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/ant')
-rw-r--r-- | build/android/ant/chromium-apk.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/build/android/ant/chromium-apk.xml b/build/android/ant/chromium-apk.xml index 2779a5e..2c0d33d 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 |