Marco Nelissen | 1900e77 | 2016-02-02 16:12:16 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | # service library |
| 4 | include $(CLEAR_VARS) |
| 5 | LOCAL_SRC_FILES := MediaCodecService.cpp |
| 6 | LOCAL_SHARED_LIBRARIES := libmedia libbinder libutils liblog libstagefright_omx |
| 7 | LOCAL_C_INCLUDES := \ |
| 8 | $(TOP)/frameworks/av/media/libstagefright \ |
| 9 | $(TOP)/frameworks/native/include/media/openmax |
| 10 | LOCAL_MODULE:= libmediacodecservice |
| 11 | LOCAL_32_BIT_ONLY := true |
| 12 | include $(BUILD_SHARED_LIBRARY) |
| 13 | |
| 14 | |
| 15 | # service executable |
| 16 | include $(CLEAR_VARS) |
Jeff Vander Stoep | c9ea211 | 2016-02-17 10:52:20 -0800 | [diff] [blame] | 17 | LOCAL_REQUIRED_MODULES_arm := mediacodec-seccomp.policy |
Jorge Lucangeli Obes | fbfb8e8 | 2017-02-14 10:33:41 -0500 | [diff] [blame^] | 18 | LOCAL_SRC_FILES := main_codecservice.cpp |
Jeff Vander Stoep | c9ea211 | 2016-02-17 10:52:20 -0800 | [diff] [blame] | 19 | LOCAL_SHARED_LIBRARIES := libmedia libmediacodecservice libbinder libutils \ |
Jorge Lucangeli Obes | fbfb8e8 | 2017-02-14 10:33:41 -0500 | [diff] [blame^] | 20 | libbase libavservices_minijail libcutils \ |
Pawin Vongmasa | 033975f | 2016-12-27 03:14:55 +0700 | [diff] [blame] | 21 | android.hardware.media.omx@1.0 |
Marco Nelissen | 1900e77 | 2016-02-02 16:12:16 -0800 | [diff] [blame] | 22 | LOCAL_C_INCLUDES := \ |
| 23 | $(TOP)/frameworks/av/media/libstagefright \ |
| 24 | $(TOP)/frameworks/native/include/media/openmax |
Jorge Lucangeli Obes | fbfb8e8 | 2017-02-14 10:33:41 -0500 | [diff] [blame^] | 25 | LOCAL_MODULE := mediacodec |
Marco Nelissen | 1900e77 | 2016-02-02 16:12:16 -0800 | [diff] [blame] | 26 | LOCAL_32_BIT_ONLY := true |
| 27 | LOCAL_INIT_RC := mediacodec.rc |
| 28 | include $(BUILD_EXECUTABLE) |
| 29 | |
Jeff Vander Stoep | c9ea211 | 2016-02-17 10:52:20 -0800 | [diff] [blame] | 30 | include $(call all-makefiles-under, $(LOCAL_PATH)) |