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 |
Pawin Vongmasa | 9c47c97 | 2017-02-08 04:09:38 -0800 | [diff] [blame^] | 6 | LOCAL_SHARED_LIBRARIES := \ |
| 7 | libmedia \ |
| 8 | libbinder \ |
| 9 | libutils \ |
| 10 | liblog \ |
| 11 | libstagefright_omx |
Marco Nelissen | 1900e77 | 2016-02-02 16:12:16 -0800 | [diff] [blame] | 12 | LOCAL_C_INCLUDES := \ |
| 13 | $(TOP)/frameworks/av/media/libstagefright \ |
| 14 | $(TOP)/frameworks/native/include/media/openmax |
| 15 | LOCAL_MODULE:= libmediacodecservice |
| 16 | LOCAL_32_BIT_ONLY := true |
| 17 | include $(BUILD_SHARED_LIBRARY) |
| 18 | |
| 19 | |
| 20 | # service executable |
| 21 | include $(CLEAR_VARS) |
Jeff Vander Stoep | c9ea211 | 2016-02-17 10:52:20 -0800 | [diff] [blame] | 22 | LOCAL_REQUIRED_MODULES_arm := mediacodec-seccomp.policy |
Jorge Lucangeli Obes | fbfb8e8 | 2017-02-14 10:33:41 -0500 | [diff] [blame] | 23 | LOCAL_SRC_FILES := main_codecservice.cpp |
Pawin Vongmasa | 9c47c97 | 2017-02-08 04:09:38 -0800 | [diff] [blame^] | 24 | LOCAL_SHARED_LIBRARIES := \ |
| 25 | libmedia \ |
| 26 | libmediacodecservice \ |
| 27 | libbinder \ |
| 28 | libutils \ |
| 29 | liblog \ |
| 30 | libbase \ |
| 31 | libavservices_minijail \ |
| 32 | libcutils \ |
| 33 | libhwbinder \ |
Pawin Vongmasa | 033975f | 2016-12-27 03:14:55 +0700 | [diff] [blame] | 34 | android.hardware.media.omx@1.0 |
Marco Nelissen | 1900e77 | 2016-02-02 16:12:16 -0800 | [diff] [blame] | 35 | LOCAL_C_INCLUDES := \ |
| 36 | $(TOP)/frameworks/av/media/libstagefright \ |
| 37 | $(TOP)/frameworks/native/include/media/openmax |
Jorge Lucangeli Obes | fbfb8e8 | 2017-02-14 10:33:41 -0500 | [diff] [blame] | 38 | LOCAL_MODULE := mediacodec |
Marco Nelissen | 1900e77 | 2016-02-02 16:12:16 -0800 | [diff] [blame] | 39 | LOCAL_32_BIT_ONLY := true |
| 40 | LOCAL_INIT_RC := mediacodec.rc |
| 41 | include $(BUILD_EXECUTABLE) |
| 42 | |
Jeff Vander Stoep | c9ea211 | 2016-02-17 10:52:20 -0800 | [diff] [blame] | 43 | include $(call all-makefiles-under, $(LOCAL_PATH)) |