walleye: gpt-utils: Move lib to vendor for build split

libgptutils is only used by vendor. Move it to
vendor partition so they can work with generic AOSP
system image.

Bug: 37927875
Test: These libs are under /vendor/lib(64) instead of
/system/lib(64) and the resulted image works on the device.
Change-Id: Id04f7a09fdc8e60de79f83b8fd0c2504fd2e2ebe

Change-Id: I7f3f8fe845d35a05492ffc4785787622c7851b79
This commit is contained in:
Isaac Chen
2017-05-09 15:44:19 +08:00
committed by Asriadi Rahim
parent af37b80209
commit cee63aa99a
2 changed files with 5 additions and 0 deletions

View File

@@ -52,3 +52,6 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/walleye/vendor/etc/senso
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.$(PRODUCT_HARDWARE).logging.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.$(PRODUCT_HARDWARE).usb.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libgptutils.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/libigptutils.so)

View File

@@ -37,6 +37,8 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
endif
LOCAL_SHARED_LIBRARIES += liblog libsparse libcutils
LOCAL_MODULE := libgptutils
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_OWNER := qti
LOCAL_COPY_HEADERS_TO := gpt-utils/inc
LOCAL_COPY_HEADERS := gpt-utils.h