moz.build 970 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. IPDL_SOURCES += [
  6. 'gecko/ProfilerTypes.ipdlh',
  7. ]
  8. include('/ipc/chromium/chromium-config.mozbuild')
  9. EXPORTS += [
  10. 'public/GeckoProfiler.h',
  11. ]
  12. if CONFIG['MOZ_TASK_TRACER']:
  13. EXPORTS += [
  14. 'tasktracer/GeckoTaskTracer.h',
  15. 'tasktracer/GeckoTaskTracerImpl.h',
  16. 'tasktracer/TracedTaskCommon.h',
  17. ]
  18. UNIFIED_SOURCES += [
  19. 'tasktracer/GeckoTaskTracer.cpp',
  20. 'tasktracer/TracedTaskCommon.cpp',
  21. ]
  22. XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
  23. if CONFIG['GNU_CXX']:
  24. CXXFLAGS += [
  25. '-Wno-error=shadow',
  26. '-Wno-ignored-qualifiers', # due to use of breakpad headers
  27. ]
  28. with Files('**'):
  29. BUG_COMPONENT = ('Core', 'Gecko Profiler')