libmtk_symbols: move GBM9...RectEP13android_ycbcr to libshim_ui
This commit is contained in:
parent
446a99f1fc
commit
64c8a77b43
|
@ -2,12 +2,6 @@
|
|||
#include <ui/Rect.h>
|
||||
|
||||
extern "C" {
|
||||
void _ZN7android19GraphicBufferMapper9lockYCbCrEPK13native_handlejRKNS_4RectEP13android_ycbcr(buffer_handle_t, uint32_t, const android::Rect&, android_ycbcr*);
|
||||
|
||||
void _ZN7android19GraphicBufferMapper9lockYCbCrEPK13native_handleiRKNS_4RectEP13android_ycbcr(buffer_handle_t handle, int usage, const android::Rect& bounds, android_ycbcr *ycbcr) {
|
||||
_ZN7android19GraphicBufferMapper9lockYCbCrEPK13native_handlejRKNS_4RectEP13android_ycbcr(handle, static_cast<uint32_t>(usage), bounds, ycbcr);
|
||||
}
|
||||
|
||||
void _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPv(buffer_handle_t, uint32_t, const android::Rect&, void**);
|
||||
|
||||
void _ZN7android19GraphicBufferMapper4lockEPK13native_handleiRKNS_4RectEPPv(buffer_handle_t handle, int usage, const android::Rect& bounds, void** vaddr) {
|
||||
|
|
|
@ -27,6 +27,16 @@ include $(CLEAR_VARS)
|
|||
|
||||
LOCAL_SRC_FILES := mtk_gui.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libbinder liblog libgui libui
|
||||
LOCAL_SHARED_LIBRARIES := libbinder liblog libgui
|
||||
LOCAL_MODULE := libshim_gui
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
||||
## libshim_ui
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := mtk_ui.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libbinder liblog libui
|
||||
LOCAL_MODULE := libshim_ui
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#include <ui/GraphicBufferMapper.h>
|
||||
#include <ui/Rect.h>
|
||||
|
||||
extern "C" {
|
||||
void _ZN7android19GraphicBufferMapper9lockYCbCrEPK13native_handlejRKNS_4RectEP13android_ycbcr(buffer_handle_t, uint32_t, const android::Rect&, android_ycbcr*);
|
||||
|
||||
void _ZN7android19GraphicBufferMapper9lockYCbCrEPK13native_handleiRKNS_4RectEP13android_ycbcr(buffer_handle_t handle, int usage, const android::Rect& bounds, android_ycbcr *ycbcr) {
|
||||
_ZN7android19GraphicBufferMapper9lockYCbCrEPK13native_handlejRKNS_4RectEP13android_ycbcr(handle, static_cast<uint32_t>(usage), bounds, ycbcr);
|
||||
}
|
||||
}
|
|
@ -10,7 +10,8 @@ PRODUCT_PACKAGES += \
|
|||
libmtk_symbols \
|
||||
libshim_agps \
|
||||
libshim_omx \
|
||||
libshim_gui
|
||||
libshim_gui \
|
||||
libshim_ui
|
||||
|
||||
# Mediatek
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
|
@ -14,7 +14,7 @@ on early-init
|
|||
on init
|
||||
export LD_PRELOAD "libmtk_symbols.so"
|
||||
|
||||
export LD_SHIM_LIBS "/system/bin/mtk_agpsd|libshim_agps.so:/system/lib/libMtkOmxVdec.so|libshim_omx.so:/system/lib/libshowlogo.so|libshim_gui.so:/system/lib/libaal.so|/system/lib/libshim_gui.so:/system/lib64/libaal.so|/system/lib64/libshim_gui.so"
|
||||
export LD_SHIM_LIBS "/system/bin/mtk_agpsd|libshim_agps.so:/system/lib/libMtkOmxVdec.so|libshim_omx.so:/system/lib/libshowlogo.so|libshim_gui.so:/system/lib/libaal.so|/system/lib/libshim_gui.so:/system/lib64/libaal.so|/system/lib64/libshim_gui.so:/system/lib/libmtk_mmutils.so|/system/lib/libshim_ui.so:/system/lib64/libmtk_mmutils.so|/system/lib64/libshim_ui.so"
|
||||
|
||||
# mount points
|
||||
mkdir /protect_f 0771 system system
|
||||
|
|
Loading…
Reference in New Issue