Replace last -includes by .KATI_DEPFILE

There was a typo in binary.mk. compile-dotdot-XXX-file in
definitions.mk was also using -include.

Bug: 26839129
Bug: 27886012
Change-Id: I4a0145fb70413998cc65d30d2efcd68af07b4800
(cherry picked from commit 72904774a3)
This commit is contained in:
Shinichiro Hamaji 2016-03-16 06:40:04 +09:00 committed by Colin Cross
parent 2fb7b61a2e
commit 0f846c73e1
2 changed files with 4 additions and 4 deletions

View File

@ -1071,7 +1071,7 @@ ifneq ($(strip $(asm_objects_S)),)
$(asm_objects_S): $(intermediates)/%.o: $(TOPDIR)$(LOCAL_PATH)/%.S \
$(my_additional_dependencies)
$(transform-$(PRIVATE_HOST)s-to-o)
$(call include-depfiles-for-objs, $(asm_objects))
$(call include-depfiles-for-objs, $(asm_objects_S))
endif
asm_sources_s := $(filter %.s,$(my_src_files))

View File

@ -1374,7 +1374,7 @@ define compile-dotdot-cpp-file
o := $(intermediates)/$(patsubst %$(LOCAL_CPP_EXTENSION),%.o,$(subst ../,$(DOTDOT_REPLACEMENT),$(1)))
$$(o) : $(TOPDIR)$(LOCAL_PATH)/$(1) $(2)
$$(transform-$$(PRIVATE_HOST)cpp-to-o)
-include $$(o:%.o=%.P)
$$(call include-depfiles-for-objs, $$(o))
$(3) += $$(o)
endef
@ -1387,7 +1387,7 @@ define compile-dotdot-c-file
o := $(intermediates)/$(patsubst %.c,%.o,$(subst ../,$(DOTDOT_REPLACEMENT),$(1)))
$$(o) : $(TOPDIR)$(LOCAL_PATH)/$(1) $(2)
$$(transform-$$(PRIVATE_HOST)c-to-o)
-include $$(o:%.o=%.P)
$$(call include-depfiles-for-objs, $$(o))
$(3) += $$(o)
endef
@ -1400,7 +1400,7 @@ define compile-dotdot-s-file
o := $(intermediates)/$(patsubst %.S,%.o,$(subst ../,$(DOTDOT_REPLACEMENT),$(1)))
$$(o) : $(TOPDIR)$(LOCAL_PATH)/$(1) $(2)
$$(transform-$$(PRIVATE_HOST)s-to-o)
-include $$(o:%.o=%.P)
$$(call include-depfiles-for-objs, $$(o))
$(3) += $$(o)
endef