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

Unified Diff: build/android/ant/common.xml

Issue 10959034: Make apks build from a single ant .xml template (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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
Index: build/android/ant/common.xml
diff --git a/build/android/ant/common.xml b/build/android/ant/common.xml
index 1001f19eb037f74784513c9d26341024605dec55..b9b15bd3e05d790ddb35f05c416e5a9a4268849b 100644
--- a/build/android/ant/common.xml
+++ b/build/android/ant/common.xml
@@ -8,6 +8,21 @@
<!-- Common build properties for Chrome for android. -->
<!--
+ TODO(cjhopman): Remove this when all ant calls properly define
+ CONFIGURATION_NAME.
+ -->
+ <property name="CONFIGURATION_NAME" value="Debug"/>
+
+ <!--
+ Convert the buildtype to lowercase. E.g Debug -> debug,
+ Release -> release.
+ -->
+ <script language="javascript">
+ project.setProperty("configuration.name",
shashi 2012/09/21 01:53:55 Where is configuration.name used?
cjhopman 2012/09/28 01:14:25 This was introduced a long time ago towards suppor
+ project.getProperty("CONFIGURATION_NAME").toLowerCase())
+ </script>
+
+ <!--
Macro for checking that a property is correctly set. Performs checks for:
1. Property is set and not null.
2. String value of property does not contains any '$' signs.

Powered by Google App Engine
This is Rietveld 408576698