File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ bin
2
+ /dist
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <project name =" Video Library for Processing Android" default =" build" >
3
+
4
+ <property name =" processing.dir" value =" ../../processing" />
5
+
6
+ <target name =" clean" description =" Clean the build directories" >
7
+ <delete dir =" bin" />
8
+ <delete file =" library/video-android.jar" />
9
+ </target >
10
+
11
+ <target name =" build" depends =" sdk_chatter,compile" description =" Build video library for Processing Android" >
12
+ <jar basedir =" bin" destfile =" library/video-android.jar" />
13
+ </target >
14
+
15
+ <target name =" sdk_chatter" unless =" env.ANDROID_SDK" >
16
+ <echo message =" ANDROID_SDK not set, skipping build." />
17
+ </target >
18
+
19
+ <target name =" compile" description =" Compile sources" >
20
+ <condition property =" core-built" >
21
+ <available file =" ../processing/core/library/core.jar" />
22
+ </condition >
23
+ <fail unless =" core-built" message =" Please build the core library first and make sure it sits in ../processing/core/library/core.jar" />
24
+
25
+ <mkdir dir =" bin" />
26
+ <javac source =" 1.6"
27
+ target =" 1.6"
28
+ srcdir =" src" destdir =" bin"
29
+ encoding =" UTF-8"
30
+ includeAntRuntime =" false"
31
+ classpath =" ../processing/core/library/core.jar;${ env.ANDROID_SDK } /platforms/android-21/android.jar"
32
+ nowarn =" true"
33
+ compiler =" org.eclipse.jdt.core.JDTCompilerAdapter" >
34
+ <compilerclasspath path =" ../processing/java/mode/org.eclipse.jdt.core.jar;../processing/java/mode/jdtCompilerAdapter.jar" />
35
+ </javac >
36
+ </target >
37
+
38
+ </project >
You can’t perform that action at this time.
0 commit comments