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

Side by Side Diff: net/android/java/net.xml

Issue 10073024: Add NetworkChangeNotifier for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add net/android/OWNERS, remove namespace Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/android/OWNERS ('k') | net/android/java/org/chromium/net/NetworkChangeNotifier.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <project name="net" default="dist" basedir=".">
2 <description>
3 Building net/ java source code with ant.
4 </description>
5 <!-- Set global properties for this build -->
6 <property environment="env"/>
7 <property name="sdk.dir" location="${env.ANDROID_SDK_ROOT}"/>
8 <!-- TODO(jrg): The apk-runner's version is hardcoded to SDK version 14. These
9 two should be unified. -->
10 <property name="sdk.version" value="${env.ANDROID_SDK_VERSION}"/>
11 <property name="src" location="."/>
12 <property name="dist" location="dist"/>
13 <property name="out.dir" location="${PRODUCT_DIR}"/>
John Grabowski 2012/04/19 22:35:41 Per discussions with tedchoc, we are probably goin
Yaron 2012/04/20 00:25:25 Done.
14 <!-- TODO(jrg): establish a standard for the intermediate java
15 directories. Settle on a standard once ant/jar build files
16 like this are androidified -->
17 <property name="dest.dir" location="${PRODUCT_DIR}/java/net"/>
18
19 <!-- Set path depending on the type of repository. If ANDROID_BUILD_TOP is
20 set then build using the provided location. Otherwise, assume the build
21 is using the released SDK and set the path accordingly. -->
22 <condition property="location.base"
23 value="${sdk.dir}"
24 else="${sdk.dir}/platforms/android-${sdk.version}">
25 <isset property="env.ANDROID_BUILD_TOP"/>
26 </condition>
27
28 <target name="init">
29 <!-- Create the time stamp -->
30 <tstamp/>
31 <!-- Create the build directory structure used by compile -->
32 <mkdir dir="${out.dir}"/>
33 <mkdir dir="${dest.dir}"/>
34 </target>
35
36 <target name="compile" depends="init"
37 description="compile the source " >
38 <javac srcdir="${src}" destdir="${dest.dir}">
39 <classpath>
40 <path location="${location.base}/android.jar"/>
41 <!-- TODO(yfriedman): This should be added automatically when ant
42 makefiles are generated (crbug.com/123420). Update this to base's new
43 location when it moves to PRODUCT_DIR. -->
44 <path location="../../../base/android/java/dist/lib/chromium_base.jar"/>
45 </classpath>
46 </javac>
47 </target>
48
49 <target name="dist" depends="compile"
50 description="generate the distribution" >
51 <!-- Create the distribution directory -->
52 <mkdir dir="${dist}/lib"/>
53
54 <jar jarfile="${out.dir}/chromium_net.jar" basedir="${dest.dir}"/>
55 </target>
56
57 <target name="clean"
58 description="clean up" >
59 <delete dir="${dest.dir}"/>
60 <delete dir="${dist}"/>
61 </target>
62 </project>
OLDNEW
« no previous file with comments | « net/android/OWNERS ('k') | net/android/java/org/chromium/net/NetworkChangeNotifier.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698