Bug 1168309 - Add the define, MOZ_GONK_MEDIACODEC, to dom/media. r=cpearce.
authorBlake Wu <bwu@mozilla.com>
Tue, 26 May 2015 17:33:29 +0800
changeset 268031 a3a3e00caaff770a4af22e11bb52832c725aabfb
parent 268030 ee37f9b8df0207f37620f5146fe076dd4648ce8f
child 268032 cc1287e6504e54070cbf10cafead3eda2ed515d2
push id2294
push userbsmedberg@mozilla.com
push dateWed, 27 May 2015 15:05:10 +0000
reviewerscpearce
bugs1168309
milestone41.0a1
Bug 1168309 - Add the define, MOZ_GONK_MEDIACODEC, to dom/media. r=cpearce.
dom/media/moz.build
--- a/dom/media/moz.build
+++ b/dom/media/moz.build
@@ -309,16 +309,19 @@ if CONFIG['MOZ_WEBRTC']:
 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
 
+if CONFIG['MOZ_GONK_MEDIACODEC']:
+    DEFINES['MOZ_GONK_MEDIACODEC'] = True
+
 CFLAGS += CONFIG['GSTREAMER_CFLAGS']
 CXXFLAGS += CONFIG['GSTREAMER_CFLAGS']
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 # Suppress some GCC warnings being treated as errors:
 #  - about attributes on forward declarations for types that are already
 #    defined, which complains about an important MOZ_EXPORT for android::AString