Index: net/android/java/net.xml |
diff --git a/net/android/java/net.xml b/net/android/java/net.xml |
index a627612e8e55d5ce7f47f6ad11938e5956fa4520..22d3871e161e587347e8e561afe261dbb9d8cc75 100644 |
--- a/net/android/java/net.xml |
+++ b/net/android/java/net.xml |
@@ -3,11 +3,6 @@ |
Building net/ java source code with ant. |
</description> |
<!-- Set global properties for this build --> |
- <property environment="env"/> |
- <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/> |
- <!-- TODO(jrg): The apk-runner's version is hardcoded to SDK version 14. These |
- two should be unified. --> |
- <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/> |
<property name="src" location="src"/> |
<property name="dist" location="dist"/> |
<property name="out.dir" location="${PRODUCT_DIR}/lib.java"/> |
@@ -16,15 +11,6 @@ |
like this are androidified --> |
<property name="dest.dir" location="${PRODUCT_DIR}/java/net"/> |
- <!-- Set path depending on the type of repository. If ANDROID_BUILD_TOP is |
- set then build using the provided location. Otherwise, assume the build |
- is using the released SDK and set the path accordingly. --> |
- <condition property="location.base" |
- value="${sdk.dir}" |
- else="${sdk.dir}/platforms/android-${sdk.version}"> |
- <isset property="env.ANDROID_BUILD_TOP"/> |
- </condition> |
- |
<target name="init"> |
<!-- Create the time stamp --> |
<tstamp/> |
@@ -37,7 +23,7 @@ |
description="compile the source " > |
<javac srcdir="${src}" destdir="${dest.dir}" debug="true" includeantruntime="false"> |
<classpath> |
- <path location="${location.base}/android.jar"/> |
+ <path location="${ANDROID_SDK}/android.jar"/> |
<path location="${out.dir}/chromium_base.jar"/> |
</classpath> |
</javac> |