blob: 100af89d96b417d85f961a2aa230a2b4c7b7fe0b [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 Huber20111aa2009-07-14 16:56:47 -07008 stagefright.cpp
9
10LOCAL_SHARED_LIBRARIES := \
11 libstagefright
12
13LOCAL_C_INCLUDES:= \
Andreas Huber1b84df12009-09-15 12:49:11 -070014 $(JNI_H_INCLUDE) \
Andreas Huber20111aa2009-07-14 16:56:47 -070015 frameworks/base/media/libstagefright \
Andreas Huber693d2712009-08-14 14:37:10 -070016 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
Andreas Huber20111aa2009-07-14 16:56:47 -070017
18LOCAL_CFLAGS += -Wno-multichar
19
20LOCAL_MODULE:= stagefright
21
22include $(BUILD_EXECUTABLE)
23
24################################################################################
25
26include $(CLEAR_VARS)
27
28LOCAL_SRC_FILES:= \
Andreas Hubere5adbee2009-09-02 14:01:43 -070029 SineSource.cpp \
Andreas Huber20111aa2009-07-14 16:56:47 -070030 record.cpp
31
32LOCAL_SHARED_LIBRARIES := \
33 libstagefright
34
35LOCAL_C_INCLUDES:= \
Andreas Huber1b84df12009-09-15 12:49:11 -070036 $(JNI_H_INCLUDE) \
Andreas Huber20111aa2009-07-14 16:56:47 -070037 frameworks/base/media/libstagefright \
Andreas Huber693d2712009-08-14 14:37:10 -070038 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
Andreas Huber20111aa2009-07-14 16:56:47 -070039
40LOCAL_CFLAGS += -Wno-multichar
41
42LOCAL_MODULE:= record
43
44include $(BUILD_EXECUTABLE)
Andreas Huber8f0e4aa2009-09-11 09:54:52 -070045
Andreas Huberc297fcc2009-12-01 15:26:54 -080046################################################################################
47
48include $(CLEAR_VARS)
49
50LOCAL_SRC_FILES:= \
51 SineSource.cpp \
52 audioloop.cpp
53
54LOCAL_SHARED_LIBRARIES := \
55 libstagefright
56
57LOCAL_C_INCLUDES:= \
58 $(JNI_H_INCLUDE) \
59 frameworks/base/media/libstagefright \
60 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include
61
62LOCAL_CFLAGS += -Wno-multichar
63
64LOCAL_MODULE:= audioloop
65
66include $(BUILD_EXECUTABLE)
67
Andreas Huber8f0e4aa2009-09-11 09:54:52 -070068endif