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

Adjust make files following libva #13

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions _studio/mfx_lib/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libmfx_core_hw
LOCAL_SHARED_LIBRARIES := liblog libcutils
Expand All @@ -329,7 +327,6 @@ LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_LDFLAGS := $(MFX_LOCAL_LDFLAGS_HW)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers
LOCAL_WHOLE_STATIC_LIBRARIES := $(MFX_LOCAL_STATIC_LIBRARIES_HW)
LOCAL_SHARED_LIBRARIES := libva liblog libcutils libdrm

Expand Down
2 changes: 1 addition & 1 deletion _studio/mfx_lib/shared/src/libmfxsw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <xf86drm.h>
#include "va/va_drm.h"
#include "va/drm/va_drm.h"

#include "mediasdk_version.h"
#include "libmfx_core_factory.h"
Expand Down
5 changes: 0 additions & 5 deletions _studio/shared/asc/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ LOCAL_CFLAGS += -I $(MFX_HOME)/_studio/shared/asc/include/
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libmfx_asc_avx2
include $(BUILD_STATIC_LIBRARY)
Expand All @@ -50,8 +48,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libmfx_asc_sse4
include $(BUILD_STATIC_LIBRARY)
Expand Down Expand Up @@ -88,7 +84,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers
LOCAL_WHOLE_STATIC_LIBRARIES := $(LOCAL_STATIC_LIBRARIES)

LOCAL_MODULE_TAGS := optional
Expand Down
2 changes: 0 additions & 2 deletions _studio/shared/mfx_logging/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libmfx_logging

Expand Down
2 changes: 0 additions & 2 deletions _studio/shared/mfx_trace/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libmfx_gen_trace

Expand Down
2 changes: 1 addition & 1 deletion _studio/shared/src/libmfx_core_vaapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

#include "va/va.h"
#include <va/va_backend.h>
#include "va/va_drm.h"
#include "va/drm/va_drm.h"
#include <unistd.h>
#include <fcntl.h>

Expand Down
3 changes: 0 additions & 3 deletions _studio/shared/umc/codec/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers
LOCAL_SHARED_LIBRARIES := liblog libcutils

LOCAL_MODULE_TAGS := optional
Expand Down Expand Up @@ -76,8 +75,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers

LOCAL_SHARED_LIBRARIES := liblog libcutils

LOCAL_MODULE_TAGS := optional
Expand Down
1 change: 0 additions & 1 deletion _studio/shared/umc/core/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers
LOCAL_STATIC_LIBRARIES += libmfx_logging

LOCAL_MODULE_TAGS := optional
Expand Down
2 changes: 0 additions & 2 deletions _studio/shared/umc/io/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ LOCAL_CFLAGS := \
LOCAL_CFLAGS_32 := $(MFX_CFLAGS_INTERNAL_32)
LOCAL_CFLAGS_64 := $(MFX_CFLAGS_INTERNAL_64)

LOCAL_HEADER_LIBRARIES := libmfx_gen_headers

LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libumc_va

Expand Down
4 changes: 2 additions & 2 deletions android/mfx_defs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# MFX_CFLAGS - common flags for all targets
# MFX_CFLAGS_LIBVA - LibVA support flags (to build apps with or without LibVA support)
# MFX_INCLUDES - common include paths for all targets
# MFX_INCLUDES_LIBVA - include paths to LibVA headers
# libva_headers - include paths to LibVA headers
# MFX_LDFLAGS - common link flags for all targets

# =============================================================================
Expand Down Expand Up @@ -90,7 +90,7 @@ endif
# Setting usual paths to include files
MFX_INCLUDES := $(LOCAL_PATH)/include

MFX_INCLUDES_LIBVA := $(TARGET_OUT_HEADERS)/libva
LOCAL_HEADER_LIBRARIES := libmfx_gen_headers libva_headers

# Setting usual link flags
MFX_LDFLAGS := \
Expand Down
1 change: 0 additions & 1 deletion android/mfx_defs_internal.mk
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ MFX_INCLUDES_INTERNAL := \

MFX_INCLUDES_INTERNAL_HW := \
$(MFX_INCLUDES_INTERNAL) \
$(MFX_INCLUDES_LIBVA)
Loading