Elliott Hughes | c3d30bf | 2011-01-07 16:24:47 -0800 | [diff] [blame] | 1 | # -*- mode: makefile -*- |
Brian Carlstrom | dc3c152 | 2011-01-05 17:48:05 -0800 | [diff] [blame] | 2 | # List of libcore directories to include in documentation. |
| 3 | # Shared between libcore and frameworks/base. |
| 4 | |
Brian Carlstrom | cfa84a2 | 2011-03-24 13:55:02 -0700 | [diff] [blame] | 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 |
Brian Carlstrom | dc3c152 | 2011-01-05 17:48:05 -0800 | [diff] [blame] | 15 | # |
Brian Carlstrom | cfa84a2 | 2011-03-24 13:55:02 -0700 | [diff] [blame] | 16 | # $(1): directory for search (to support use from frameworks/base) |
| 17 | define libcore_to_document |
Ying Wang | 18ddfd3 | 2011-07-27 17:03:34 -0700 | [diff] [blame] | 18 | $(call libcoredoc-all-java-files-under,$(1), \ |
Brian Carlstrom | cfa84a2 | 2011-03-24 13:55:02 -0700 | [diff] [blame] | 19 | dalvik/src/main/java/dalvik/system/ -maxdepth 1) \ |
Ying Wang | 18ddfd3 | 2011-07-27 17:03:34 -0700 | [diff] [blame] | 20 | $(call libcoredoc-all-java-files-under,$(1), \ |
Brian Carlstrom | cfa84a2 | 2011-03-24 13:55:02 -0700 | [diff] [blame] | 21 | dalvik/src/main/java/dalvik/annotation \ |
| 22 | dalvik/src/main/java/dalvik/bytecode \ |
| 23 | json/src/main/java \ |
Brian Carlstrom | 895bba4 | 2013-05-13 10:19:39 -0700 | [diff] [blame] | 24 | libdvm/src/main/java/dalvik \ |
| 25 | libdvm/src/main/java/java \ |
Brian Carlstrom | cfa84a2 | 2011-03-24 13:55:02 -0700 | [diff] [blame] | 26 | 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) |
| 31 | endef |