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