1# -*- mode: makefile -*- 2# List of libcore directories to include in documentation. 3# Shared between libcore and frameworks/base. 4# Exports: libcore_to_document as a list of .java files relative to libcore/. 5 6ifndef libcore_docs_include_once 7 8# List of libcore javadoc source files 9# 10# Note dalvik/system is non-recursive to exclude dalvik.system.profiler 11libcore_to_document := \ 12 $(call find-files-in-subdirs, libcore, \ 13 "*.java", \ 14 dalvik/src/main/java/dalvik/system/ -maxdepth 1) \ 15 $(call find-files-in-subdirs, libcore, \ 16 "*.java", \ 17 dalvik/src/main/java/dalvik/annotation \ 18 dalvik/src/main/java/dalvik/bytecode \ 19 json/src/main/java \ 20 libart/src/main/java/dalvik \ 21 libart/src/main/java/java \ 22 luni/src/main/java/android \ 23 luni/src/main/java/javax \ 24 luni/src/main/java/org/xml/sax \ 25 luni/src/main/java/org/w3c \ 26 xml/src/main/java/org/xmlpull/v1) 27 28# IcuIteratorWrapper.java references com.ibm.icu.text.BreakIterator, 29# which is renamed by our jarjar rule, and so unrecognizable by javadoc, 30# with annoying error: error: package com.ibm.icu.text does not exist. 31# We don't want to generate doc for this file anyway. 32libcore_to_document += \ 33 $(filter-out luni/src/main/java/java/text/IcuIteratorWrapper.java,\ 34 $(call find-files-in-subdirs, libcore, \ 35 "*.java", \ 36 luni/src/main/java/java)) 37 38libcore_docs_include_once := 1 39endif # libcore_docs_include_once 40