blob: 48cfd0383d2fc3c337d21dedebf78ad69507584e [file] [log] [blame]
Elliott Hughesc3d30bf2011-01-07 16:24:47 -08001# -*- mode: makefile -*-
Brian Carlstromdc3c1522011-01-05 17:48:05 -08002# List of libcore directories to include in documentation.
3# Shared between libcore and frameworks/base.
4
Brian Carlstromcfa84a22011-03-24 13:55:02 -07005define libcoredoc-all-java-files-under
6$(patsubst ./%,%, \
7 $(shell cd $(1) ; \
8 find $(2) -name "*.java" -and -not -name ".*") \
9 )
10endef
11
12# List of libcore javadoc source files
13#
14# Note dalvik/system is non-recursive to exclude dalvik.system.profiler
Brian Carlstromdc3c1522011-01-05 17:48:05 -080015#
Brian Carlstromcfa84a22011-03-24 13:55:02 -070016# $(1): directory for search (to support use from frameworks/base)
17define libcore_to_document
Ying Wang18ddfd32011-07-27 17:03:34 -070018 $(call libcoredoc-all-java-files-under,$(1), \
Brian Carlstromcfa84a22011-03-24 13:55:02 -070019 dalvik/src/main/java/dalvik/system/ -maxdepth 1) \
Ying Wang18ddfd32011-07-27 17:03:34 -070020 $(call libcoredoc-all-java-files-under,$(1), \
Brian Carlstromcfa84a22011-03-24 13:55:02 -070021 dalvik/src/main/java/dalvik/annotation \
22 dalvik/src/main/java/dalvik/bytecode \
23 json/src/main/java \
Brian Carlstrom895bba42013-05-13 10:19:39 -070024 libdvm/src/main/java/dalvik \
25 libdvm/src/main/java/java \
Brian Carlstromcfa84a22011-03-24 13:55:02 -070026 luni/src/main/java/java \
27 luni/src/main/java/javax \
28 luni/src/main/java/org/xml/sax \
29 luni/src/main/java/org/w3c \
30 xml/src/main/java/org/xmlpull/v1)
31endef