moz.build 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 += [
  6. 'nsContentDLF.h',
  7. 'nsLayoutCID.h',
  8. 'nsLayoutStatics.h',
  9. ]
  10. SOURCES += [
  11. 'nsContentDLF.cpp',
  12. 'nsLayoutModule.cpp',
  13. 'nsLayoutStatics.cpp',
  14. ]
  15. include('/ipc/chromium/chromium-config.mozbuild')
  16. LOCAL_INCLUDES += [
  17. '../base',
  18. '../forms',
  19. '../generic',
  20. '../inspector',
  21. '../mathml',
  22. '../style',
  23. '../tables',
  24. '../xul',
  25. '/caps',
  26. '/docshell/base',
  27. '/dom/audiochannel',
  28. '/dom/base',
  29. '/dom/bindings',
  30. '/dom/canvas',
  31. '/dom/filesystem',
  32. '/dom/geolocation',
  33. '/dom/html',
  34. '/dom/json',
  35. '/dom/jsurl',
  36. '/dom/media',
  37. '/dom/offline',
  38. '/dom/storage',
  39. '/dom/svg',
  40. '/dom/xbl',
  41. '/dom/xslt/base',
  42. '/dom/xslt/xml',
  43. '/dom/xslt/xpath',
  44. '/dom/xslt/xslt',
  45. '/dom/xul',
  46. '/dom/xul/templates',
  47. '/editor/composer',
  48. '/editor/txmgr',
  49. '/editor/txtsvc',
  50. '/extensions/cookie',
  51. '/js/xpconnect/loader',
  52. '/js/xpconnect/src',
  53. '/netwerk/base',
  54. '/netwerk/cookie',
  55. '/view',
  56. ]
  57. if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
  58. LOCAL_INCLUDES += [
  59. '/dom/system/windows',
  60. ]
  61. elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
  62. LOCAL_INCLUDES += [
  63. '/widget/gtk',
  64. ]
  65. if CONFIG['MOZ_WEBSPEECH']:
  66. LOCAL_INCLUDES += [
  67. '/dom/media/webspeech/synth',
  68. ]
  69. if CONFIG['MOZ_SECUREELEMENT']:
  70. LOCAL_INCLUDES += [
  71. '/dom/secureelement',
  72. ]
  73. FINAL_LIBRARY = 'xul'
  74. if CONFIG['GNU_CXX']:
  75. CXXFLAGS += ['-Wno-error=shadow']