forked from openkylin/platform_build
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.
(cherry-picked from commit 8bf7b5d51a
)
Change-Id: Ic5b8431ec2facb7989473b06ebe07246f6d2317f
This commit is contained in:
parent
623799d3e0
commit
8abec039ff
|
@ -209,6 +209,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)) \
|
||||
|
|
Loading…
Reference in New Issue