javadoc/droidoc: Don't add .jar files to sourcepath.
javadoc expects directories on the sourcepath, not jar files.
The original commit 88b607994a
in 2009 was already passing the jar files, and every revision
since then seems to have kept this habit through cargo cult.
This CL removes the superfluous jar file arguments from the
sourcepath argument to javadoc.
Test: Treehugger
Bug: 76436487
Change-Id: I44b4b8ba248ad4deafbb6462e6f7398f15bd2845
This commit is contained in:
@@ -216,7 +216,7 @@ $(full_target): \
|
||||
$(PRIVATE_ADDITIONAL_HTML_DIR) \
|
||||
$(addprefix -bootclasspath ,$(PRIVATE_BOOTCLASSPATH)) \
|
||||
$(addprefix -classpath ,$(PRIVATE_CLASSPATH)) \
|
||||
-sourcepath $(PRIVATE_SOURCE_PATH)$(addprefix :,$(PRIVATE_CLASSPATH)) \
|
||||
-sourcepath $(PRIVATE_SOURCE_PATH) \
|
||||
-d $(PRIVATE_OUT_DIR) \
|
||||
$(PRIVATE_CURRENT_BUILD) $(PRIVATE_CURRENT_TIME) \
|
||||
$(PRIVATE_DROIDDOC_OPTIONS) \
|
||||
@@ -261,7 +261,7 @@ $(full_target): $(full_src_files) $(LOCAL_GENERATED_SOURCES) $(full_java_libs) $
|
||||
$(PRIVATE_PROFILING_OPTIONS) \
|
||||
$(addprefix -classpath ,$(PRIVATE_CLASSPATH)) \
|
||||
$(PRIVATE_BOOTCLASSPATH_ARG) \
|
||||
-sourcepath $(PRIVATE_SOURCE_PATH)$(addprefix :,$(PRIVATE_CLASSPATH)) \
|
||||
-sourcepath $(PRIVATE_SOURCE_PATH) \
|
||||
-d $(PRIVATE_OUT_DIR) \
|
||||
-quiet \
|
||||
&& touch -f $@ \
|
||||
|
Reference in New Issue
Block a user