1 LOCAL_PATH := $(call my-dir) 2 3 # service library 4 include $(CLEAR_VARS) 5 LOCAL_SRC_FILES := MediaExtractorService.cpp 6 LOCAL_SHARED_LIBRARIES := libmedia libstagefright libbinder libutils liblog 7 LOCAL_MODULE:= libmediaextractorservice 8 LOCAL_32_BIT_ONLY := true 9 include $(BUILD_SHARED_LIBRARY) 10 11 12 # service executable 13 include $(CLEAR_VARS) 14 LOCAL_REQUIRED_MODULES_arm := mediaextractor-seccomp.policy 15 LOCAL_REQUIRED_MODULES_x86 := mediaextractor-seccomp.policy 16 LOCAL_SRC_FILES := main_extractorservice.cpp minijail/minijail.cpp 17 LOCAL_SHARED_LIBRARIES := libmedia libmediaextractorservice libbinder libutils liblog libicuuc libminijail 18 LOCAL_STATIC_LIBRARIES := libicuandroid_utils 19 LOCAL_MODULE:= mediaextractor 20 LOCAL_32_BIT_ONLY := true 21 LOCAL_INIT_RC := mediaextractor.rc 22 LOCAL_C_INCLUDES := frameworks/av/media/libmedia 23 include $(BUILD_EXECUTABLE) 24 25 include $(call all-makefiles-under, $(LOCAL_PATH)) 26