OSDN Git Service

Fix another build break.
authorHui Shu <hush@google.com>
Thu, 13 Mar 2014 23:21:08 +0000 (16:21 -0700)
committerHui Shu <hush@google.com>
Thu, 13 Mar 2014 23:31:21 +0000 (16:31 -0700)
The doclava build does not need to depend on the intermedidate
removed.txt. It depends on public_api.txt. Removed.txt is generated
along with public_api.txt by doclava.

BUG: b/11293324
Change-Id: Ia5ea675bbfb15b81ce6ae81cf34c608e83676ca1

core/definitions.mk

index 920ecb0..0b60fc9 100644 (file)
@@ -2118,14 +2118,14 @@ endef
 #    $(1)  target
 #    $(2)  stable api file
 #    $(3)  api file to be tested
-#    $(4)  removed stable api file
+#    $(4)  stable removed api file
 #    $(5)  removed api file to be tested
 #    $(6)  arguments for apicheck
 #    $(7)  command to run if apicheck failed
 #    $(8)  target dependent on this api check
 #    $(9)  additional dependencies
 define check-api
-$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(strip $(1))-timestamp: $(2) $(3) $(4) $(5) $(APICHECK) $(9)
+$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(strip $(1))-timestamp: $(2) $(3) $(4) $(APICHECK) $(9)
        @echo "Checking API:" $(1)
        $(hide) ( $(APICHECK_COMMAND) $(6) $(2) $(3) $(4) $(5) || ( $(7) ; exit 38 ) )
        $(hide) mkdir -p $$(dir $$@)