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 182124 6d8b0bf673c5634d521833d5eac1a23a176369e7
parent 182090 996575e5352b22afe848262315dc1685c4cc3ca9
child 182125 49831d474b1762d1b7abba056496e218f2f2e29d
push id26748
push userryanvm@gmail.com
push dateThu, 08 May 2014 19:44:34 +0000
treeherdermozilla-central@4cafec48a1f0 [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