OSDN Git Service

Remove old libraries in /system
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 Oct 2017 06:54:56 +0000 (14:54 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 Oct 2017 06:54:56 +0000 (14:54 +0800)
Since commit 94559640 the libraries are moved to /vendor. But
the old libraries are not removed in an incremental build.
Therefore the new libraries may not be used.

Fixes: 94559640 ("Android: move libraries to /vendor")

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
CleanSpec.mk [new file with mode: 0644]

diff --git a/CleanSpec.mk b/CleanSpec.mk
new file mode 100644 (file)
index 0000000..5d5e306
--- /dev/null
@@ -0,0 +1,2 @@
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib*/libgralloc_drm.so)
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib*/hw/gralloc.gbm.so)