Skip to content

Commit

Permalink
Housekeeping odds-and-ends.
Browse files Browse the repository at this point in the history
Make sure the release build is a clean build.
Regenerate build.xml
Add update.sh script for regenerating build.xml
  • Loading branch information
jackpal committed Apr 25, 2011
1 parent e1f6e9e commit f37de50
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
23 changes: 9 additions & 14 deletions build.xml
Expand Up @@ -32,18 +32,10 @@
application and should be checked into Version Control Systems. -->
<property file="default.properties" />

<!-- Custom Android task to deal with the project target, and import the
proper rules.
This requires ant 1.6.0 or above. -->
<path id="android.antlibs">
<pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
<pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
<pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
</path>

<taskdef name="setup"
classname="com.android.ant.SetupTask"
classpathref="android.antlibs" />

<!-- Required pre-setup import -->
<import file="${sdk.dir}/tools/ant/pre_setup.xml" />


<!-- extension targets. Uncomment the ones where you want to do custom work
in between standard targets -->
Expand All @@ -60,12 +52,15 @@
</target>
-->


<!-- Execute the Android Setup task that will setup some properties
specific to the target, and import the build rules files.
The rules file is imported from
<SDK>/platforms/<target_platform>/ant/ant_rules_r#.xml
<SDK>/tools/ant/
Depending on the project type it can be either:
- main_rules.xml
- lib_rules.xml
- test_rules.xml
To customize existing targets, there are two options:
- Customize only one target:
Expand Down
1 change: 1 addition & 0 deletions tools/build-release
Expand Up @@ -5,5 +5,6 @@
# of Android Terminal Emulator.

cd ~/code/Android-Terminal-Emulator
rm -rf bin obj
cd jni
~/code/android-ndk-r5b/ndk-build && cd .. && ant release && mv bin/Term-release.apk bin/Term.apk
1 change: 1 addition & 0 deletions tools/update.sh
@@ -0,0 +1 @@
~/code/android-sdk-mac_x86/tools/android update project -p ~/code/Android-Terminal-Emulator --name "Term" --target "android-11"

0 comments on commit f37de50

Please sign in to comment.