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

Commit 8abec039 authored by Narayan Kamath's avatar Narayan Kamath Committed by Neil Fuller
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.

(cherry-picked from commit 8bf7b5d5)

Change-Id: Ic5b8431ec2facb7989473b06ebe07246f6d2317f
parent 623799d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)) \