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