michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS += [ michael@0: 'AudioOffloadPlayerBase.h', michael@0: 'MediaOmxDecoder.h', michael@0: 'MediaOmxReader.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'MediaOmxDecoder.cpp', michael@0: 'MediaOmxReader.cpp', michael@0: 'OMXCodecProxy.cpp', michael@0: 'OmxDecoder.cpp', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_AUDIO_OFFLOAD']: michael@0: EXPORTS += [ michael@0: 'AudioOffloadPlayer.h', michael@0: 'AudioOutput.h', michael@0: 'AudioSink.h', michael@0: ] michael@0: SOURCES += [ michael@0: 'AudioOffloadPlayer.cpp', michael@0: 'AudioOutput.cpp', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_OMX_ENCODER']: michael@0: EXPORTS += [ michael@0: 'OMXCodecWrapper.h', michael@0: ] michael@0: SOURCES += [ michael@0: 'OMXCodecDescriptorUtil.cpp', michael@0: 'OMXCodecWrapper.cpp', michael@0: ] michael@0: michael@0: if 'rtsp' in CONFIG['NECKO_PROTOCOLS']: michael@0: EXPORTS += [ michael@0: 'RtspOmxDecoder.h', michael@0: 'RtspOmxReader.h', michael@0: ] michael@0: SOURCES += [ michael@0: 'RtspOmxDecoder.cpp', michael@0: 'RtspOmxReader.cpp', michael@0: ] michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout' michael@0: LOCAL_INCLUDES += [ michael@0: '/content/base/src', michael@0: '/content/html/content/src', michael@0: '/ipc/chromium/src', michael@0: 'mediaresourcemanager', michael@0: ] michael@0: michael@0: CXXFLAGS += [ michael@0: '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [ michael@0: 'dalvik/libnativehelper/include/nativehelper', michael@0: 'frameworks/av/include/media', michael@0: 'frameworks/base/include', michael@0: 'frameworks/base/include/binder', michael@0: 'frameworks/base/include/utils', michael@0: 'frameworks/base/include/media', michael@0: 'frameworks/base/include/media/stagefright/openmax', michael@0: 'frameworks/base/media/libstagefright/include', michael@0: 'frameworks/native/opengl/include', michael@0: 'frameworks/native/include', michael@0: 'hardware/libhardware/include/', michael@0: ] michael@0: ] michael@0: