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

Unified Diff: base/android/java/base.xml

Issue 9443018: Upstream Android's PathUtils implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased patch Created 8 years, 9 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
« no previous file with comments | « no previous file | base/android/java/org/chromium/base/CalledByNative.java » ('j') | base/base.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/base.xml
diff --git a/base/android/java/base.xml b/base/android/java/base.xml
index a688eabc8d6f379cbe25077c56a4bf3017c4d587..87cd72b53c02b29541377b5e1c5d687e37232025 100644
--- a/base/android/java/base.xml
+++ b/base/android/java/base.xml
@@ -2,10 +2,13 @@
<description>
building base java source code with ant
</description>
- <!-- set global properties for this build -->
+ <!-- Set global properties for this build -->
+ <property environment="env"/>
+ <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/>
+ <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/>
<property name="src" location="."/>
<property name="build" location="build"/>
- <property name="dist" location="dist"/>
+ <property name="dist" location="dist"/>
<target name="init">
<!-- Create the time stamp -->
@@ -17,7 +20,11 @@
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
- <javac srcdir="${src}" destdir="${build}"/>
+ <javac srcdir="${src}" destdir="${build}">
+ <classpath>
+ <path location="${sdk.dir}/platforms/android-${sdk.version}/android.jar"/>
+ </classpath>
+ </javac>
</target>
<target name="dist" depends="compile"
« no previous file with comments | « no previous file | base/android/java/org/chromium/base/CalledByNative.java » ('j') | base/base.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698