10aed96a9c
- Explicitly add the libwebm path as an include directory, and export it to ensure the include path propagates to other builds depending on libwebm. - Disable clang/gcc warning extern-c-compat; it's triggered in Android builds by built-in includes. Change-Id: I631f5a6f3b50a73519ae436033257de7e25afb16
18 lines
594 B
Makefile
18 lines
594 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE:= libwebm
|
|
LOCAL_CPPFLAGS:=-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
|
|
LOCAL_CPPFLAGS+=-D__STDC_LIMIT_MACROS -Wno-extern-c-compat
|
|
LOCAL_C_INCLUDES:= $(LOCAL_PATH)
|
|
LOCAL_EXPORT_C_INCLUDES:= $(LOCAL_PATH)
|
|
|
|
LOCAL_SRC_FILES:= common/file_util.cc \
|
|
common/hdr_util.cc \
|
|
mkvparser/mkvparser.cc \
|
|
mkvparser/mkvreader.cc \
|
|
mkvmuxer/mkvmuxer.cc \
|
|
mkvmuxer/mkvmuxerutil.cc \
|
|
mkvmuxer/mkvwriter.cc
|
|
include $(BUILD_STATIC_LIBRARY)
|