From: Narayan Kamath Date: Thu, 10 Dec 2015 22:24:39 +0000 (+0000) Subject: Set -Xdoclint:none X-Git-Tag: android-x86-7.1-r1~661 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8bf7b5d51a6ff9a6d9b5cc5c21ecbf2ae5d0e804;p=android-x86%2Fbuild.git Set -Xdoclint:none Mac builds use a javadoc tool that fails on more warnings than linux builds. Add -Xdoclint:none to all java 8 standard doclet javadoc commands. Don't add it to javadoc commands that use the com.google.doclava.Doclava doclet, it doesn't understand -Xdoclint:none. Change-Id: I6c2f69555ca64b028d22b06286156491f51ac86c --- diff --git a/core/droiddoc.mk b/core/droiddoc.mk index 5c43a686d..432ba1148 100644 --- a/core/droiddoc.mk +++ b/core/droiddoc.mk @@ -215,6 +215,7 @@ $(full_target): $(full_src_files) $(full_java_lib_deps) \@$(PRIVATE_SRC_LIST_FILE) \ -J-Xmx1024m \ -XDignore.symbol.file \ + $(if $(EXPERIMENTAL_USE_JAVA8),-Xdoclint:none) \ $(PRIVATE_PROFILING_OPTIONS) \ $(addprefix -classpath ,$(PRIVATE_CLASSPATH)) \ $(addprefix -bootclasspath ,$(PRIVATE_BOOTCLASSPATH)) \