2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2015-12-08 10:27:58 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'OmxDecoderModule.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'OmxDataDecoder.cpp',
|
|
|
|
'OmxDecoderModule.cpp',
|
2016-01-26 17:59:00 +00:00
|
|
|
'OmxPlatformLayer.cpp',
|
2015-12-08 10:27:58 +00:00
|
|
|
'OmxPromiseLayer.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/media/openmax_il/il112',
|
|
|
|
]
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
2016-05-11 07:00:01 +00:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
2016-11-04 13:51:17 +00:00
|
|
|
|
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
# Avoid warnings from third-party code that we can not modify.
|
|
|
|
if CONFIG['CLANG_CL']:
|
|
|
|
CXXFLAGS += ['-Wno-invalid-source-encoding']
|
|
|
|
else:
|
|
|
|
CXXFLAGS += ['-validate-charset-']
|