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