gecko/dom/nfc/moz.build
Yoshi Huang aeb9d94711 Bug 1110059 - IDL for NFC system message. r=dimi
From 774da50e697c2d194146d1f0ff748aa6f31fe8dc Mon Sep 17 00:00:00 2001
---
 dom/nfc/gonk/Nfc.js                  | 36 ++++++++++++++++++++++++++++++++++--
 dom/nfc/gonk/nsINfcSystemMessage.idl | 25 +++++++++++++++++++++++++
 dom/nfc/moz.build                    |  1 +
 3 files changed, 60 insertions(+), 2 deletions(-)
 create mode 100644 dom/nfc/gonk/nsINfcSystemMessage.idl
2014-12-11 18:53:27 +08:00

52 lines
1.3 KiB
Python

# 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.
XPIDL_MODULE = 'dom_nfc'
if CONFIG['MOZ_NFC']:
XPIDL_SOURCES += [
'nsINfcContentHelper.idl',
]
EXPORTS.mozilla.dom += [
'MozNDEFRecord.h',
]
UNIFIED_SOURCES += [
'MozNDEFRecord.cpp',
]
EXTRA_COMPONENTS += [
'NfcContentHelper.js',
'nsNfc.js',
'nsNfc.manifest',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_NFC']:
UNIFIED_SOURCES += [
'gonk/NfcMessageHandler.cpp',
'gonk/NfcService.cpp',
]
XPIDL_SOURCES += [
'gonk/nsINfcService.idl',
'gonk/nsINfcSystemMessage.idl',
]
EXTRA_COMPONENTS += [
'gonk/Nfc.js',
'gonk/Nfc.manifest',
'messages/HCIEventTransactionSystemMessage.manifest',
'messages/HCIEventTransactionSystemMessageConfigurator.js',
]
EXTRA_JS_MODULES += [
'gonk/nfc_consts.js',
]
XPCSHELL_TESTS_MANIFESTS += [
'tests/unit/xpcshell.ini'
]
FAIL_ON_WARNINGS = True
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'