Bug 986381 - Add MOZ_OMX_WEBM_DECODER define in moz.builds. r=glandium, a=1.4+
authorBlake Wu <bwu@mozilla.com>
Wed, 07 May 2014 18:05:49 +0800
changeset 187413 34b821bbc7ba
parent 187412 b0f287889ae9
child 187414 b7f5d141c237
push id71
push userryanvm@gmail.com
push dateThu, 08 May 2014 20:43:47 +0000
treeherdermozilla-b2g30_v1_4@e96076a30b09 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium, 1
bugs986381
milestone30.0
Bug 986381 - Add MOZ_OMX_WEBM_DECODER define in moz.builds. r=glandium, a=1.4+
content/media/moz.build
content/media/omx/moz.build
--- a/content/media/moz.build
+++ b/content/media/moz.build
@@ -181,8 +181,10 @@ if CONFIG['MOZ_DIRECTSHOW']:
         '/media/webrtc/trunk/webrtc/modules/video_capture/windows',
     ]
 
 DEFINES['MOZILLA_INTERNAL_API'] = True
 
 if CONFIG['MOZ_OMX_DECODER']:
     DEFINES['MOZ_OMX_DECODER'] = True
 
+if CONFIG['ANDROID_VERSION'] > '15':
+    DEFINES['MOZ_OMX_WEBM_DECODER'] = True
--- a/content/media/omx/moz.build
+++ b/content/media/omx/moz.build
@@ -68,8 +68,10 @@ CXXFLAGS += [
         'frameworks/base/include/media/stagefright/openmax',
         'frameworks/base/media/libstagefright/include',
         'frameworks/native/opengl/include',
         'frameworks/native/include',
         'hardware/libhardware/include/',
     ]
 ]
 
+if CONFIG['ANDROID_VERSION'] > '15':
+    DEFINES['MOZ_OMX_WEBM_DECODER'] = True