Bug 986381 - Add MOZ_OMX_WEBM_DECODER define in moz.builds r=glandium
authorBlake Wu <bwu@mozilla.com>
Wed, 07 May 2014 18:05:49 +0800
changeset 182090 6d8b0bf673c5
parent 182089 996575e5352b
child 182091 49831d474b17
push id43210
push usercbook@mozilla.com
push dateThu, 08 May 2014 08:52:53 +0000
treeherdermozilla-inbound@135afc151b75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs986381
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 986381 - Add MOZ_OMX_WEBM_DECODER define in moz.builds r=glandium
content/media/moz.build
content/media/omx/moz.build
--- a/content/media/moz.build
+++ b/content/media/moz.build
@@ -183,8 +183,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