Home | History | Annotate | Download | only in libcore
      1 # -*- mode: makefile -*-
      2 # List of libcore directories to include in documentation.
      3 # Shared between libcore and frameworks/base.
      4 
      5 define libcoredoc-all-java-files-under
      6 $(patsubst ./%,%, \
      7   $(shell cd $(1) ; \
      8           find $(2) -name "*.java" -and -not -name ".*") \
      9  )
     10 endef
     11 
     12 # List of libcore javadoc source files
     13 # 
     14 # Note dalvik/system is non-recursive to exclude dalvik.system.profiler
     15 #
     16 # $(1): directory for search (to support use from frameworks/base)
     17 define libcore_to_document
     18  $(call libcoredoc-all-java-files-under,$(1), \
     19    dalvik/src/main/java/dalvik/system/ -maxdepth 1) \
     20  $(call libcoredoc-all-java-files-under,$(1), \
     21    dalvik/src/main/java/dalvik/annotation \
     22    dalvik/src/main/java/dalvik/bytecode \
     23    json/src/main/java \
     24    luni/src/main/java/java \
     25    luni/src/main/java/javax \
     26    luni/src/main/java/org/xml/sax \
     27    luni/src/main/java/org/w3c \
     28    xml/src/main/java/org/xmlpull/v1)
     29 endef
     30