mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c3e8a05966
--HG-- extra : rebase_source : fa7730805d5b47803226e43c6aab3d6dd074aadf
62 lines
4.3 KiB
Bash
62 lines
4.3 KiB
Bash
# Usage: ./update.sh <android_ics_os_src_directory>
|
|
#
|
|
# Copies the needed include files from the directory containing the original
|
|
# Android ICS OS source that we need for building the libstagefright support.
|
|
cp $1/system/core/include/pixelflinger/pixelflinger.h ./pixelflinger/pixelflinger.h
|
|
cp $1/system/core/include/pixelflinger/format.h ./pixelflinger/format.h
|
|
cp $1/system/core/include/system/graphics.h ./system/graphics.h
|
|
cp $1/system/core/include/system/window.h ./system/window.h
|
|
cp $1/frameworks/base/include/drm/drm_framework_common.h ./drm/drm_framework_common.h
|
|
cp $1/frameworks/base/include/drm/DrmManagerClient.h ./drm/DrmManagerClient.h
|
|
cp $1/frameworks/base/include/utils/threads.h ./utils/threads.h
|
|
cp $1/frameworks/base/include/utils/List.h ./utils/List.h
|
|
cp $1/frameworks/base/include/utils/Errors.h ./utils/Errors.h
|
|
cp $1/frameworks/base/include/utils/Vector.h ./utils/Vector.h
|
|
cp $1/frameworks/base/include/utils/VectorImpl.h ./utils/VectorImpl.h
|
|
cp $1/frameworks/base/include/utils/KeyedVector.h ./utils/KeyedVector.h
|
|
cp $1/frameworks/base/include/utils/RefBase.h ./utils/RefBase.h
|
|
cp $1/frameworks/base/include/utils/SharedBuffer.h ./utils/SharedBuffer.h
|
|
cp $1/frameworks/base/include/utils/Timers.h ./utils/Timers.h
|
|
cp $1/frameworks/base/include/utils/String16.h ./utils/String16.h
|
|
cp $1/frameworks/base/include/utils/SortedVector.h ./utils/SortedVector.h
|
|
cp $1/frameworks/base/include/utils/Log.h ./utils/Log.h
|
|
cp $1/frameworks/base/include/utils/TypeHelpers.h ./utils/TypeHelpers.h
|
|
cp $1/frameworks/base/include/utils/Flattenable.h ./utils/Flattenable.h
|
|
cp $1/frameworks/base/include/utils/StrongPointer.h ./utils/StrongPointer.h
|
|
cp $1/frameworks/base/include/utils/Unicode.h ./utils/Unicode.h
|
|
cp $1/frameworks/base/include/utils/String8.h ./utils/String8.h
|
|
cp $1/system/core/include/cutils/uio.h ./cutils/uio.h
|
|
cp $1/system/core/include/cutils/atomic.h ./cutils/atomic.h
|
|
cp $1/system/core/include/cutils/log.h ./cutils/log.h
|
|
cp $1/system/core/include/cutils/native_handle.h ./cutils/native_handle.h
|
|
cp $1/system/core/include/cutils/logd.h ./cutils/logd.h
|
|
cp $1/frameworks/base/include/binder/IBinder.h ./binder/IBinder.h
|
|
cp $1/frameworks/base/include/binder/Binder.h ./binder/Binder.h
|
|
cp $1/frameworks/base/include/binder/IInterface.h ./binder/IInterface.h
|
|
cp $1/frameworks/base/include/media/stagefright/MediaExtractor.h ./stagefright/MediaExtractor.h
|
|
cp $1/frameworks/base/include/media/stagefright/OMXCodec.h ./stagefright/OMXCodec.h
|
|
cp $1/frameworks/base/include/media/stagefright/OMXClient.h ./stagefright/OMXClient.h
|
|
cp $1/frameworks/base/include/media/stagefright/DataSource.h ./stagefright/DataSource.h
|
|
cp $1/frameworks/base/include/media/stagefright/MetaData.h ./stagefright/MetaData.h
|
|
cp $1/frameworks/base/native/include/android/rect.h ./android/rect.h
|
|
cp $1/frameworks/base/native/include/android/native_window.h ./android/native_window.h
|
|
cp $1/frameworks/base/include/media/stagefright/MediaErrors.h ./media/stagefright/MediaErrors.h
|
|
cp $1/frameworks/base/include/media/stagefright/MediaSource.h ./media/stagefright/MediaSource.h
|
|
cp $1/frameworks/base/include/media/stagefright/MediaBuffer.h ./media/stagefright/MediaBuffer.h
|
|
cp $1/frameworks/base/include/media/stagefright/openmax/OMX_IVCommon.h ./media/stagefright/openmax/OMX_IVCommon.h
|
|
cp $1/frameworks/base/include/media/stagefright/openmax/OMX_Video.h ./media/stagefright/openmax/OMX_Video.h
|
|
cp $1/frameworks/base/include/media/stagefright/openmax/OMX_Index.h ./media/stagefright/openmax/OMX_Index.h
|
|
cp $1/frameworks/base/include/media/stagefright/openmax/OMX_Core.h ./media/stagefright/openmax/OMX_Core.h
|
|
cp $1/frameworks/base/include/media/stagefright/openmax/OMX_Types.h ./media/stagefright/openmax/OMX_Types.h
|
|
cp $1/frameworks/base/include/media/IOMX.h ./media/IOMX.h
|
|
cp $1/frameworks/base/include/ui/Rect.h ./ui/Rect.h
|
|
cp $1/frameworks/base/include/ui/Point.h ./ui/Point.h
|
|
cp $1/frameworks/base/include/ui/PixelFormat.h ./ui/PixelFormat.h
|
|
cp $1/frameworks/base/include/ui/egl/android_natives.h ./ui/egl/android_natives.h
|
|
cp $1/frameworks/base/include/ui/android_native_buffer.h ./ui/android_native_buffer.h
|
|
cp $1/frameworks/base/include/ui/GraphicBuffer.h ./ui/GraphicBuffer.h
|
|
cp $1/hardware/libhardware/include/hardware/hardware.h ./hardware/hardware.h
|
|
cp $1/hardware/libhardware/include/hardware/gralloc.h ./hardware/gralloc.h
|
|
cp $1/hardware/libhardware/include/hardware/fb.h ./hardware/fb.h
|
|
patch -R -p5 <update.patch
|