moz.build 814 B

123456789101112131415161718192021222324252627282930313233343536
  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.dom += [
  6. 'Promise.h',
  7. 'PromiseDebugging.h',
  8. 'PromiseNativeHandler.h',
  9. 'PromiseWorkerProxy.h',
  10. ]
  11. SOURCES += [
  12. 'Promise.cpp',
  13. 'PromiseDebugging.cpp',
  14. ]
  15. LOCAL_INCLUDES += [
  16. '../base',
  17. '../ipc',
  18. '../workers',
  19. ]
  20. include('/ipc/chromium/chromium-config.mozbuild')
  21. FINAL_LIBRARY = 'xul'
  22. MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
  23. MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
  24. XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
  25. if CONFIG['GNU_CXX']:
  26. CXXFLAGS += ['-Wno-error=shadow']