mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
581bf9fd48
We need to not build Widevine by default, and when enabled we will need to be able to ifdef on MOZ_WIDEVINE_EME (see next patch) so that we can not build the code on platforms where it can't possibly work (Android specifcally, as Widevine isn't available as a Chromium plugin there). MozReview-Commit-ID: Avgz5NRcl9v
48 lines
1.2 KiB
Python
48 lines
1.2 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/.
|
|
|
|
for cdm in CONFIG['MOZ_EME_MODULES']:
|
|
DEFINES['MOZ_%s_EME' % cdm.upper()] = True
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'MediaEncryptedEvent.h',
|
|
'MediaKeyError.h',
|
|
'MediaKeyMessageEvent.h',
|
|
'MediaKeys.h',
|
|
'MediaKeySession.h',
|
|
'MediaKeyStatusMap.h',
|
|
'MediaKeySystemAccess.h',
|
|
'MediaKeySystemAccessManager.h',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'CDMCallbackProxy.h',
|
|
'CDMCaps.h',
|
|
'CDMProxy.h',
|
|
'DetailedPromise.h',
|
|
'EMEUtils.h',
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
'CDMCallbackProxy.cpp',
|
|
'CDMCaps.cpp',
|
|
'CDMProxy.cpp',
|
|
'DetailedPromise.cpp',
|
|
'EMEUtils.cpp',
|
|
'MediaEncryptedEvent.cpp',
|
|
'MediaKeyError.cpp',
|
|
'MediaKeyMessageEvent.cpp',
|
|
'MediaKeys.cpp',
|
|
'MediaKeySession.cpp',
|
|
'MediaKeyStatusMap.cpp',
|
|
'MediaKeySystemAccess.cpp',
|
|
'MediaKeySystemAccessManager.cpp',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|