History log of /build/core/post_clean.mk
Revision Date Author Comments
da2da1d9b858c7f63290614fc07c1a6de65eb031 23-Aug-2014 Ying Wang <wangying@google.com> 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
af9757e84940a3d3f4a4b88d2f1ed259d4f43c02 18-Jul-2014 Ying Wang <wangying@google.com> New installation path for apks and their JNIs.

Apk's path is changed to <parent_dir>/MyApp/MyApp.apk;
JNI path is changed to <parent_dir>/MyApp/lib/<arch_name>/libfoo.so.
Symlinks of JNIs are changed accordingly.

Bug: 16319961
Change-Id: Ib3b2309c95fa9aea27837fcc29e28d990b04747b
3abc2a392664fd08288d39513fc41182af7fefaf 09-Jul-2014 Ying Wang <wangying@google.com> Copy over aidl info for modules not loaded by the current build

That way we don't lose the record if user is running mm/mmm.

Change-Id: I1e1a8b99b4f659b73f73d89f409a24aa36464066
1a5ada11d52ffadf999c5c1f1e07c31a03d560dd 08-Jul-2014 Ying Wang <wangying@google.com> Auto-clean obsolete aidl-generated Java files.

The build system compares aidl files of every module to the previous
build and deletes the intermediate generated source dir if an aidl file
has gone.

Change-Id: I55fcfe1baaae3496613e12c20bca564d408bba58
71004f81351511b4873cdb09d52b7624158a4840 25-May-2012 Ying Wang <wangying@google.com> Clean common intermediate files if overlay changed

This change cleans the packages' intermediate files if their overlays
changed between incremental builds.
If two builds have different overlay, they will have different R
classes, and so the jar files in the common intermediate dirs can
not be shared. Therefore incremental build can't be applied.

This change detects the overlay changes on package's base.
If a package's overlay is different from the previous build, its common
intermediate dir is nuked.
This makes broader incremental builds possible.

Change-Id: I368610ebbbbc85a80f9aecd714ab22cd78da7f12