From 8f607e31fa97654515730a99fb66c1f3069ed126 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 20 Jun 2018 19:09:50 -0700 Subject: [PATCH] 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 --- core/apidiff.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/apidiff.mk b/core/apidiff.mk index 180aabd6ca..7876c1132f 100644 --- a/core/apidiff.mk +++ b/core/apidiff.mk @@ -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)