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_JAR_MANIFEST := ../etc/manifest.txt 14 LOCAL_MODULE_TAGS := optional 15 LOCAL_MODULE:= dx 16 17 include $(BUILD_HOST_JAVA_LIBRARY) 18 19 INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) 20 21 endif # TARGET_BUILD_APPS 22 23 # the documentation 24 # ============================================================ 25 include $(CLEAR_VARS) 26 27 LOCAL_SRC_FILES := $(call all-subdir-java-files) $(call all-subdir-html-files) 28 LOCAL_MODULE_TAGS := optional 29 LOCAL_MODULE:= dx 30 LOCAL_DROIDDOC_OPTIONS := -hidden 31 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 32 LOCAL_IS_HOST_MODULE := true 33 34 include $(BUILD_DROIDDOC) 35