diff options
Diffstat (limited to 'dom/inputmethod/moz.build')
-rw-r--r-- | dom/inputmethod/moz.build | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dom/inputmethod/moz.build b/dom/inputmethod/moz.build new file mode 100644 index 000000000..504e2ebfc --- /dev/null +++ b/dom/inputmethod/moz.build @@ -0,0 +1,41 @@ +# -*- Mode: python; 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/. + +if CONFIG['MOZ_B2G']: + XPIDL_SOURCES += [ + 'nsIHardwareKeyHandler.idl', + ] + + XPIDL_MODULE = 'inputmethod' + + EXPORTS.mozilla += [ + 'HardwareKeyHandler.h', + ] + + SOURCES += [ + 'HardwareKeyHandler.cpp' + ] + + include('/ipc/chromium/chromium-config.mozbuild') + + FINAL_LIBRARY = 'xul' + LOCAL_INCLUDES += [ + '/dom/base', + '/layout/base', + ] + +EXTRA_COMPONENTS += [ + 'InputMethod.manifest', + 'MozKeyboard.js', +] + +EXTRA_PP_JS_MODULES += [ + 'Keyboard.jsm', +] + +JAR_MANIFESTS += ['jar.mn'] + +MOCHITEST_CHROME_MANIFESTS += ['mochitest/chrome.ini'] |