blob: 2edee0d3d612b86c517f21102157e4d2e2f16222 [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.
Ying Wang21ac42d2013-12-04 15:54:36 -08004# Exports: libcore_to_document as a list of .java files relative to libcore/.
Brian Carlstromdc3c1522011-01-05 17:48:05 -08005
Ying Wang21ac42d2013-12-04 15:54:36 -08006ifndef libcore_docs_include_once
Brian Carlstromcfa84a22011-03-24 13:55:02 -07007
Narayan Kamath7ea8d822015-07-24 18:38:44 +01008include libcore/openjdk_java_files.mk
9include libcore/non_openjdk_java_files.mk
10
11
Brian Carlstromcfa84a22011-03-24 13:55:02 -070012# List of libcore javadoc source files
Przemyslaw Szczepaniak70b617f2015-11-20 12:01:45 +000013_libcore_files := $(openjdk_javadoc_files) $(non_openjdk_javadoc_files)
Neil Fuller42597382015-10-07 11:00:01 +010014_libcore_files := $(addprefix libcore/, $(_libcore_files))
15
16_icu_files := \
17 $(call find-files-in-subdirs, external/icu, \
18 "*.java", \
19 android_icu4j/src/main/java/android/icu/lang \
20 android_icu4j/src/main/java/android/icu/math \
21 android_icu4j/src/main/java/android/icu/text \
22 android_icu4j/src/main/java/android/icu/util \
23 )
24_icu_files := $(addprefix external/icu/, $(_icu_files))
25
26# List of libcore-related javadoc source files
27#
28# NOTE: Because libcore-related source spans modules (not just libcore!), files names here are
29# returned that are relative to the build root / $(TOPDIR) and not libcore.
30# BUILD_DROIDDOC requires file names that are relative the *current* LOCAL_DIR so users must account
31# for this.
32libcore_to_document := $(_libcore_files) $(_icu_files)
Ying Wang21ac42d2013-12-04 15:54:36 -080033
34libcore_docs_include_once := 1
35endif # libcore_docs_include_once