Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bf7b5d5 authored by Narayan Kamath's avatar Narayan Kamath Committed by Colin Cross
Browse files

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
parent 0ba8a9ce
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)) \