droid.tools.dx.1.7.source-code.Android.mk Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dx Show documentation
Show all versions of dx Show documentation
dx is an Android SDK platform tool that transforms Java bytecode (and JARs) into Dalvik VM 'DEX' code.
The newest version!
# Copyright 2006 The Android Open Source Project
#
LOCAL_PATH := $(call my-dir)
# This tool is prebuilt if we're doing an app-only build.
ifeq ($(TARGET_BUILD_APPS),)
# dx java library
# ============================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_JAR_MANIFEST := ../etc/manifest.txt
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE:= dx
include $(BUILD_HOST_JAVA_LIBRARY)
INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE)
endif # TARGET_BUILD_APPS
# the documentation
# ============================================================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-subdir-java-files) $(call all-subdir-html-files)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE:= dx
LOCAL_DROIDDOC_OPTIONS := -hidden
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_IS_HOST_MODULE := true
include $(BUILD_DROIDDOC)