moz.build 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. EXPORTS.mozilla += [
  6. 'BrowserElementParent.h',
  7. ]
  8. EXPORTS.mozilla.dom += [
  9. 'BrowserElementAudioChannel.h',
  10. ]
  11. SOURCES += [
  12. 'BrowserElementAudioChannel.cpp',
  13. 'BrowserElementParent.cpp',
  14. ]
  15. XPIDL_SOURCES += [
  16. 'nsIBrowserElementAPI.idl',
  17. ]
  18. XPIDL_MODULE = 'browser-element'
  19. EXTRA_COMPONENTS += [
  20. 'BrowserElementParent.js',
  21. 'BrowserElementParent.manifest',
  22. 'BrowserElementProxy.js',
  23. 'BrowserElementProxy.manifest',
  24. ]
  25. EXTRA_JS_MODULES += [
  26. 'BrowserElementPromptService.jsm',
  27. ]
  28. LOCAL_INCLUDES += [
  29. '/dom/html',
  30. ]
  31. include('/ipc/chromium/chromium-config.mozbuild')
  32. FINAL_LIBRARY = 'xul'
  33. LOCAL_INCLUDES += [
  34. '/dom/',
  35. '/dom/base',
  36. '/dom/ipc',
  37. ]
  38. MOCHITEST_MANIFESTS += [
  39. 'mochitest/mochitest-oop.ini',
  40. 'mochitest/mochitest.ini',
  41. 'mochitest/priority/mochitest.ini',
  42. ]
  43. MOCHITEST_CHROME_MANIFESTS += [
  44. 'mochitest/chrome.ini',
  45. 'mochitest/priority/chrome.ini',
  46. ]