summaryrefslogtreecommitdiffstats
path: root/core/host_java_library.mk
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2012-04-17 16:24:33 -0700
committerBrian Carlstrom <bdc@google.com>2013-03-26 22:26:44 -0700
commitdc6757a4ce4fd27d9d8a3756abe03b28a6f07c01 (patch)
tree2c6606971c604c67e32dad212e62e0ed58aa8713 /core/host_java_library.mk
parent50585e76fd13eb3d91f8d9e9e7ae5e1a3cd1ae86 (diff)
downloadbuild-dc6757a4ce4fd27d9d8a3756abe03b28a6f07c01.zip
build-dc6757a4ce4fd27d9d8a3756abe03b28a6f07c01.tar.gz
build-dc6757a4ce4fd27d9d8a3756abe03b28a6f07c01.tar.bz2
Added local variable info output to javac command for host build.
The host java files weren't being compiled with -g. (cherry-picked from 3a971f734060d19fc023ccf82e39d956a31b7cfb) Change-Id: I4274910c64ebf52ec955e30e800b34fc309db27b
Diffstat (limited to 'core/host_java_library.mk')
-rw-r--r--core/host_java_library.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/host_java_library.mk b/core/host_java_library.mk
index 91942dc..438e093 100644
--- a/core/host_java_library.mk
+++ b/core/host_java_library.mk
@@ -47,6 +47,8 @@ endif # LOCAL_BUILD_HOST_DEX
include $(BUILD_SYSTEM)/base_rules.mk
+$(full_classes_compiled_jar): PRIVATE_JAVAC_DEBUG_FLAGS := -g
+
# The layers file allows you to enforce a layering between java packages.
# Run build/tools/java-layers.py for more details.
layers_file := $(addprefix $(LOCAL_PATH)/, $(LOCAL_JAVA_LAYERS_FILE))