172961230a5890071bcca436eb5630172ce84ec41Andreas HuberLOCAL_PATH:= $(call my-dir)
272961230a5890071bcca436eb5630172ce84ec41Andreas Huberinclude $(CLEAR_VARS)
372961230a5890071bcca436eb5630172ce84ec41Andreas Huber
4f933441648ef6a71dee783d733aac17b9508b452Andreas HuberLOCAL_SRC_FILES:=                 \
5f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    AAtomizer.cpp                 \
6f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    ABitReader.cpp                \
7f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    ABuffer.cpp                   \
8f296e2b262d2a8f7c570eaed454a28cca99eb976Lajos Molnar    ADebug.cpp                    \
9f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    AHandler.cpp                  \
10f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    AHierarchicalStateMachine.cpp \
11f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    ALooper.cpp                   \
12f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    ALooperRoster.cpp             \
13f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    AMessage.cpp                  \
148060060217ff16cd67c8f6a15c649f44c343acf0Andreas Huber    ANetworkSession.cpp           \
15f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    AString.cpp                   \
16f296e2b262d2a8f7c570eaed454a28cca99eb976Lajos Molnar    AStringUtils.cpp              \
1735d5af131c9d4962e935082f204ccd6a2130861cWeiyin Jiang    AWakeLock.cpp                 \
183a09d8d6f909063990a5681b15a442b2ba8ce54aLajos Molnar    ColorUtils.cpp                \
19b2487f03f12dcafdb801fc0007c8df8412397f44Marco Nelissen    MediaBuffer.cpp               \
20e9a5b96e7927fd4e38623e17ac73e8e4e25877eeWei Jia    MediaBufferGroup.cpp          \
21b2487f03f12dcafdb801fc0007c8df8412397f44Marco Nelissen    MetaData.cpp                  \
228060060217ff16cd67c8f6a15c649f44c343acf0Andreas Huber    ParsedMessage.cpp             \
23f933441648ef6a71dee783d733aac17b9508b452Andreas Huber    base64.cpp                    \
2472961230a5890071bcca436eb5630172ce84ec41Andreas Huber    hexdump.cpp
2572961230a5890071bcca436eb5630172ce84ec41Andreas Huber
2672961230a5890071bcca436eb5630172ce84ec41Andreas HuberLOCAL_C_INCLUDES:= \
27559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    frameworks/av/include/media/stagefright/foundation
2872961230a5890071bcca436eb5630172ce84ec41Andreas Huber
2972961230a5890071bcca436eb5630172ce84ec41Andreas HuberLOCAL_SHARED_LIBRARIES := \
3072961230a5890071bcca436eb5630172ce84ec41Andreas Huber        libbinder         \
3172961230a5890071bcca436eb5630172ce84ec41Andreas Huber        libutils          \
32f296e2b262d2a8f7c570eaed454a28cca99eb976Lajos Molnar        libcutils         \
3335d5af131c9d4962e935082f204ccd6a2130861cWeiyin Jiang        liblog            \
3435d5af131c9d4962e935082f204ccd6a2130861cWeiyin Jiang        libpowermanager
3572961230a5890071bcca436eb5630172ce84ec41Andreas Huber
363b0da19c78f6a61ed343a07f2448b94faafe4c02Lajos MolnarLOCAL_CFLAGS += -Wno-multichar -Werror -Wall
37ee4e1b1a63758941460ae79a064249d3a5189443Lajos MolnarLOCAL_CLANG := true
38ac26e0f0b016324e1ba19c0005c5fd3066eb0aedDan AustinLOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow
3972961230a5890071bcca436eb5630172ce84ec41Andreas Huber
4072961230a5890071bcca436eb5630172ce84ec41Andreas HuberLOCAL_MODULE:= libstagefright_foundation
4172961230a5890071bcca436eb5630172ce84ec41Andreas Huber
429691a73139bb36c5bf294ed13eedcb04d7f05320Iliyan Malchev
4372961230a5890071bcca436eb5630172ce84ec41Andreas Huber
4472961230a5890071bcca436eb5630172ce84ec41Andreas Huberinclude $(BUILD_SHARED_LIBRARY)
45