blob: 80d0d2bdc7bad02bfee8ca4f2ed7f5e0a98cedb4 [file] [log] [blame]
Andreas Huber8f0e4aa2009-09-11 09:54:52 -07001ifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true)
2
Andreas Huber20111aa2009-07-14 16:56:47 -07003LOCAL_PATH:= $(call my-dir)
4
5include $(CLEAR_VARS)
6
Andreas Huber2d7d46f2009-08-18 11:27:32 -07007LOCAL_SRC_FILES:= \
Andreas Hubera98420e2010-04-13 09:58:39 -07008 stagefright.cpp \
9 SineSource.cpp
Andreas Huber20111aa2009-07-14 16:56:47 -070010
11LOCAL_SHARED_LIBRARIES := \
Doug Kwana17e2b92009-12-22 13:30:25 -080012 libstagefright libmedia libutils libbinder
Andreas Huber20111aa2009-07-14 16:56:47 -070013
14LOCAL_C_INCLUDES:= \
Andreas Huber1b84df12009-09-15 12:49:11 -070015 $(JNI_H_INCLUDE) \
Andreas Huber20111aa2009-07-14 16:56:47 -070016 frameworks/base/media/libstagefright \
Andreas Huber1c702472010-06-10 11:16:10 -070017 frameworks/base/media/libstagefright/include \
Andreas Huber693d2712009-08-14 14:37:10 -070018 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
Andreas Huber20111aa2009-07-14 16:56:47 -070019
20LOCAL_CFLAGS += -Wno-multichar
21
Andreas Huber5a486952010-02-23 16:55:02 -080022LOCAL_MODULE_TAGS := debug
23
Andreas Huber20111aa2009-07-14 16:56:47 -070024LOCAL_MODULE:= stagefright
25
26include $(BUILD_EXECUTABLE)
27
28################################################################################
29
30include $(CLEAR_VARS)
31
32LOCAL_SRC_FILES:= \
Andreas Hubere5adbee2009-09-02 14:01:43 -070033 SineSource.cpp \
Andreas Huber20111aa2009-07-14 16:56:47 -070034 record.cpp
35
36LOCAL_SHARED_LIBRARIES := \
Doug Kwana17e2b92009-12-22 13:30:25 -080037 libstagefright liblog libutils libbinder
Andreas Huber20111aa2009-07-14 16:56:47 -070038
39LOCAL_C_INCLUDES:= \
Andreas Huber1b84df12009-09-15 12:49:11 -070040 $(JNI_H_INCLUDE) \
Andreas Huber20111aa2009-07-14 16:56:47 -070041 frameworks/base/media/libstagefright \
Andreas Huber693d2712009-08-14 14:37:10 -070042 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
Andreas Huber20111aa2009-07-14 16:56:47 -070043
44LOCAL_CFLAGS += -Wno-multichar
45
Andreas Huber5a486952010-02-23 16:55:02 -080046LOCAL_MODULE_TAGS := debug
47
Andreas Huber20111aa2009-07-14 16:56:47 -070048LOCAL_MODULE:= record
49
50include $(BUILD_EXECUTABLE)
Andreas Huber8f0e4aa2009-09-11 09:54:52 -070051
Andreas Huberc297fcc2009-12-01 15:26:54 -080052################################################################################
53
54include $(CLEAR_VARS)
55
56LOCAL_SRC_FILES:= \
57 SineSource.cpp \
58 audioloop.cpp
59
60LOCAL_SHARED_LIBRARIES := \
Doug Kwana17e2b92009-12-22 13:30:25 -080061 libstagefright liblog libutils libbinder
Andreas Huberc297fcc2009-12-01 15:26:54 -080062
63LOCAL_C_INCLUDES:= \
64 $(JNI_H_INCLUDE) \
65 frameworks/base/media/libstagefright \
66 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
67
68LOCAL_CFLAGS += -Wno-multichar
69
Andreas Huber5a486952010-02-23 16:55:02 -080070LOCAL_MODULE_TAGS := debug
71
Andreas Huberc297fcc2009-12-01 15:26:54 -080072LOCAL_MODULE:= audioloop
73
74include $(BUILD_EXECUTABLE)
75
Andreas Huber8f0e4aa2009-09-11 09:54:52 -070076endif