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

Commit 8f607e31 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

apidiff: Depend on timestamp file instead of phony target

Instead of $(LOCAL_MODULE)-docs, use $(call
doc-timestamp-for,$(LOCAL_MODULE)), which is how the *-docs targets are
generated in droiddoc.mk

Test: m offline-sdk-referenceonly-diff
Change-Id: I1e5ee3b819c0e836089fac236e977642067d148a
parent 85f42727
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ $(full_target): \
		$(full_java_lib_deps) \
		$(jdiff) \
		$(doclava) \
		$(LOCAL_MODULE)-docs \
		$(call doc-timestamp-for,$(LOCAL_MODULE)) \
		$(LOCAL_ADDITIONAL_DEPENDENCIES)
	@echo Generating API diff: $(PRIVATE_OUT_DIR)
	@echo   Old API: $(PRIVATE_OLDAPI)