Bug 1229615 - Conditionalize mp4parse.h export. r=kinetik
authorRalph Giles <giles@mozilla.com>
Wed, 02 Dec 2015 12:22:09 -0800
changeset 309500 7f1d2251afd6c3eab9a55a50f5bf6785450ab053
parent 309499 d036b1daeb0b1b61f85f69eff722eeccccd5ffd4
child 309501 822004606576c50a5b7e43ca7763eb41e000c483
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskinetik
bugs1229615
milestone45.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 1229615 - Conditionalize mp4parse.h export. r=kinetik
media/libstagefright/moz.build
--- a/media/libstagefright/moz.build
+++ b/media/libstagefright/moz.build
@@ -65,33 +65,32 @@ EXPORTS.mp4_demuxer += [
     'binding/include/mp4_demuxer/SinfParser.h',
     'binding/include/mp4_demuxer/Stream.h',
 ]
 
 EXPORTS.demuxer += [
     'binding/include/demuxer/TrackDemuxer.h',
 ]
 
-EXPORTS += [
-    'binding/include/mp4parse.h',
-]
-
 SOURCES += [
     'frameworks/av/media/libstagefright/foundation/hexdump.cpp',
     'frameworks/av/media/libstagefright/MetaData.cpp',
     'system/core/libutils/RefBase.cpp',
     'system/core/libutils/String16.cpp',
     'system/core/libutils/String8.cpp',
     'system/core/libutils/VectorImpl.cpp',
 ]
 
 if CONFIG['MOZ_RUST']:
     SOURCES += [
         'binding/MP4Metadata.rs',
     ]
+    EXPORTS += [
+        'binding/include/mp4parse.h',
+    ]
 
 UNIFIED_SOURCES += [
     'binding/Adts.cpp',
     'binding/AnnexB.cpp',
     'binding/Box.cpp',
     'binding/BufferStream.cpp',
     'binding/DecoderData.cpp',
     'binding/H264.cpp',