Bug 1285541 - Update moz.build and update.sh for the new version of cubeb. r=achronop
authorPaul Adenot <paul@paul.cx>
Wed, 20 Jul 2016 15:02:23 +0200
changeset 331422 43682f11a9cc57ef1076a29f5d5c8119de7cbfaf
parent 331421 7ba223fde0e05b031ebf983434329254ba6e4f2b
child 331423 3027825ee1fdf541b4060523cb5613f9b85f1147
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersachronop
bugs1285541
milestone50.0a1
Bug 1285541 - Update moz.build and update.sh for the new version of cubeb. r=achronop MozReview-Commit-ID: 27b5L7ilGEg
media/libcubeb/src/moz.build
media/libcubeb/update.sh
--- a/media/libcubeb/src/moz.build
+++ b/media/libcubeb/src/moz.build
@@ -44,17 +44,17 @@ if CONFIG['MOZ_JACK']:
 if CONFIG['OS_ARCH'] == 'OpenBSD':
     SOURCES += [
         'cubeb_sndio.c',
     ]
     DEFINES['USE_SNDIO'] = True
 
 if CONFIG['OS_TARGET'] == 'Darwin':
     SOURCES += [
-        'cubeb_audiounit.c',
+        'cubeb_audiounit.cpp',
         'cubeb_resampler.cpp'
     ]
     if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
         SOURCES += [
             'cubeb_osx_run_loop.c',
         ]
     DEFINES['USE_AUDIOUNIT'] = True
 
--- a/media/libcubeb/update.sh
+++ b/media/libcubeb/update.sh
@@ -7,17 +7,18 @@ cp $1/README.md .
 cp $1/include/cubeb/cubeb.h include
 cp $1/src/android/audiotrack_definitions.h src/android
 cp $1/src/android/sles_definitions.h src/android
 cp $1/src/cubeb-internal.h src
 cp $1/src/cubeb-speex-resampler.h src
 cp $1/src/cubeb.c src
 cp $1/src/cubeb_alsa.c src
 cp $1/src/cubeb_audiotrack.c src
-cp $1/src/cubeb_audiounit.c src
+cp $1/src/cubeb_audiounit.cpp src
+cp $1/src/cubeb_osx_run_loop.h src
 cp $1/src/cubeb_jack.cpp src
 cp $1/src/cubeb_opensl.c src
 cp $1/src/cubeb_panner.cpp src
 cp $1/src/cubeb_panner.h src
 cp $1/src/cubeb_pulse.c src
 cp $1/src/cubeb_resampler.cpp src
 cp $1/src/cubeb_resampler.h src
 cp $1/src/cubeb_resampler_internal.h src