1LOCAL_PATH := $(call my-dir) 2 3# service library 4include $(CLEAR_VARS) 5LOCAL_SRC_FILES := MediaCodecService.cpp 6LOCAL_SHARED_LIBRARIES := libmedia libbinder libutils liblog libstagefright_omx 7LOCAL_C_INCLUDES := \ 8 $(TOP)/frameworks/av/media/libstagefright \ 9 $(TOP)/frameworks/native/include/media/openmax 10LOCAL_MODULE:= libmediacodecservice 11LOCAL_32_BIT_ONLY := true 12include $(BUILD_SHARED_LIBRARY) 13 14 15# service executable 16include $(CLEAR_VARS) 17LOCAL_REQUIRED_MODULES_arm := mediacodec-seccomp.policy 18LOCAL_SRC_FILES := main_codecservice.cpp minijail/minijail.cpp 19LOCAL_SHARED_LIBRARIES := libmedia libmediacodecservice libbinder libutils \ 20 liblog libminijail 21LOCAL_C_INCLUDES := \ 22 $(TOP)/frameworks/av/media/libstagefright \ 23 $(TOP)/frameworks/native/include/media/openmax 24LOCAL_MODULE:= mediacodec 25LOCAL_32_BIT_ONLY := true 26LOCAL_INIT_RC := mediacodec.rc 27include $(BUILD_EXECUTABLE) 28 29include $(call all-makefiles-under, $(LOCAL_PATH)) 30 31