| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="UTF-8"?> | |
| 2 <project name="ChromeNativeTests" default="debug" basedir="."> | |
| 3 | |
| 4 <description> | |
| 5 Building native test runner ChromeNativeTests.apk | |
| 6 </description> | |
| 7 | |
| 8 <property environment="env"/> | |
| 9 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> | |
| 10 <property name="source.dir" location="java"/> | |
| 11 <property name="target" value="android-14"/> | |
| 12 | |
| 13 <!-- We expect PRODUCT_DIR to be set like the gyp var | |
| 14 (e.g. $ROOT/out/Debug) --> | |
| 15 <!-- TODO(jrg): ideally we need this to run before -build-setup, where | |
| 16 directories are made based on this variable. --> | |
| 17 <target name="-pre-build"> | |
| 18 <if> | |
| 19 <condition> | |
| 20 <isset property="PRODUCT_DIR" /> | |
| 21 </condition> | |
| 22 <else> | |
| 23 <fail message="PRODUCT_DIR env var not set?" /> | |
| 24 </else> | |
| 25 </if> | |
| 26 </target> | |
| 27 | |
| 28 <property name="out.dir" location="${PRODUCT_DIR}"/> | |
| 29 | |
| 30 <!-- TODO(jrg): should I make these directories specific to the apk? --> | |
| 31 <property name="resource.absolute.dir" value="${out.dir}/res"/> | |
| 32 <property name="gen.absolute.dir" value="${out.dir}/gen"/> | |
| 33 <property name="jar.libs.dir" value="${out.dir}/java/libs"/> | |
| 34 | |
| 35 <import file="${sdk.dir}/tools/ant/build.xml" /> | |
| 36 | |
| 37 </project> | |
| OLD | NEW |