moz.build 840 B

12345678910111213141516171819202122232425262728293031323334353637
  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.ipc += [
  6. 'TestShellChild.h',
  7. 'TestShellParent.h',
  8. 'XPCShellEnvironment.h',
  9. ]
  10. XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
  11. SOURCES += [
  12. 'TestShellChild.cpp',
  13. 'TestShellParent.cpp',
  14. 'XPCShellEnvironment.cpp',
  15. ]
  16. IPDL_SOURCES = [
  17. 'PTestShell.ipdl',
  18. 'PTestShellCommand.ipdl',
  19. ]
  20. include('/ipc/chromium/chromium-config.mozbuild')
  21. FINAL_LIBRARY = 'xul'
  22. # For xpcshell error messages and nsAutoJSString
  23. LOCAL_INCLUDES += [
  24. '/dom/base',
  25. '/js/xpconnect/src',
  26. ]
  27. if CONFIG['GNU_CXX']:
  28. CXXFLAGS += ['-Wno-error=shadow']