1LOCAL_PATH:= $(call my-dir) 2 3ifneq ($(BOARD_USE_CUSTOM_MEDIASERVEREXTENSIONS),true) 4include $(CLEAR_VARS) 5LOCAL_SRC_FILES := register.cpp 6LOCAL_MODULE := libregistermsext 7LOCAL_MODULE_TAGS := optional 8LOCAL_CFLAGS := -Werror -Wall 9include $(BUILD_STATIC_LIBRARY) 10endif 11 12include $(CLEAR_VARS) 13 14LOCAL_SRC_FILES:= \ 15 main_mediaserver.cpp 16 17LOCAL_SHARED_LIBRARIES := \ 18 libresourcemanagerservice \ 19 liblog \ 20 libmediaplayerservice \ 21 libutils \ 22 libbinder \ 23 libicuuc \ 24 android.hardware.media.omx@1.0 \ 25 26LOCAL_STATIC_LIBRARIES := \ 27 libicuandroid_utils \ 28 libregistermsext 29 30LOCAL_C_INCLUDES := \ 31 frameworks/av/media/libmediaplayerservice \ 32 frameworks/av/services/mediaresourcemanager \ 33 34LOCAL_MODULE:= mediaserver 35LOCAL_32_BIT_ONLY := true 36 37LOCAL_INIT_RC := mediaserver.rc 38 39LOCAL_CFLAGS := -Werror -Wall 40 41include $(BUILD_EXECUTABLE) 42