-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAndroid-Terminal-Emulator-master.patch
More file actions
68 lines (67 loc) · 2.81 KB
/
Android-Terminal-Emulator-master.patch
File metadata and controls
68 lines (67 loc) · 2.81 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
diff -uNr Android-Terminal-Emulator-master/ant.properties Android-Terminal-Emulator-master.compiled/ant.properties
--- Android-Terminal-Emulator-master/ant.properties 2014-06-30 22:31:19.000000000 +0530
+++ Android-Terminal-Emulator-master.compiled/ant.properties 2014-09-10 07:35:58.000000000 +0530
@@ -15,5 +15,10 @@
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.
-key.alias=jackpal.keystore
-key.store=../../Documents/workspace/keystore/jackpal.keystore
+# key.alias=jackpal.keystore
+# key.store=../../Documents/workspace/keystore/jackpal.keystore
+android.library.reference.1=libraries/emulatorview
+key.store=/src/android/gv.keystore
+key.alias=gv_ks
+ndk.dir=/opt/local/android/android-ndk-r9d
+# sdk.dir=/opt/local/android/adt-bundle-linux-x86/sdk
diff -uNr Android-Terminal-Emulator-master/custom_rules.xml Android-Terminal-Emulator-master.compiled/custom_rules.xml
--- Android-Terminal-Emulator-master/custom_rules.xml 1970-01-01 05:30:00.000000000 +0530
+++ Android-Terminal-Emulator-master.compiled/custom_rules.xml 2014-09-10 07:37:31.000000000 +0530
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+
+ <property name="doc.absolute.dir" location="${basedir}/doc"/>
+ <property name="jni.absolute.dir" location="${basedir}/jni"/>
+
+ <target name="rename-release-with-version-number">
+ <xmlproperty file="AndroidManifest.xml"
+ prefix="themanifest"
+ collapseAttributes="true"/>
+
+ <!-- see ${sdk.dir}/tools/ant/build.xml -set-release-mode -->
+ <property name="out.packaged.file"
+ location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.androi
+d:versionName}-release-unsigned.apk" />
+ <property name="out.final.file"
+ location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.androi
+d:versionName}.apk" />
+ </target>
+
+ <target name="release-package"
+ depends="rename-release-with-version-number,release">
+ <echo message="target: ${build.target}"></echo>
+ </target>
+
+ <target name="doc" description="generate documentation">
+ <javadoc sourcepath="${source.dir}" destdir="${doc.absolute.dir}"/>
+ </target>
+
+ <target name="jni">
+ <exec executable="${ndk.dir}/ndk-build" failonerror="true"/>
+ </target>
+
+ <target name="-post-compile" depends="jni">
+ </target>
+
+ <target name="clean" depends="android_rules.clean">
+ <exec executable="${ndk.dir}/ndk-build" failonerror="true">
+ <arg value="clean"/>
+ </exec>
+
+ <delete dir="${doc.absolute.dir}"/>
+ <delete>
+ <fileset dir="${jni.absolute.dir}" includes="*JNI.h" />
+ </delete>
+ </target>
+</project>
+