Bug 1042810 - Use string comparison for Android versions. r=gps
authorRalph Giles <giles@mozilla.com>
Wed, 23 Jul 2014 10:07:35 -0700
changeset 195834 76c1674cf6da70f21b6eb521b29fd948b199431d
parent 195833 e6828c19a0e453a821555b85a265d4d951ebc383
child 195835 3f6ee18b1e9d11766a64878f02ee36fef45e8882
push id27197
push usercbook@mozilla.com
push dateThu, 24 Jul 2014 13:25:44 +0000
treeherdermozilla-central@340ff53a5467 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1042810
milestone34.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 1042810 - Use string comparison for Android versions. r=gps
content/media/omx/moz.build
--- a/content/media/omx/moz.build
+++ b/content/media/omx/moz.build
@@ -43,17 +43,17 @@ if 'rtsp' in CONFIG['NECKO_PROTOCOLS']:
         'RtspOmxDecoder.h',
         'RtspOmxReader.h',
     ]
     SOURCES += [
         'RtspOmxDecoder.cpp',
         'RtspOmxReader.cpp',
     ]
 
-if CONFIG['ANDROID_VERSION'] and int(CONFIG['ANDROID_VERSION']) >= 18:
+if CONFIG['ANDROID_VERSION'] >= '18':
     EXPORTS += [
         'I420ColorConverterHelper.h',
         'MediaCodecDecoder.h',
         'MediaCodecProxy.h',
         'MediaCodecReader.h',
     ]
     SOURCES += [
         'I420ColorConverterHelper.cpp',