OSDN Git Service

Added local variable info output to javac command for host build.
authorjeffhao <jeffhao@google.com>
Tue, 17 Apr 2012 23:24:33 +0000 (16:24 -0700)
committerBrian Carlstrom <bdc@google.com>
Wed, 27 Mar 2013 05:26:44 +0000 (22:26 -0700)
The host java files weren't being compiled with -g.

(cherry-picked from 3a971f734060d19fc023ccf82e39d956a31b7cfb)

Change-Id: I4274910c64ebf52ec955e30e800b34fc309db27b

core/host_java_library.mk

index 91942dc..438e093 100644 (file)
@@ -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))