diff options
author | Ying Wang <wangying@google.com> | 2013-12-04 15:54:36 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2013-12-04 16:57:14 -0800 |
commit | 21ac42d63b67930480ccf8a087604ee7b6c6811f (patch) | |
tree | 0a96c2fdf9590b084d0ddb2d056dd53e3cb198f6 /JavaLibrary.mk | |
parent | 59fc932592299963180bbaaab939a9ef6e3f57ae (diff) | |
download | libcore-21ac42d63b67930480ccf8a087604ee7b6c6811f.zip libcore-21ac42d63b67930480ccf8a087604ee7b6c6811f.tar.gz libcore-21ac42d63b67930480ccf8a087604ee7b6c6811f.tar.bz2 |
Better way to export variables in Docs.mk.
With this change, libcore_to_document will be evaluated only once.
As a side effect, this fixes the build log spam reported in:
https://code.google.com/p/android/issues/detail?id=63184
Change-Id: I4fcfbcd70f6d4b119487525825aeafa2926507b4
Diffstat (limited to 'JavaLibrary.mk')
-rw-r--r-- | JavaLibrary.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaLibrary.mk b/JavaLibrary.mk index 0fbc9fb..4b5fbcd 100644 --- a/JavaLibrary.mk +++ b/JavaLibrary.mk @@ -243,7 +243,7 @@ include $(CLEAR_VARS) # for shared defintion of libcore_to_document include $(LOCAL_PATH)/Docs.mk -LOCAL_SRC_FILES:=$(call libcore_to_document,$(LOCAL_PATH)) +LOCAL_SRC_FILES := $(libcore_to_document) # rerun doc generation without recompiling the java LOCAL_JAVA_LIBRARIES:= LOCAL_JAVACFLAGS := $(local_javac_flags) |