Skip to content
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: 3 additions & 4 deletions va/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

LOCAL_PATH:= $(call my-dir)

LIBVA_DRIVERS_PATH_32 := /vendor/lib/dri
LIBVA_DRIVERS_PATH_64 := /vendor/lib64/dri
LIBVA_DRIVERS_PATH_32 := /system/lib/dri

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libva should be put at vendor partition since system partition is for android AOSP and can be updated seperately with vendor partition.

LIBVA_DRIVERS_PATH_64 := /system/lib64/dri

include $(CLEAR_VARS)

Expand All @@ -51,14 +51,14 @@ LOCAL_CFLAGS_64 += \

LOCAL_CFLAGS := \
$(IGNORED_WARNNING) \
-DSYSCONFDIR=\"/system/etc\" \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be put at /vendor/etc/

-DLOG_TAG=\"libva\"

LOCAL_C_INCLUDES := $(LOCAL_PATH)/..

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libva
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_PROPRIETARY_MODULE := true

LOCAL_SHARED_LIBRARIES := libdl libdrm libcutils liblog

Expand Down Expand Up @@ -95,7 +95,6 @@ LOCAL_C_INCLUDES += \

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libva-android
LOCAL_PROPRIETARY_MODULE := true

LOCAL_SHARED_LIBRARIES := libva libdrm liblog

Expand Down