moz.build 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. DIRS += ['builtin']
  6. EXPORTS += [
  7. 'nsBindingManager.h',
  8. 'nsXBLBinding.h',
  9. 'nsXBLService.h',
  10. ]
  11. EXPORTS.mozilla.dom += [
  12. 'XBLChildrenElement.h',
  13. ]
  14. SOURCES += [
  15. 'nsBindingManager.cpp',
  16. 'nsXBLBinding.cpp',
  17. 'nsXBLContentSink.cpp',
  18. 'nsXBLDocumentInfo.cpp',
  19. 'nsXBLEventHandler.cpp',
  20. 'nsXBLProtoImpl.cpp',
  21. 'nsXBLProtoImplField.cpp',
  22. 'nsXBLProtoImplMethod.cpp',
  23. 'nsXBLProtoImplProperty.cpp',
  24. 'nsXBLPrototypeBinding.cpp',
  25. 'nsXBLPrototypeHandler.cpp',
  26. 'nsXBLPrototypeResources.cpp',
  27. 'nsXBLResourceLoader.cpp',
  28. 'nsXBLSerialize.cpp',
  29. 'nsXBLService.cpp',
  30. 'nsXBLWindowKeyHandler.cpp',
  31. 'XBLChildrenElement.cpp',
  32. ]
  33. LOCAL_INCLUDES += [
  34. '/dom/base',
  35. '/dom/html',
  36. '/dom/xml',
  37. '/dom/xul',
  38. '/layout/style',
  39. ]
  40. FINAL_LIBRARY = 'xul'
  41. MOCHITEST_MANIFESTS += ['test/mochitest.ini']
  42. MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
  43. if CONFIG['GNU_CXX']:
  44. CXXFLAGS += ['-Wno-error=shadow']