aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/app/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ddms/app/Android.mk')
-rw-r--r--ddms/app/Android.mk30
1 files changed, 27 insertions, 3 deletions
diff --git a/ddms/app/Android.mk b/ddms/app/Android.mk
index 3857706..6be32be 100644
--- a/ddms/app/Android.mk
+++ b/ddms/app/Android.mk
@@ -1,5 +1,29 @@
# Copyright 2007 The Android Open Source Project
#
-DDMSAPP_LOCAL_DIR := $(call my-dir)
-include $(DDMSAPP_LOCAL_DIR)/etc/Android.mk
-include $(DDMSAPP_LOCAL_DIR)/src/Android.mk
+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
+
+# If the dependency list is changed, etc/manifest.txt
+# MUST be updated as well (Except for swt.jar which is dynamically
+# added based on whether the VM is 32 or 64 bit)
+LOCAL_JAVA_LIBRARIES := \
+ androidprefs \
+ sdkstats \
+ ddmlib \
+ ddmuilib \
+ 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 := ddms
+
+include $(BUILD_HOST_JAVA_LIBRARY)
+
+
+# Build all sub-directories
+include $(call all-makefiles-under,$(LOCAL_PATH))