LOCAL_PATH := $(call my-dir) # service library include $(CLEAR_VARS) LOCAL_SRC_FILES := MediaExtractorService.cpp LOCAL_SHARED_LIBRARIES := libmedia libstagefright libbinder libutils liblog LOCAL_MODULE:= libmediaextractorservice LOCAL_32_BIT_ONLY := true include $(BUILD_SHARED_LIBRARY) # service executable include $(CLEAR_VARS) LOCAL_REQUIRED_MODULES_arm := mediaextractor-seccomp.policy LOCAL_REQUIRED_MODULES_x86 := mediaextractor-seccomp.policy LOCAL_SRC_FILES := main_extractorservice.cpp minijail/minijail.cpp LOCAL_SHARED_LIBRARIES := libmedia libmediaextractorservice libbinder libutils liblog libicuuc libminijail LOCAL_STATIC_LIBRARIES := libicuandroid_utils LOCAL_MODULE:= mediaextractor LOCAL_32_BIT_ONLY := true LOCAL_INIT_RC := mediaextractor.rc LOCAL_C_INCLUDES := frameworks/av/media/libmedia include $(BUILD_EXECUTABLE) include $(call all-makefiles-under, $(LOCAL_PATH))