Home | History | Annotate | Download | only in hevcdec
      1 ifeq ($(if $(wildcard external/libhevc),1,0),1)
      2 
      3 LOCAL_PATH := $(call my-dir)
      4 include $(CLEAR_VARS)
      5 
      6 LOCAL_MODULE            := libstagefright_soft_hevcdec
      7 LOCAL_MODULE_TAGS       := optional
      8 
      9 LOCAL_STATIC_LIBRARIES  := libhevcdec
     10 LOCAL_SRC_FILES         := SoftHEVC.cpp
     11 
     12 LOCAL_C_INCLUDES := $(TOP)/external/libhevc/decoder
     13 LOCAL_C_INCLUDES += $(TOP)/external/libhevc/common
     14 LOCAL_C_INCLUDES += $(TOP)/frameworks/av/media/libstagefright/include
     15 LOCAL_C_INCLUDES += $(TOP)/frameworks/native/include/media/openmax
     16 
     17 LOCAL_SHARED_LIBRARIES  := libstagefright
     18 LOCAL_SHARED_LIBRARIES  += libstagefright_omx
     19 LOCAL_SHARED_LIBRARIES  += libstagefright_foundation
     20 LOCAL_SHARED_LIBRARIES  += libutils
     21 LOCAL_SHARED_LIBRARIES  += liblog
     22 
     23 # We need this because the current asm generates the following link error:
     24 # requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
     25 # Bug: 16853291
     26 LOCAL_LDFLAGS := -Wl,-Bsymbolic
     27 
     28 include $(BUILD_SHARED_LIBRARY)
     29 
     30 endif
     31