Import SamplingProfiler from http://code.google.com/p/dalvik/
cp ~/android/dalvik/profiler/src/main/java/dalvik/profiler/* ~/android/master/libcore/dalvik/src/main/java/dalvik/system/profiler/
cp ~/android/dalvik/profiler/src/test/java/dalvik/profiler/* ~/android/master/libcore/dalvik/src/test/java/dalvik/system/profiler/
perl -p -i -e 's/package dalvik.profiler;/package dalvik.system.profiler;/' ~/android/master/libcore/dalvik/src/*/java/dalvik/system/profiler/*.java
perl -p -i -e 's/import dalvik.profiler./import dalvik.system.profiler./' ~/android/master/libcore/dalvik/src/*/java/dalvik/system/profiler/*.java
Change-Id: Iae3f63327f4a9dde7f037e69c22057e2ea704aaa
diff --git a/JavaLibrary.mk b/JavaLibrary.mk
index c49d529..60e5b63 100644
--- a/JavaLibrary.mk
+++ b/JavaLibrary.mk
@@ -294,7 +294,7 @@
# for shared defintion of libcore_to_document
include $(LOCAL_PATH)/Docs.mk
-LOCAL_SRC_FILES:=$(call find-other-java-files, $(libcore_to_document))
+LOCAL_SRC_FILES:=$(call libcore_to_document,$(LOCAL_PATH))
# rerun doc generation without recompiling the java
LOCAL_JAVA_LIBRARIES:=
LOCAL_MODULE_CLASS:=JAVA_LIBRARIES