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