From d0fe7861c83788ffa752d7a4ac6716c367915902 Mon Sep 17 00:00:00 2001 From: Zhongmin Wu Date: Mon, 5 Aug 2019 14:36:10 +0800 Subject: [PATCH] Fix the build issue on the latest Android with treble Signed-off-by: Zhongmin Wu --- videoprocess/Android.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/videoprocess/Android.mk b/videoprocess/Android.mk index fa064077..cb3a6837 100644 --- a/videoprocess/Android.mk +++ b/videoprocess/Android.mk @@ -4,12 +4,18 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) +IGNORED_WARNNING = \ + -Wno-sign-compare \ + -Wno-missing-field-initializers \ + -Wno-unused-parameter \ + LOCAL_SRC_FILES := \ ../common/va_display.c \ ../common/va_display_android.cpp \ vavpp.cpp LOCAL_CFLAGS += \ + $(IGNORED_WARNNING) \ -DANDROID LOCAL_C_INCLUDES += \ @@ -17,6 +23,7 @@ LOCAL_C_INCLUDES += \ LOCAL_MODULE_TAGS := optional LOCAL_MODULE := vavpp +LOCAL_PROPRIETARY_MODULE := true LOCAL_SHARED_LIBRARIES := libva-android libva libdl libdrm libcutils libutils libgui libm