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

gbm_gralloc: Add mesa libgbm to shared lib based on platform sdk version #25

Merged
merged 1 commit into from
Sep 12, 2022
Merged
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
9 changes: 8 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,18 @@ LOCAL_SRC_FILES := \

LOCAL_SHARED_LIBRARIES := \
libdrm \
libgbm \
liblog \
libcutils \
libhardware \

ifeq ($(shell expr $(PLATFORM_SDK_VERSION) \>= 30), 1)
LOCAL_SHARED_LIBRARIES += \
libgbm_mesa
else
LOCAL_SHARED_LIBRARIES += \
libgbm
endif

LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(LOCAL_PATH)

Expand Down