-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.xml
More file actions
86 lines (73 loc) · 4.12 KB
/
Copy pathbuild.xml
File metadata and controls
86 lines (73 loc) · 4.12 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="iviLink" basedir="." default="help">
<condition property="device.path" else="/mnt/sdcard">
<isset property="device.path"/>
</condition>
<dirname property="root.basedir" file="${ant.file.iviLink}"/>
<target name="build-ubuntu">
<exec executable="make" failonerror="true" />
</target>
<target name="build-ubuntu-core">
<exec executable="make" failonerror="true">
<arg value="sdk"/>
</exec>
</target>
<target name="clean-ubuntu">
<exec executable="make" failonerror="true">
<arg value="clean"/>
</exec>
</target>
<target name="clean-ubuntu-core">
<exec executable="make" failonerror="true">
<arg value="sdk_clean"/>
</exec>
</target>
<target name="install-ubuntu">
<exec executable="make" failonerror="true">
<arg value="install"/>
</exec>
</target>
<target name="install-ubuntu-core">
<exec executable="make" failonerror="true">
<arg value="sdk_install"/>
</exec>
</target>
<target name="uninstall-ubuntu">
<exec executable="make" failonerror="true">
<arg value="clean_results"/>
</exec>
</target>
<target name="build-android" depends="build-android-3rdparty, build-android-core" />
<target name="clean-android" depends="clean-android-core, clean-android-libs, clean-android-3rdparty" />
<target name="install-android-phone" depends="install-android-core" />
<target name="install-android-headunit" depends="install-android-core" />
<target name="uninstall-android" depends="uninstall-android-core" />
<target name="build" depends="build-ubuntu, build-android" />
<target name="clean" depends="clean-ubuntu, clean-android" />
<target name="install" depends="install-ubuntu, install-android-phone" />
<target name="uninstall" depends="uninstall-ubuntu, uninstall-android" />
<target name="help" depends="android-3rdparty-help, android-libs-help, android-core-help">
<echo message="Ubuntu commands:" />
<echo message="ant build-ubuntu : builds everything for ubuntu" />
<echo message="ant build-ubuntu-core : builds core stack and generic samples with their profiles for ubuntu" />
<echo message="ant clean-ubuntu : cleans everything for ubuntu" />
<echo message="ant clean-ubuntu-core : cleans core stack and generic samples with their profiles for ubuntu" />
<echo message="ant install-ubuntu : installs everything for ubuntu" />
<echo message="ant install-ubuntu-core : installs core stack and generic samples with their profiles for ubuntu" />
<echo message="ant uninstall-ubuntu : uninstalls everything for ubuntu" />
<echo message="Common commands (they are just grouping the commands listed after semicolon):" />
<echo message="ant build-android : build-android-3rdparty, build-android-core, build-android-samples" />
<echo message="ant clean-android : clean-android-core, clean-android-samples, clean-android-libs, clean-android-3rdparty" />
<echo message="ant install-android-phone : install-android-core, install-android-samples-phone" />
<echo message="ant install-android-headunit : install-android-core, install-android-samples-headunit" />
<echo message="ant uninstall-android : uninstall-android-samples, uninstall-android-core" />
<echo message="ant build : build-ubuntu, build-android" />
<echo message="ant clean : clean-ubuntu, clean-android" />
<echo message="ant install : install-ubuntu, install-android-phone" />
<echo message="ant uninstall : uninstall-ubuntu, uninstall-android" />
<echo message="use -Ddevice.path= to set device-specific external storage path (by default /mnt/sdcard is used)" />
</target>
<import file="${root.basedir}/3rd_party/build.xml" />
<import file="${root.basedir}/iviLink/include_android/build.xml" />
<import file="${root.basedir}/framework/build.xml" />
</project>