refine libOmxCore (static link to ffmpeg...)

This commit is contained in:
Ziyang Zhou
2022-12-03 11:49:02 +08:00
parent 1961137721
commit d2be8232db
51 changed files with 2 additions and 14 deletions

View File

@@ -68,8 +68,7 @@ endef
# NDK libs
ndk_libs_cxx := libc++_shared
ndk_libs_media := libcamera2ndk libandroid libmediandk
libs := $(ndk_libs_cxx) $(ndk_libs_media)
libs := $(ndk_libs_cxx)
$(foreach lib,$(libs),\
$(eval $(call define-redroid-prebuilt-lib,$(lib)_p,$(lib).so,$(lib).so)))
@@ -102,8 +101,6 @@ expat_libs := libexpat.so.1
libs = $(gbm_libs) $(glapi_libs) $(expat_libs)
drm_libs := $(shell cd $(LOCAL_PATH)/prebuilts/$(TARGET_ARCH)/lib && find * -name 'libdrm*.so.*' -type l)
libs += $(drm_libs)
x264_libs := libx264.so.164
libs += $(x264_libs)
$(foreach lib,$(libs),\
$(eval $(call define-redroid-prebuilt-lib,$(lib),$(lib))))
@@ -157,7 +154,7 @@ $(eval $(call define-redroid-prebuilt-lib,hwcomposer.redroid,,hw/hwcomposer.redr
## libOmxCore
$(eval $(call define-redroid-prebuilt-lib,libOmxCore,,libOmxCore.so, , ,$(va_libs) $(ffmpeg_libs) $(x264_libs)))
$(eval $(call define-redroid-prebuilt-lib,libOmxCore,,libOmxCore.so, , ,$(va_libs) ))
## libevdev
@@ -195,11 +192,6 @@ bins:=avcenc h264encode hevcencode jpegenc vp8enc vp9enc vainfo
$(foreach i,$(bins),\
$(eval $(call define-redroid-prebuilt-bin,$(i),$(va_libs))))
# ffmpeg
bins:=ffmpeg ffprobe
$(foreach i,$(bins),\
$(eval $(call define-redroid-prebuilt-bin,$(i),$(ffmpeg_libs))))
$(eval $(call define-redroid-prebuilt-bin,uinputd,$(evdev_libs),uinputd/uinputd.rc))
$(eval $(call define-redroid-prebuilt-bin,vncserver,$(vncserver_libs),vncserver/vncserver.rc))

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
libx264.so.164

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
libx264.so.164

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
libx264.so.164

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
libx264.so.164

Binary file not shown.