The Android Open Source Project | f6c3871 | 2009-03-03 19:28:47 -0800 | [diff] [blame] | 1 | # Copyright 2006 The Android Open Source Project |
| 2 | # |
| 3 | LOCAL_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 | # ============================================================ |
| 11 | include $(CLEAR_VARS) |
| 12 | LOCAL_IS_HOST_MODULE := true |
| 13 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 14 | LOCAL_MODULE := dx |
| 15 | |
| 16 | include $(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 | |
| 24 | INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) |
| 25 | |
| 26 | # the jasmin script |
| 27 | # ============================================================ |
| 28 | include $(CLEAR_VARS) |
| 29 | LOCAL_IS_HOST_MODULE := true |
| 30 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 31 | LOCAL_MODULE := jasmin |
| 32 | |
| 33 | include $(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 | |
| 41 | INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) |
| 42 | |
| 43 | # the jasmin lib |
| 44 | # ============================================================ |
| 45 | include $(CLEAR_VARS) |
| 46 | LOCAL_IS_HOST_MODULE := true |
| 47 | LOCAL_MODULE_CLASS := JAVA_LIBRARIES |
| 48 | LOCAL_MODULE := jasmin.jar |
| 49 | |
| 50 | include $(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 | |
| 57 | INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) |
| 58 | |
| 59 | # the other stuff |
| 60 | # ============================================================ |
| 61 | subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, \ |
| 62 | src \ |
| 63 | )) |
| 64 | |
| 65 | include $(subdirs) |