Fix aidl post clean bug.

We really should check MODULES_WITH_AIDL_FILES against ALL_MODULES,
instead of modules_with_aidl_files, because a module could have just
remove any aidl files so it won't appear in modules_with_aidl_files.

Change-Id: Iab92be1ed5f0556b7236be41d90d8471c7193928
This commit is contained in:
Ying Wang 2014-08-23 09:45:31 -07:00
parent 6f1d031b39
commit da2da1d9b8
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ endif
# For modules not loaded by the current build (e.g. you are running mm/mmm),
# we copy the info from the previous bulid.
$(foreach p, $(filter-out $(modules_with_aidl_files),$(MODULES_WITH_AIDL_FILES)),\
$(foreach p, $(filter-out $(ALL_MODULES),$(MODULES_WITH_AIDL_FILES)),\
$(shell echo 'AIDL_FILES.$(p) := $(AIDL_FILES.$(p))' >> $(current_aidl_config)))
MODULES_WITH_AIDL_FILES := $(sort $(MODULES_WITH_AIDL_FILES) $(modules_with_aidl_files))
$(shell echo 'MODULES_WITH_AIDL_FILES := $(MODULES_WITH_AIDL_FILES)' >> $(current_aidl_config))