From 50a0fd50f7f76a76d068690e63194169da292215 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 4 Dec 2013 16:01:06 -0800 Subject: [PATCH] libcore_to_document and junit_to_document are no longer functions. They are evaluated only once in the corresponding export .mk file. This fixes build log spam reported in: https://code.google.com/p/android/issues/detail?id=63184 Change-Id: I549eb052272bbdebef8fca697822f5eaa0fe5764 --- Android.mk | 4 ++-- tests/TileBenchmark/Android.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Android.mk b/Android.mk index 166db4ee016bb..1802239d25bde 100644 --- a/Android.mk +++ b/Android.mk @@ -457,8 +457,8 @@ html_dirs := \ # Common sources for doc check and api check common_src_files := \ $(call find-other-html-files, $(html_dirs)) \ - $(addprefix ../../libcore/, $(call libcore_to_document, $(LOCAL_PATH)/../../libcore)) \ - $(addprefix ../../external/junit/, $(call junit_to_document, $(LOCAL_PATH)/../../external/junit)) + $(addprefix ../../libcore/, $(libcore_to_document)) \ + $(addprefix ../../external/junit/, $(junit_to_document)) # These are relative to frameworks/base framework_docs_LOCAL_SRC_FILES := \ diff --git a/tests/TileBenchmark/Android.mk b/tests/TileBenchmark/Android.mk index 5851113cb24cb..9a057af9c18b3 100644 --- a/tests/TileBenchmark/Android.mk +++ b/tests/TileBenchmark/Android.mk @@ -17,7 +17,7 @@ include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional -LOCAL_SRC_FILES := $(call all-java-files-under, src) +LOCAL_SRC_FILES := LOCAL_PACKAGE_NAME := TileBenchmark @@ -25,4 +25,4 @@ LOCAL_MODULE_TAGS := tests LOCAL_JAVA_LIBRARIES := android.test.runner -include $(BUILD_PACKAGE) \ No newline at end of file +include $(BUILD_PACKAGE)