Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the build issue on the latest Android with treble #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions videoprocess/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,26 @@ 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 += \
$(LOCAL_PATH)/../common

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := vavpp
LOCAL_PROPRIETARY_MODULE := true

LOCAL_SHARED_LIBRARIES := libva-android libva libdl libdrm libcutils libutils libgui libm

Expand Down