From 34e3e170e4f9c2f5e4bf7721de8562b189c3c16b Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Tue, 10 Dec 2013 11:29:25 -0800 Subject: [PATCH] Add "-encoding UTF-8" option to javadoc. This fixed docs build on Mac OS X 10.9 with Java 7. Change-Id: I91e224456c9e6c43dbf13d691c3b37d21f94b0f3 --- core/droiddoc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/droiddoc.mk b/core/droiddoc.mk index 0d3094d4a..f528ee074 100644 --- a/core/droiddoc.mk +++ b/core/droiddoc.mk @@ -162,6 +162,7 @@ $(full_target): $(full_src_files) $(droiddoc_templates) $(droiddoc) $(html_dir_f $(PRIVATE_SOURCE_INTERMEDIATES_DIR) $(PRIVATE_ADDITIONAL_JAVA_DIR)) $(hide) ( \ javadoc \ + -encoding UTF-8 \ \@$(PRIVATE_SRC_LIST_FILE) \ -J-Xmx1280m \ $(PRIVATE_PROFILING_OPTIONS) \ @@ -195,6 +196,7 @@ $(full_target): $(full_src_files) $(full_java_lib_deps) $(PRIVATE_SOURCE_INTERMEDIATES_DIR) $(PRIVATE_ADDITIONAL_JAVA_DIR)) $(hide) ( \ javadoc \ + -encoding UTF-8 \ $(PRIVATE_DROIDDOC_OPTIONS) \ \@$(PRIVATE_SRC_LIST_FILE) \ -J-Xmx1024m \