aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/scripts
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2012-10-09 10:05:48 -0700
committerRaphael Moll <ralf@android.com>2012-10-09 10:05:48 -0700
commit701762d4fee30f2419ef25e143a72bc19136c52f (patch)
treec13f956080ff4d98f916c8cc124b7e6e80ba9f4e /eclipse/scripts
parent048f933019079669542236dbc0c860231e474d8a (diff)
downloadsdk-701762d4fee30f2419ef25e143a72bc19136c52f.zip
sdk-701762d4fee30f2419ef25e143a72bc19136c52f.tar.gz
sdk-701762d4fee30f2419ef25e143a72bc19136c52f.tar.bz2
ADT build script: only build adt_eclipse on Linux.
Change-Id: I9d2f6bb5613b161173c97e3ff331f84444b48125
Diffstat (limited to 'eclipse/scripts')
-rwxr-xr-xeclipse/scripts/build_server.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclipse/scripts/build_server.sh b/eclipse/scripts/build_server.sh
index b3b86b7..1bba962 100755
--- a/eclipse/scripts/build_server.sh
+++ b/eclipse/scripts/build_server.sh
@@ -107,15 +107,15 @@ function build_plugin() {
}
function build_adt_ide() {
- ADT_IDE_DEST_DIR="$DEST_DIR" \
- ADT_IDE_QUALIFIER="$QUALIFIER" \
- make PRODUCT-sdk-adt_eclipse_ide
+ if [[ -z $INTERNAL_BUILD && "Linux" == $(uname) ]]; then
+ ADT_IDE_DEST_DIR="$DEST_DIR" \
+ ADT_IDE_QUALIFIER="$QUALIFIER" \
+ make PRODUCT-sdk-adt_eclipse_ide
+ fi
}
get_params "$@"
check_params
( build_plugin )
-if [[ -z $INTERNAL_BUILD ]]; then
- ( build_adt_ide )
-fi
+( build_adt_ide )