1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES = \ 5 OMXHarness.cpp \ 6 7LOCAL_SHARED_LIBRARIES := \ 8 libstagefright \ 9 libbinder \ 10 libmedia \ 11 libutils \ 12 liblog \ 13 libstagefright_foundation \ 14 libcutils \ 15 libhidlbase \ 16 libhidlmemory \ 17 android.hidl.allocator@1.0 \ 18 android.hidl.memory@1.0 \ 19 android.hardware.media.omx@1.0 \ 20 21LOCAL_C_INCLUDES := \ 22 $(TOP)/frameworks/av/media/libstagefright \ 23 $(TOP)/frameworks/native/include/media/openmax \ 24 $(TOP)/system/libhidl/base/include \ 25 26LOCAL_CFLAGS += -Werror -Wall 27 28LOCAL_MODULE := omx_tests 29 30LOCAL_MODULE_TAGS := tests 31 32LOCAL_32_BIT_ONLY := true 33 34include $(BUILD_EXECUTABLE) 35 36include $(CLEAR_VARS) 37 38LOCAL_MODULE := FrameDropper_test 39 40LOCAL_MODULE_TAGS := tests 41 42LOCAL_SRC_FILES := \ 43 FrameDropper_test.cpp \ 44 45LOCAL_SHARED_LIBRARIES := \ 46 libstagefright_omx \ 47 libutils \ 48 49LOCAL_C_INCLUDES := \ 50 frameworks/av/media/libstagefright/omx \ 51 52LOCAL_CFLAGS += -Werror -Wall 53 54include $(BUILD_NATIVE_TEST) 55