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)$(filter true,$(TARGET_BUILD_PDK)),) 7 8 dx_src_files := $(call all-subdir-java-files) 9 10 # dx java library 11 # ============================================================ 12 include $(CLEAR_VARS) 13 14 LOCAL_SRC_FILES := $(dx_src_files) 15 LOCAL_JAR_MANIFEST := ../etc/manifest.txt 16 LOCAL_MODULE_TAGS := optional 17 LOCAL_MODULE:= dx 18 19 include $(BUILD_HOST_JAVA_LIBRARY) 20 21 INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE) 22 23 endif # No TARGET_BUILD_APPS or TARGET_BUILD_PDK 24 25 # the documentation 26 # ============================================================ 27 include $(CLEAR_VARS) 28 29 LOCAL_SRC_FILES := $(dx_src_files) $(call all-subdir-html-files) 30 LOCAL_MODULE_TAGS := optional 31 LOCAL_MODULE:= dx 32 LOCAL_DROIDDOC_OPTIONS := -hidden 33 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 34 LOCAL_IS_HOST_MODULE := true 35 36 include $(BUILD_DROIDDOC) 37 38 dx_src_files := 39