2013-11-12 22:11:39 +04: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/.
|
|
|
|
#
|
|
|
|
# Copyright © 2013 Deutsche Telekom, Inc.
|
|
|
|
|
2014-08-01 13:23:14 +04:00
|
|
|
XPIDL_MODULE = 'dom_nfc'
|
|
|
|
|
2013-11-12 22:11:39 +04:00
|
|
|
if CONFIG['MOZ_NFC']:
|
2014-08-01 13:23:14 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsINfcContentHelper.idl',
|
|
|
|
]
|
2013-11-12 22:11:39 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
2015-01-13 09:50:24 +03:00
|
|
|
'MozIsoDepTech.h',
|
2014-01-29 04:20:17 +04:00
|
|
|
'MozNDEFRecord.h',
|
2013-11-12 22:11:39 +04:00
|
|
|
]
|
2014-09-25 18:10:42 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-01-13 09:50:24 +03:00
|
|
|
'MozIsoDepTech.cpp',
|
2014-01-29 04:20:17 +04:00
|
|
|
'MozNDEFRecord.cpp',
|
2013-11-12 22:11:39 +04:00
|
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
2014-08-01 13:23:14 +04:00
|
|
|
'NfcContentHelper.js',
|
2014-12-26 15:41:25 +03:00
|
|
|
'NfcContentHelper.manifest',
|
2014-08-01 13:23:14 +04:00
|
|
|
'nsNfc.js',
|
|
|
|
'nsNfc.manifest',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_NFC']:
|
2014-09-25 18:10:42 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2014-08-01 13:23:14 +04:00
|
|
|
'gonk/NfcMessageHandler.cpp',
|
|
|
|
'gonk/NfcService.cpp',
|
|
|
|
]
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'gonk/nsINfcService.idl',
|
2014-12-11 13:53:27 +03:00
|
|
|
'gonk/nsINfcSystemMessage.idl',
|
2014-08-01 13:23:14 +04:00
|
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'gonk/Nfc.js',
|
|
|
|
'gonk/Nfc.manifest',
|
2014-08-27 16:41:00 +04:00
|
|
|
'messages/HCIEventTransactionSystemMessage.manifest',
|
|
|
|
'messages/HCIEventTransactionSystemMessageConfigurator.js',
|
2014-08-01 13:23:14 +04:00
|
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'gonk/nfc_consts.js',
|
2013-11-12 22:11:39 +04:00
|
|
|
]
|
2014-11-04 11:35:00 +03:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += [
|
|
|
|
'tests/unit/xpcshell.ini'
|
|
|
|
]
|
2013-11-12 22:11:39 +04:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
2014-08-01 13:23:14 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2013-11-12 22:11:39 +04:00
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|