-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodule_interfaz.xml
More file actions
86 lines (68 loc) · 3.56 KB
/
Copy pathmodule_interfaz.xml
File metadata and controls
86 lines (68 loc) · 3.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_interfaz" default="compile.module.interfaz">
<dirname property="module.interfaz.basedir" file="${ant.file.module_interfaz}"/>
<property name="module.jdk.home.interfaz" value="${jdk.home.android_2.3.3_google_apis}"/>
<property name="module.jdk.bin.interfaz" value="${jdk.bin.android_2.3.3_google_apis}"/>
<property name="module.jdk.classpath.interfaz" value="jdk.classpath.android_2.3.3_google_apis"/>
<property name="compiler.args.interfaz" value="${compiler.args}"/>
<property name="interfaz.output.dir" value="${module.interfaz.basedir}/out/production/interfaz"/>
<property name="interfaz.testoutput.dir" value="${module.interfaz.basedir}/out/test/interfaz"/>
<path id="interfaz.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="interfaz.module.production.classpath">
<path refid="${module.jdk.classpath.interfaz}"/>
</path>
<path id="interfaz.runtime.production.module.classpath">
<pathelement location="${interfaz.output.dir}"/>
</path>
<path id="interfaz.module.classpath">
<path refid="${module.jdk.classpath.interfaz}"/>
<pathelement location="${interfaz.output.dir}"/>
</path>
<path id="interfaz.runtime.module.classpath">
<pathelement location="${interfaz.testoutput.dir}"/>
<pathelement location="${interfaz.output.dir}"/>
</path>
<patternset id="excluded.from.module.interfaz">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.interfaz">
<patternset refid="compiler.excluded"/>
<patternset refid="excluded.from.module.interfaz"/>
</patternset>
<path id="interfaz.module.sourcepath">
<dirset dir="${module.interfaz.basedir}">
<include name="gen"/>
<include name="src"/>
</dirset>
</path>
<target name="compile.module.interfaz" depends="compile.module.interfaz.production,compile.module.interfaz.tests" description="Compile module interfaz"/>
<target name="compile.module.interfaz.production" depends="register.custom.compilers" description="Compile module interfaz; production classes">
<mkdir dir="${interfaz.output.dir}"/>
<javac2 destdir="${interfaz.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.interfaz}/javac">
<compilerarg line="${compiler.args.interfaz}"/>
<bootclasspath refid="interfaz.module.bootclasspath"/>
<classpath refid="interfaz.module.production.classpath"/>
<src refid="interfaz.module.sourcepath"/>
<patternset refid="excluded.from.compilation.interfaz"/>
</javac2>
<copy todir="${interfaz.output.dir}">
<fileset dir="${module.interfaz.basedir}/gen">
<patternset refid="compiler.resources"/>
<type type="file"/>
<patternset refid="excluded.from.compilation.interfaz"/>
</fileset>
<fileset dir="${module.interfaz.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
<patternset refid="excluded.from.compilation.interfaz"/>
</fileset>
</copy>
</target>
<target name="compile.module.interfaz.tests" depends="register.custom.compilers,compile.module.interfaz.production" description="compile module interfaz; test classes" unless="skip.tests"/>
<target name="clean.module.interfaz" description="cleanup module">
<delete dir="${interfaz.output.dir}"/>
<delete dir="${interfaz.testoutput.dir}"/>
</target>
</project>