Write out export_includes whenever the module is built.

Bug: 6362268
Change-Id: Ic5d028c108423c694736a06c05ec13093d42f1b8
This commit is contained in:
Ying Wang 2012-04-18 16:30:17 -07:00
parent 08f5e9a54c
commit 40c34f3778
2 changed files with 5 additions and 0 deletions

View File

@ -702,3 +702,6 @@ ifdef LOCAL_EXPORT_C_INCLUDE_DIRS
else
$(hide) touch $@
endif
# Make sure export_includes gets generated when you are running mm/mmm
$(LOCAL_BUILT_MODULE) : $(export_includes)

View File

@ -56,6 +56,8 @@ ifdef prebuilt_module_is_a_library
$(intermediates)/export_includes:
$(hide) mkdir -p $(dir $@) && rm -f $@
$(hide) touch $@
$(LOCAL_BUILT_MODULE) : $(intermediates)/export_includes
endif
endif