mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 02:35:41 +00:00
cb88585788
--HG-- extra : rebase_source : daf7c38dee86adf07c6d87632a18af60e0eb4f0d
48 lines
1.4 KiB
Python
48 lines
1.4 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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 += [
|
|
'IMediaResourceManagerClient.h',
|
|
'IMediaResourceManagerDeathNotifier.h',
|
|
'IMediaResourceManagerService.h',
|
|
'MediaResourceHandler.h',
|
|
'MediaResourceManagerClient.h',
|
|
'MediaResourceManagerService.h',
|
|
]
|
|
|
|
SOURCES += [
|
|
'IMediaResourceManagerClient.cpp',
|
|
'IMediaResourceManagerDeathNotifier.cpp',
|
|
'IMediaResourceManagerService.cpp',
|
|
'MediaResourceHandler.cpp',
|
|
'MediaResourceManagerClient.cpp',
|
|
'MediaResourceManagerService.cpp',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
# Suppress some GCC/clang warnings being treated as errors:
|
|
# - about multi-character constants which are used in codec-related code
|
|
if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:
|
|
CXXFLAGS += [
|
|
'-Wno-error=multichar'
|
|
]
|
|
|
|
CXXFLAGS += [
|
|
'-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
|
|
'frameworks/base/include',
|
|
'frameworks/base/include/binder',
|
|
'frameworks/base/include/utils',
|
|
'frameworks/base/include/media/',
|
|
'frameworks/base/include/media/stagefright/openmax',
|
|
'frameworks/base/media/libstagefright/include',
|
|
]
|
|
]
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
FAIL_ON_WARNINGS = True
|