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