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. |
Ying Wang | 21ac42d | 2013-12-04 15:54:36 -0800 | [diff] [blame] | 4 | # Exports: libcore_to_document as a list of .java files relative to libcore/. |
Brian Carlstrom | dc3c152 | 2011-01-05 17:48:05 -0800 | [diff] [blame] | 5 | |
Ying Wang | 21ac42d | 2013-12-04 15:54:36 -0800 | [diff] [blame] | 6 | ifndef libcore_docs_include_once |
Brian Carlstrom | cfa84a2 | 2011-03-24 13:55:02 -0700 | [diff] [blame] | 7 | |
Narayan Kamath | 7ea8d82 | 2015-07-24 18:38:44 +0100 | [diff] [blame] | 8 | include libcore/openjdk_java_files.mk |
| 9 | include libcore/non_openjdk_java_files.mk |
| 10 | |
| 11 | |
Brian Carlstrom | cfa84a2 | 2011-03-24 13:55:02 -0700 | [diff] [blame] | 12 | # List of libcore javadoc source files |
Narayan Kamath | 7ea8d82 | 2015-07-24 18:38:44 +0100 | [diff] [blame] | 13 | libcore_to_document := $(openjdk_javadoc_files) $(non_openjdk_javadoc_files) |
Ying Wang | 21ac42d | 2013-12-04 15:54:36 -0800 | [diff] [blame] | 14 | |
Ying Wang | 6cfff42 | 2015-04-02 19:22:12 -0700 | [diff] [blame] | 15 | # IcuIteratorWrapper.java references com.ibm.icu.text.BreakIterator, |
| 16 | # which is renamed by our jarjar rule, and so unrecognizable by javadoc, |
| 17 | # with annoying error: error: package com.ibm.icu.text does not exist. |
| 18 | # We don't want to generate doc for this file anyway. |
Narayan Kamath | bf07204 | 2015-11-12 11:21:22 +0000 | [diff] [blame] | 19 | # |
| 20 | # TODO(narayan): Deal with this exclusion. |
| 21 | # |
| 22 | # libcore_to_document += \ |
| 23 | # $(filter-out luni/src/main/java/java/text/IcuIteratorWrapper.java,\ |
| 24 | # $(call find-files-in-subdirs, libcore, \ |
| 25 | # "*.java", \ |
| 26 | # luni/src/main/java/java)) |
Ying Wang | 6cfff42 | 2015-04-02 19:22:12 -0700 | [diff] [blame] | 27 | |
Ying Wang | 21ac42d | 2013-12-04 15:54:36 -0800 | [diff] [blame] | 28 | libcore_docs_include_once := 1 |
| 29 | endif # libcore_docs_include_once |