This CL depends on piex (github.com/google/piex), which is owned by Google Photos's RAW team. piex is capable of reading EXIF data that contains metadata, and finding the positions in an image of thumbnail and preview images from RAW images. piex supports DNG, CR2, NEF, NRW, ARW, RW2, ORF and RAF image file formats. ExifInterface gets thumbnail and metadata information from the above RAW image formats via piex. Bug: 26177215 Change-Id: I529f8032bcb2a9d3d9e857ff1365a26a4f040066
84 lines
2.3 KiB
Makefile
84 lines
2.3 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
android_media_AmrInputStream.cpp \
|
|
android_media_ExifInterface.cpp \
|
|
android_media_ImageWriter.cpp \
|
|
android_media_ImageReader.cpp \
|
|
android_media_MediaCrypto.cpp \
|
|
android_media_MediaCodec.cpp \
|
|
android_media_MediaCodecList.cpp \
|
|
android_media_MediaDataSource.cpp \
|
|
android_media_MediaDrm.cpp \
|
|
android_media_MediaExtractor.cpp \
|
|
android_media_MediaHTTPConnection.cpp \
|
|
android_media_MediaMetadataRetriever.cpp \
|
|
android_media_MediaMuxer.cpp \
|
|
android_media_MediaPlayer.cpp \
|
|
android_media_MediaProfiles.cpp \
|
|
android_media_MediaRecorder.cpp \
|
|
android_media_MediaScanner.cpp \
|
|
android_media_MediaSync.cpp \
|
|
android_media_ResampleInputStream.cpp \
|
|
android_media_SyncParams.cpp \
|
|
android_media_Utils.cpp \
|
|
android_mtp_MtpDatabase.cpp \
|
|
android_mtp_MtpDevice.cpp \
|
|
android_mtp_MtpServer.cpp \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libandroid_runtime \
|
|
libnativehelper \
|
|
libutils \
|
|
libbinder \
|
|
libmedia \
|
|
libskia \
|
|
libui \
|
|
liblog \
|
|
libcutils \
|
|
libgui \
|
|
libstagefright \
|
|
libstagefright_foundation \
|
|
libcamera_client \
|
|
libmtp \
|
|
libusbhost \
|
|
libjhead \
|
|
libexif \
|
|
libpiex \
|
|
libstagefright_amrnb_common
|
|
|
|
LOCAL_REQUIRED_MODULES := \
|
|
libjhead_jni
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libstagefright_amrnbenc
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
external/libexif/ \
|
|
external/piex/ \
|
|
external/tremor/Tremor \
|
|
frameworks/base/core/jni \
|
|
frameworks/base/libs/hwui \
|
|
frameworks/av/media/libmedia \
|
|
frameworks/av/media/libstagefright \
|
|
frameworks/av/media/libstagefright/codecs/amrnb/enc/src \
|
|
frameworks/av/media/libstagefright/codecs/amrnb/common \
|
|
frameworks/av/media/libstagefright/codecs/amrnb/common/include \
|
|
frameworks/av/media/mtp \
|
|
frameworks/native/include/media/openmax \
|
|
$(call include-path-for, libhardware)/hardware \
|
|
system/media/camera/include \
|
|
$(PV_INCLUDES) \
|
|
$(JNI_H_INCLUDE)
|
|
|
|
LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunreachable-code
|
|
|
|
LOCAL_MODULE:= libmedia_jni
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
# build libsoundpool.so
|
|
# build libaudioeffect_jni.so
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|