Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': |
michael@0 | 8 | PARALLEL_DIRS += ['fmp4_muxer'] |
michael@0 | 9 | |
michael@0 | 10 | EXPORTS += [ |
michael@0 | 11 | 'ContainerWriter.h', |
michael@0 | 12 | 'EncodedFrameContainer.h', |
michael@0 | 13 | 'MediaEncoder.h', |
michael@0 | 14 | 'TrackEncoder.h', |
michael@0 | 15 | 'TrackMetadataBase.h', |
michael@0 | 16 | ] |
michael@0 | 17 | |
michael@0 | 18 | UNIFIED_SOURCES += [ |
michael@0 | 19 | 'MediaEncoder.cpp', |
michael@0 | 20 | 'TrackEncoder.cpp', |
michael@0 | 21 | ] |
michael@0 | 22 | |
michael@0 | 23 | if CONFIG['MOZ_OMX_ENCODER']: |
michael@0 | 24 | EXPORTS += ['OmxTrackEncoder.h'] |
michael@0 | 25 | UNIFIED_SOURCES += ['OmxTrackEncoder.cpp'] |
michael@0 | 26 | |
michael@0 | 27 | if CONFIG['MOZ_OPUS']: |
michael@0 | 28 | EXPORTS += ['OpusTrackEncoder.h'] |
michael@0 | 29 | UNIFIED_SOURCES += ['OpusTrackEncoder.cpp'] |
michael@0 | 30 | |
michael@0 | 31 | if CONFIG['MOZ_WEBM_ENCODER']: |
michael@0 | 32 | EXPORTS += ['VorbisTrackEncoder.h', |
michael@0 | 33 | 'VP8TrackEncoder.h', |
michael@0 | 34 | ] |
michael@0 | 35 | UNIFIED_SOURCES += ['VorbisTrackEncoder.cpp', |
michael@0 | 36 | 'VP8TrackEncoder.cpp', |
michael@0 | 37 | ] |
michael@0 | 38 | LOCAL_INCLUDES += ['/media/libyuv/include'] |
michael@0 | 39 | |
michael@0 | 40 | FAIL_ON_WARNINGS = True |
michael@0 | 41 | |
michael@0 | 42 | FINAL_LIBRARY = 'gklayout' |
michael@0 | 43 | |
michael@0 | 44 | # These includes are from Android JB, for use of MediaCodec. |
michael@0 | 45 | LOCAL_INCLUDES += ['/ipc/chromium/src'] |
michael@0 | 46 | CXXFLAGS += [ |
michael@0 | 47 | '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [ |
michael@0 | 48 | 'frameworks/native/opengl/include', |
michael@0 | 49 | 'frameworks/native/include', |
michael@0 | 50 | 'frameworks/av/include/media', |
michael@0 | 51 | ] |
michael@0 | 52 | ] |
michael@0 | 53 | |
michael@0 | 54 | include('/ipc/chromium/chromium-config.mozbuild') |