aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/app/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sdkmanager/app/Android.mk')
-rw-r--r--sdkmanager/app/Android.mk31
1 files changed, 29 insertions, 2 deletions
diff --git a/sdkmanager/app/Android.mk b/sdkmanager/app/Android.mk
index 87e830d..d7b630e 100644
--- a/sdkmanager/app/Android.mk
+++ b/sdkmanager/app/Android.mk
@@ -1,6 +1,33 @@
# Copyright 2007 The Android Open Source Project
#
-SDKMANAGERAPP_LOCAL_DIR := $(call my-dir)
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+LOCAL_JAVA_RESOURCE_DIRS := src
+
+LOCAL_JAR_MANIFEST := etc/manifest.txt
+
+# IMPORTANT: if you add a new dependency here, please make sure
+# to also check the following files:
+# sdkmanager/app/etc/manifest.txt
+# sdkmanager/app/etc/android.bat
+# (Note that we don't reference swt.jar in these files since
+# it is dynamically added by android.bat/.sh based on whether the
+# current VM is 32 or 64 bit.)
+LOCAL_JAVA_LIBRARIES := \
+ androidprefs \
+ sdklib \
+ sdkuilib \
+ swt \
+ org.eclipse.jface_3.4.2.M20090107-0800 \
+ org.eclipse.equinox.common_3.4.0.v20080421-2006 \
+ org.eclipse.core.commands_3.4.0.I20080509-2000
+
+LOCAL_MODULE := sdkmanager
+
+include $(BUILD_HOST_JAVA_LIBRARY)
# Build all sub-directories
-include $(call all-makefiles-under,$(SDKMANAGERAPP_LOCAL_DIR))
+include $(call all-makefiles-under,$(LOCAL_PATH))
+