1 # Copyright 2006 The Android Open Source Project 2 # 3 LOCAL_PATH := $(call my-dir) 4 5 # This tool is prebuilt if we're doing an app-only build. 6 ifeq ($(TARGET_BUILD_APPS),) 7 8 # dx java library 9 # ============================================================ 10 include $(CLEAR_VARS) 11 12 LOCAL_SRC_FILES := $(call all-subdir-java-files) 13 LOCAL_SRC_FILES += $(call all-java-files-under,../../../libcore/dex/src/main/java) 14 LOCAL_JAR_MANIFEST := ../etc/manifest.txt 15 LOCAL_MODULE_TAGS := optional 16 LOCAL_MODULE:= dx 17 18 include $(BUILD_HOST_JAVA_LIBRARY) 19 20 INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) 21 22 endif # TARGET_BUILD_APPS 23 24 # the documentation 25 # ============================================================ 26 include $(CLEAR_VARS) 27 28 LOCAL_SRC_FILES := $(call all-subdir-java-files) $(call all-subdir-html-files) 29 LOCAL_MODULE_TAGS := optional 30 LOCAL_MODULE:= dx 31 LOCAL_DROIDDOC_OPTIONS := -hidden 32 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 33 LOCAL_IS_HOST_MODULE := true 34 35 include $(BUILD_DROIDDOC) 36