moz.build 886 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. TEST_DIRS += ['test']
  6. XPIDL_SOURCES += [
  7. 'nsIChromeRegistry.idl',
  8. 'nsIToolkitChromeRegistry.idl',
  9. ]
  10. XPIDL_MODULE = 'chrome'
  11. EXPORTS.mozilla.chrome += [
  12. 'RegistryMessageUtils.h',
  13. ]
  14. SOURCES += [
  15. 'nsChromeProtocolHandler.cpp',
  16. 'nsChromeRegistry.cpp',
  17. 'nsChromeRegistryChrome.cpp',
  18. 'nsChromeRegistryContent.cpp',
  19. ]
  20. include('/ipc/chromium/chromium-config.mozbuild')
  21. FINAL_LIBRARY = 'xul'
  22. LOCAL_INCLUDES += [
  23. '!/xpcom',
  24. '/dom/base',
  25. '/netwerk/base',
  26. '/netwerk/protocol/res',
  27. '/xpcom/components'
  28. ]
  29. if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
  30. CXXFLAGS += CONFIG['TK_CFLAGS']