michael@0: # Usage: ./update.sh michael@0: # michael@0: # Copies the needed files from the directory containing the original michael@0: # Android ICS OS source and applies the B2G specific changes for the michael@0: # camcorder functionality in B2G. michael@0: cp $1/frameworks/base/media/libmediaplayerservice/StagefrightRecorder.cpp ./GonkRecorder.cpp michael@0: cp $1/frameworks/base/media/libmediaplayerservice/StagefrightRecorder.h ./GonkRecorder.h michael@0: cp $1/frameworks/base/media/libstagefright/CameraSource.cpp ./GonkCameraSource.cpp michael@0: cp $1/frameworks/base/include/media/stagefright/CameraSource.h ./GonkCameraSource.h michael@0: cp $1/frameworks/base/media/libmedia/AudioParameter.cpp ./AudioParameter.cpp michael@0: cp $1/frameworks/base/include/camera/Camera.h ./GonkCameraListener.h michael@0: patch -p1