aboutsummaryrefslogtreecommitdiffstats
path: root/hierarchyviewer2/app/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hierarchyviewer2/app/Android.mk')
-rw-r--r--hierarchyviewer2/app/Android.mk26
1 files changed, 23 insertions, 3 deletions
diff --git a/hierarchyviewer2/app/Android.mk b/hierarchyviewer2/app/Android.mk
index 2927f1d..d940403 100644
--- a/hierarchyviewer2/app/Android.mk
+++ b/hierarchyviewer2/app/Android.mk
@@ -12,6 +12,26 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-HIERARCHYVIEWERAPP_LOCAL_DIR := $(call my-dir)
-include $(HIERARCHYVIEWERAPP_LOCAL_DIR)/etc/Android.mk
-include $(HIERARCHYVIEWERAPP_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
+
+LOCAL_JAVA_LIBRARIES := \
+ ddmlib \
+ ddmuilib \
+ hierarchyviewerlib \
+ swt \
+ org.eclipse.jface_3.4.2.M20090107-0800 \
+ org.eclipse.core.commands_3.4.0.I20080509-2000 \
+ sdklib
+
+LOCAL_MODULE := hierarchyviewer2
+
+include $(BUILD_HOST_JAVA_LIBRARY)
+
+# Build all sub-directories
+include $(call all-makefiles-under,$(LOCAL_PATH))