blob: b89e39306dc82618c6b2a043ebb91876f5b53120 [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
Narayan Kamath7ea8d822015-07-24 18:38:44 +010013libcore_to_document := $(openjdk_javadoc_files) $(non_openjdk_javadoc_files)
Ying Wang21ac42d2013-12-04 15:54:36 -080014
Ying Wang6cfff422015-04-02 19:22:12 -070015# 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 Kamathbf072042015-11-12 11:21:22 +000019#
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 Wang6cfff422015-04-02 19:22:12 -070027
Ying Wang21ac42d2013-12-04 15:54:36 -080028libcore_docs_include_once := 1
29endif # libcore_docs_include_once