moz.build 905 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. UNIFIED_SOURCES += [
  6. 'CPOWTimer.cpp',
  7. 'JavaScriptChild.cpp',
  8. 'JavaScriptParent.cpp',
  9. 'JavaScriptShared.cpp',
  10. 'WrapperAnswer.cpp',
  11. 'WrapperOwner.cpp',
  12. ]
  13. IPDL_SOURCES += [
  14. 'JavaScriptTypes.ipdlh',
  15. 'PJavaScript.ipdl',
  16. ]
  17. include('/ipc/chromium/chromium-config.mozbuild')
  18. FINAL_LIBRARY = 'xul'
  19. DEFINES['BIN_SUFFIX'] = '"%s"' % CONFIG['BIN_SUFFIX']
  20. EXPORTS.mozilla.jsipc = [
  21. 'CpowHolder.h',
  22. 'CrossProcessObjectWrappers.h',
  23. ]
  24. LOCAL_INCLUDES += [
  25. '/dom/base',
  26. '/js/ipc',
  27. '/js/src',
  28. '/js/xpconnect/src',
  29. '/js/xpconnect/wrappers',
  30. ]
  31. if CONFIG['GNU_CXX']:
  32. CXXFLAGS += ['-Wno-shadow']