blob: 34648b56fbcbf669babd43dda5903b73461e88b5 [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 Huber693d2712009-08-14 14:37:10 -070017 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
Andreas Huber20111aa2009-07-14 16:56:47 -070018
19LOCAL_CFLAGS += -Wno-multichar
20
Andreas Huber5a486952010-02-23 16:55:02 -080021LOCAL_MODULE_TAGS := debug
22
Andreas Huber20111aa2009-07-14 16:56:47 -070023LOCAL_MODULE:= stagefright
24
25include $(BUILD_EXECUTABLE)
26
27################################################################################
28
29include $(CLEAR_VARS)
30
31LOCAL_SRC_FILES:= \
Andreas Hubere5adbee2009-09-02 14:01:43 -070032 SineSource.cpp \
Andreas Huber20111aa2009-07-14 16:56:47 -070033 record.cpp
34
35LOCAL_SHARED_LIBRARIES := \
Doug Kwana17e2b92009-12-22 13:30:25 -080036 libstagefright liblog libutils libbinder
Andreas Huber20111aa2009-07-14 16:56:47 -070037
38LOCAL_C_INCLUDES:= \
Andreas Huber1b84df12009-09-15 12:49:11 -070039 $(JNI_H_INCLUDE) \
Andreas Huber20111aa2009-07-14 16:56:47 -070040 frameworks/base/media/libstagefright \
Andreas Huber693d2712009-08-14 14:37:10 -070041 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
Andreas Huber20111aa2009-07-14 16:56:47 -070042
43LOCAL_CFLAGS += -Wno-multichar
44
Andreas Huber5a486952010-02-23 16:55:02 -080045LOCAL_MODULE_TAGS := debug
46
Andreas Huber20111aa2009-07-14 16:56:47 -070047LOCAL_MODULE:= record
48
49include $(BUILD_EXECUTABLE)
Andreas Huber8f0e4aa2009-09-11 09:54:52 -070050
Andreas Huberc297fcc2009-12-01 15:26:54 -080051################################################################################
52
53include $(CLEAR_VARS)
54
55LOCAL_SRC_FILES:= \
56 SineSource.cpp \
57 audioloop.cpp
58
59LOCAL_SHARED_LIBRARIES := \
Doug Kwana17e2b92009-12-22 13:30:25 -080060 libstagefright liblog libutils libbinder
Andreas Huberc297fcc2009-12-01 15:26:54 -080061
62LOCAL_C_INCLUDES:= \
63 $(JNI_H_INCLUDE) \
64 frameworks/base/media/libstagefright \
65 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
66
67LOCAL_CFLAGS += -Wno-multichar
68
Andreas Huber5a486952010-02-23 16:55:02 -080069LOCAL_MODULE_TAGS := debug
70
Andreas Huberc297fcc2009-12-01 15:26:54 -080071LOCAL_MODULE:= audioloop
72
73include $(BUILD_EXECUTABLE)
74
Andreas Huber8f0e4aa2009-09-11 09:54:52 -070075endif