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
This commit is contained in:
committed by
Colin Cross
parent
0ba8a9cecc
commit
8bf7b5d51a
@@ -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)) \
|
||||
|
Reference in New Issue
Block a user