Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4bbb6a0 authored by Christopher Wiley's avatar Christopher Wiley
Browse files

Express libmedia dependencies in stagefright components

libstagefright includes a number of static libraries, each of which
includes eventually includes headers from libmedia.  Express this
dependency explicitly so that the static libraries can pick up
libmedia's header include path.

Bug: 27804373
Test: Compiles.

Change-Id: I0cb17327202f5b8b840eba6fdbd8768e203f16de
parent e7b096af
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -122,6 +122,8 @@ LOCAL_SHARED_LIBRARIES += \
        libdl \
        libRScpp \

LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libmedia

LOCAL_CFLAGS += -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall

# enable experiments only in userdebug and eng builds
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@ LOCAL_C_INCLUDES += $(intermediates)
LOCAL_CFLAGS += -Wno-multichar -Werror -Wall
LOCAL_CLANG := true

LOCAL_SHARED_LIBRARIES := libmedia

LOCAL_MODULE:= libstagefright_mediafilter

include $(BUILD_STATIC_LIBRARY)
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ LOCAL_CFLAGS += -Werror -Wall
LOCAL_CLANG := true
LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow

LOCAL_SHARED_LIBRARIES := libmedia

LOCAL_MODULE := libstagefright_id3

include $(BUILD_STATIC_LIBRARY)
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ LOCAL_C_INCLUDES:= \
LOCAL_CFLAGS += -Wno-multichar -Werror -Wall
LOCAL_CLANG := true

LOCAL_SHARED_LIBRARIES := libmedia

LOCAL_MODULE:= libstagefright_matroska

include $(BUILD_STATIC_LIBRARY)
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@ LOCAL_CFLAGS += -Werror -Wall
LOCAL_CLANG := true
LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow

LOCAL_SHARED_LIBRARIES := libmedia

LOCAL_MODULE:= libstagefright_mpeg2ts

ifeq ($(TARGET_ARCH),arm)
Loading