forked from SVMP/android_libcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Docs.mk
30 lines (28 loc) · 946 Bytes
/
Docs.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- mode: makefile -*-
# List of libcore directories to include in documentation.
# Shared between libcore and frameworks/base.
define libcoredoc-all-java-files-under
$(patsubst ./%,%, \
$(shell cd $(1) ; \
find $(2) -name "*.java" -and -not -name ".*") \
)
endef
# List of libcore javadoc source files
#
# Note dalvik/system is non-recursive to exclude dalvik.system.profiler
#
# $(1): directory for search (to support use from frameworks/base)
define libcore_to_document
$(call libcoredoc-all-java-files-under,$(1), \
dalvik/src/main/java/dalvik/system/ -maxdepth 1) \
$(call libcoredoc-all-java-files-under,$(1), \
dalvik/src/main/java/dalvik/annotation \
dalvik/src/main/java/dalvik/bytecode \
json/src/main/java \
junit/src/main/java \
luni/src/main/java/java \
luni/src/main/java/javax \
luni/src/main/java/org/xml/sax \
luni/src/main/java/org/w3c \
xml/src/main/java/org/xmlpull/v1)
endef