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 | |
| 8 | # List of libcore javadoc source files |
Przemyslaw Szczepaniak | 70b617f | 2015-11-20 12:01:45 +0000 | [diff] [blame] | 9 | _libcore_files := $(openjdk_javadoc_files) $(non_openjdk_javadoc_files) |
Neil Fuller | 4259738 | 2015-10-07 11:00:01 +0100 | [diff] [blame] | 10 | |
| 11 | _icu_files := \ |
| 12 | $(call find-files-in-subdirs, external/icu, \ |
| 13 | "*.java", \ |
| 14 | android_icu4j/src/main/java/android/icu/lang \ |
| 15 | android_icu4j/src/main/java/android/icu/math \ |
| 16 | android_icu4j/src/main/java/android/icu/text \ |
| 17 | android_icu4j/src/main/java/android/icu/util \ |
| 18 | ) |
| 19 | _icu_files := $(addprefix external/icu/, $(_icu_files)) |
| 20 | |
| 21 | # List of libcore-related javadoc source files |
| 22 | # |
| 23 | # NOTE: Because libcore-related source spans modules (not just libcore!), files names here are |
| 24 | # returned that are relative to the build root / $(TOPDIR) and not libcore. |
| 25 | # BUILD_DROIDDOC requires file names that are relative the *current* LOCAL_DIR so users must account |
| 26 | # for this. |
Colin Cross | fb7218e | 2017-10-27 17:50:42 +0000 | [diff] [blame] | 27 | # libcore_to_document_generated are files in $(TARGET_OUT_COMMON_INTERMEDIATES) |
Neil Fuller | 4259738 | 2015-10-07 11:00:01 +0100 | [diff] [blame] | 28 | libcore_to_document := $(_libcore_files) $(_icu_files) |
Colin Cross | fb7218e | 2017-10-27 17:50:42 +0000 | [diff] [blame] | 29 | libcore_to_document_generated := $(_libcore_generated_files) |
Ying Wang | 21ac42d | 2013-12-04 15:54:36 -0800 | [diff] [blame] | 30 | |
| 31 | libcore_docs_include_once := 1 |
| 32 | endif # libcore_docs_include_once |