Write out export_includes whenever the module is built.

Bug: 6362268
Change-Id: If872cf8fe597a02e6ca740a181cea85f486df98e
This commit is contained in:
Ying Wang 2012-04-18 17:35:55 -07:00
parent fdb236779d
commit 616e596385
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