Android.mk revision e9c52da6fdb755ed832325c2fe4fe5b3bc4c9eed
142281880a8ac8614832ff918a14e4b950f35d05dDaniel MicayLOCAL_PATH:= $(call my-dir) 242281880a8ac8614832ff918a14e4b950f35d05dDaniel Micayinclude $(CLEAR_VARS) 342281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay 442281880a8ac8614832ff918a14e4b950f35d05dDaniel Micayinclude frameworks/base/media/libstagefright/codecs/common/Config.mk 542281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay 642281880a8ac8614832ff918a14e4b950f35d05dDaniel MicayLOCAL_SRC_FILES:= \ 742281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay ACodec.cpp \ 842281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AACExtractor.cpp \ 942281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AACWriter.cpp \ 1042281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AMRExtractor.cpp \ 1142281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AMRWriter.cpp \ 1242281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AVIExtractor.cpp \ 1342281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AudioPlayer.cpp \ 1442281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AudioSource.cpp \ 1542281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay AwesomePlayer.cpp \ 1642281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay CameraSource.cpp \ 1742281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay CameraSourceTimeLapse.cpp \ 1842281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay VideoSourceDownSampler.cpp \ 1942281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay DataSource.cpp \ 2042281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay DRMExtractor.cpp \ 2142281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay ESDS.cpp \ 2242281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay FileSource.cpp \ 2342281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay FLACExtractor.cpp \ 2442281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay HTTPBase.cpp \ 2542281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay JPEGSource.cpp \ 2642281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MP3Extractor.cpp \ 2742281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MPEG2TSWriter.cpp \ 2842281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MPEG4Extractor.cpp \ 2942281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MPEG4Writer.cpp \ 3042281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MediaBuffer.cpp \ 3142281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MediaBufferGroup.cpp \ 3242281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MediaDefs.cpp \ 3342281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MediaExtractor.cpp \ 3442281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MediaSource.cpp \ 3542281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MediaSourceSplitter.cpp \ 3642281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay MetaData.cpp \ 3742281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay NuCachedSource2.cpp \ 3842281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay OMXClient.cpp \ 3942281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay OMXCodec.cpp \ 4042281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay OggExtractor.cpp \ 4142281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay SampleIterator.cpp \ 4242281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay SampleTable.cpp \ 4342281880a8ac8614832ff918a14e4b950f35d05dDaniel Micay StagefrightMediaScanner.cpp \ 44 StagefrightMetadataRetriever.cpp \ 45 SurfaceMediaSource.cpp \ 46 ThrottledSource.cpp \ 47 TimeSource.cpp \ 48 TimedEventQueue.cpp \ 49 Utils.cpp \ 50 VBRISeeker.cpp \ 51 WAVExtractor.cpp \ 52 WVMExtractor.cpp \ 53 XINGSeeker.cpp \ 54 avc_utils.cpp \ 55 56LOCAL_C_INCLUDES:= \ 57 $(JNI_H_INCLUDE) \ 58 $(TOP)/frameworks/base/include/media/stagefright/openmax \ 59 $(TOP)/external/flac/include \ 60 $(TOP)/external/tremolo \ 61 $(TOP)/external/openssl/include \ 62 63LOCAL_SHARED_LIBRARIES := \ 64 libbinder \ 65 libmedia \ 66 libutils \ 67 libcutils \ 68 libui \ 69 libsonivox \ 70 libvorbisidec \ 71 libstagefright_yuv \ 72 libcamera_client \ 73 libdrmframework \ 74 libcrypto \ 75 libssl \ 76 libgui \ 77 libstagefright_omx \ 78 79LOCAL_STATIC_LIBRARIES := \ 80 libstagefright_color_conversion \ 81 libstagefright_amrnbenc \ 82 libstagefright_amrwbenc \ 83 libstagefright_avcenc \ 84 libstagefright_m4vh263enc \ 85 libstagefright_matroska \ 86 libstagefright_timedtext \ 87 libvpx \ 88 libstagefright_mpeg2ts \ 89 libstagefright_httplive \ 90 libstagefright_id3 \ 91 libFLAC \ 92 93################################################################################ 94 95# The following was shamelessly copied from external/webkit/Android.mk and 96# currently must follow the same logic to determine how webkit was built and 97# if it's safe to link against libchromium.net 98 99# V8 also requires an ARMv7 CPU, and since we must use jsc, we cannot 100# use the Chrome http stack either. 101ifneq ($(strip $(ARCH_ARM_HAVE_ARMV7A)),true) 102 USE_ALT_HTTP := true 103endif 104 105# See if the user has specified a stack they want to use 106HTTP_STACK = $(HTTP) 107# We default to the Chrome HTTP stack. 108DEFAULT_HTTP = chrome 109ALT_HTTP = android 110 111ifneq ($(HTTP_STACK),chrome) 112 ifneq ($(HTTP_STACK),android) 113 # No HTTP stack is specified, pickup the one we want as default. 114 ifeq ($(USE_ALT_HTTP),true) 115 HTTP_STACK = $(ALT_HTTP) 116 else 117 HTTP_STACK = $(DEFAULT_HTTP) 118 endif 119 endif 120endif 121 122ifeq ($(HTTP_STACK),chrome) 123 124LOCAL_SHARED_LIBRARIES += \ 125 liblog \ 126 libicuuc \ 127 libicui18n \ 128 libz \ 129 libdl \ 130 131LOCAL_STATIC_LIBRARIES += \ 132 libstagefright_chromium_http 133 134LOCAL_SHARED_LIBRARIES += libstlport libchromium_net 135include external/stlport/libstlport.mk 136 137LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1 138 139endif # ifeq ($(HTTP_STACK),chrome) 140 141################################################################################ 142 143LOCAL_SHARED_LIBRARIES += \ 144 libstagefright_amrnb_common \ 145 libstagefright_enc_common \ 146 libstagefright_avc_common \ 147 libstagefright_foundation \ 148 libdl 149 150LOCAL_CFLAGS += -Wno-multichar 151 152LOCAL_MODULE:= libstagefright 153 154include $(BUILD_SHARED_LIBRARY) 155 156include $(call all-makefiles-under,$(LOCAL_PATH)) 157