1# Copyright 2006 The Android Open Source Project 2# 3LOCAL_PATH := $(call my-dir) 4 5# We use copy-file-to-new-target so that the installed 6# script files' timestamps are at least as new as the 7# .jar files they wrap. 8 9# the dx script 10# ============================================================ 11include $(CLEAR_VARS) 12LOCAL_IS_HOST_MODULE := true 13LOCAL_MODULE_CLASS := EXECUTABLES 14LOCAL_MODULE := dx 15 16include $(BUILD_SYSTEM)/base_rules.mk 17 18$(LOCAL_BUILT_MODULE): $(HOST_OUT_JAVA_LIBRARIES)/dx$(COMMON_JAVA_PACKAGE_SUFFIX) 19$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/etc/dx | $(ACP) 20 @echo "Copy: $(PRIVATE_MODULE) ($@)" 21 $(copy-file-to-new-target) 22 $(hide) chmod 755 $@ 23 24INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) 25 26# the jasmin script 27# ============================================================ 28include $(CLEAR_VARS) 29LOCAL_IS_HOST_MODULE := true 30LOCAL_MODULE_CLASS := EXECUTABLES 31LOCAL_MODULE := jasmin 32 33include $(BUILD_SYSTEM)/base_rules.mk 34 35$(LOCAL_BUILT_MODULE): $(HOST_OUT_JAVA_LIBRARIES)/jasmin.jar 36$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/etc/jasmin | $(ACP) 37 @echo "Copy: $(PRIVATE_MODULE) ($@)" 38 $(copy-file-to-new-target) 39 $(hide) chmod 755 $@ 40 41INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) 42 43# the jasmin lib 44# ============================================================ 45include $(CLEAR_VARS) 46LOCAL_IS_HOST_MODULE := true 47LOCAL_MODULE_CLASS := JAVA_LIBRARIES 48LOCAL_MODULE := jasmin.jar 49 50include $(BUILD_SYSTEM)/base_rules.mk 51 52$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/etc/jasmin.jar | $(ACP) 53 @echo "Copy: $(PRIVATE_MODULE) ($@)" 54 $(copy-file-to-target) 55 $(hide) chmod 644 $@ 56 57INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) 58 59# the other stuff 60# ============================================================ 61subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \ 62 src \ 63 )) 64 65include $(subdirs) 66