OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 <project name="chrome_common_defines"> | 7 <project name="chrome_common_defines"> |
8 <!-- Common build properties for Chrome for android. --> | 8 <!-- Common build properties for Chrome for android. --> |
9 | 9 |
10 <!-- | 10 <!-- |
11 TODO(cjhopman): Remove this when all ant calls properly define | |
12 CONFIGURATION_NAME. | |
13 --> | |
14 <property name="CONFIGURATION_NAME" value="Debug"/> | |
15 | |
16 <!-- | |
17 Convert the buildtype to lowercase. E.g Debug -> debug, | |
18 Release -> release. | |
19 --> | |
20 <script language="javascript"> | |
21 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
| |
22 project.getProperty("CONFIGURATION_NAME").toLowerCase()) | |
23 </script> | |
24 | |
25 <!-- | |
11 Macro for checking that a property is correctly set. Performs checks for: | 26 Macro for checking that a property is correctly set. Performs checks for: |
12 1. Property is set and not null. | 27 1. Property is set and not null. |
13 2. String value of property does not contains any '$' signs. | 28 2. String value of property does not contains any '$' signs. |
14 --> | 29 --> |
15 <macrodef name="check-property-value"> | 30 <macrodef name="check-property-value"> |
16 <attribute name="property"/> | 31 <attribute name="property"/> |
17 <sequential> | 32 <sequential> |
18 <fail message ="Property @{property} is not set."> | 33 <fail message ="Property @{property} is not set."> |
19 <condition> | 34 <condition> |
20 <or> | 35 <or> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 build/android/pylib/constants.py | 96 build/android/pylib/constants.py |
82 --> | 97 --> |
83 <!-- Common directory for chromium_*.jars. --> | 98 <!-- Common directory for chromium_*.jars. --> |
84 <property-location name="lib.java.dir" location="${PRODUCT_DIR}/lib.java"/> | 99 <property-location name="lib.java.dir" location="${PRODUCT_DIR}/lib.java"/> |
85 <!-- Common directory for test jars. --> | 100 <!-- Common directory for test jars. --> |
86 <property-location name="test.lib.java.dir" | 101 <property-location name="test.lib.java.dir" |
87 location="${PRODUCT_DIR}/test.lib.java"/> | 102 location="${PRODUCT_DIR}/test.lib.java"/> |
88 <!-- Common directory for apks. --> | 103 <!-- Common directory for apks. --> |
89 <property-location name="apks.dir" location="${PRODUCT_DIR}/apks"/> | 104 <property-location name="apks.dir" location="${PRODUCT_DIR}/apks"/> |
90 </project> | 105 </project> |
OLD | NEW |