Andreas Huber | 20111aa | 2009-07-14 16:56:47 -0700 | [diff] [blame^] | 1 | ifeq ($(BUILD_WITH_STAGEFRIGHT),true) |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | |
| 5 | include $(CLEAR_VARS) |
| 6 | |
| 7 | LOCAL_SRC_FILES:= \ |
| 8 | stagefright.cpp |
| 9 | |
| 10 | LOCAL_SHARED_LIBRARIES := \ |
| 11 | libstagefright |
| 12 | |
| 13 | LOCAL_C_INCLUDES:= \ |
| 14 | frameworks/base/media/libstagefright \ |
| 15 | $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ |
| 16 | $(TOP)/external/opencore/android |
| 17 | |
| 18 | LOCAL_CFLAGS += -Wno-multichar |
| 19 | |
| 20 | LOCAL_MODULE:= stagefright |
| 21 | |
| 22 | include $(BUILD_EXECUTABLE) |
| 23 | |
| 24 | ################################################################################ |
| 25 | |
| 26 | include $(CLEAR_VARS) |
| 27 | |
| 28 | LOCAL_SRC_FILES:= \ |
| 29 | record.cpp |
| 30 | |
| 31 | LOCAL_SHARED_LIBRARIES := \ |
| 32 | libstagefright |
| 33 | |
| 34 | LOCAL_C_INCLUDES:= \ |
| 35 | frameworks/base/media/libstagefright \ |
| 36 | $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ |
| 37 | $(TOP)/external/opencore/android |
| 38 | |
| 39 | LOCAL_CFLAGS += -Wno-multichar |
| 40 | |
| 41 | LOCAL_MODULE:= record |
| 42 | |
| 43 | include $(BUILD_EXECUTABLE) |
| 44 | |
| 45 | ################################################################################ |
| 46 | |
| 47 | # include $(CLEAR_VARS) |
| 48 | # |
| 49 | # LOCAL_SRC_FILES:= \ |
| 50 | # play.cpp |
| 51 | # |
| 52 | # LOCAL_SHARED_LIBRARIES := \ |
| 53 | # libstagefright |
| 54 | # |
| 55 | # LOCAL_C_INCLUDES:= \ |
| 56 | # frameworks/base/media/libstagefright \ |
| 57 | # $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ |
| 58 | # $(TOP)/external/opencore/android |
| 59 | # |
| 60 | # LOCAL_CFLAGS += -Wno-multichar |
| 61 | # |
| 62 | # LOCAL_MODULE:= play |
| 63 | # |
| 64 | # include $(BUILD_EXECUTABLE) |
| 65 | |
| 66 | endif |