Byron Gardner | 419d340 | 2014-08-12 15:09:23 -0700 | [diff] [blame] | 1 | ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true) |
| 2 | |
| 3 | LOCAL_PATH := $(call my-dir) |
| 4 | include $(CLEAR_VARS) |
| 5 | |
| 6 | LOCAL_SRC_FILES := \ |
| 7 | WrsOMXPlugin.cpp |
| 8 | |
| 9 | |
| 10 | LOCAL_CFLAGS := $(PV_CFLAGS_MINUS_VISIBILITY) |
| 11 | |
| 12 | #enable log |
| 13 | #LOCAL_CFLAGS += -DLOG_NDEBUG=0 |
| 14 | |
| 15 | ifeq ($(USE_MEDIASDK),true) |
| 16 | LOCAL_CFLAGS += -DUSE_MEDIASDK |
| 17 | endif |
| 18 | |
Jason Hu | 490aba9 | 2014-08-15 03:45:37 +0800 | [diff] [blame^] | 19 | ifeq ($(TARGET_HAS_ISV), true) |
| 20 | LOCAL_CFLAGS +=-DTARGET_HAS_ISV |
| 21 | endif |
| 22 | |
Byron Gardner | 419d340 | 2014-08-12 15:09:23 -0700 | [diff] [blame] | 23 | LOCAL_C_INCLUDES:= \ |
| 24 | $(call include-path-for, frameworks-native)/media/hardware \ |
| 25 | $(call include-path-for, frameworks-native)/media/openmax |
| 26 | |
| 27 | LOCAL_SHARED_LIBRARIES := \ |
| 28 | libbinder \ |
| 29 | libutils \ |
| 30 | libcutils \ |
| 31 | libui \ |
| 32 | libdl \ |
| 33 | libstagefright_foundation |
| 34 | |
| 35 | LOCAL_MODULE := libstagefrighthw |
| 36 | |
| 37 | include $(BUILD_SHARED_LIBRARY) |
| 38 | endif |
| 39 | |