1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES := \ 5 SoftFlacEncoder.cpp 6 7 LOCAL_C_INCLUDES := \ 8 frameworks/av/media/libstagefright/include \ 9 frameworks/native/include/media/openmax \ 10 external/flac/include 11 12 LOCAL_CFLAGS += -Werror 13 LOCAL_CLANG := true 14 LOCAL_SANITIZE := signed-integer-overflow unsigned-integer-overflow 15 16 LOCAL_SHARED_LIBRARIES := \ 17 libstagefright libstagefright_omx libstagefright_foundation libutils liblog 18 19 LOCAL_STATIC_LIBRARIES := \ 20 libFLAC \ 21 22 LOCAL_MODULE := libstagefright_soft_flacenc 23 LOCAL_MODULE_TAGS := optional 24 25 include $(BUILD_SHARED_LIBRARY) 26