moz.build 825 B

1234567891011121314151617181920212223242526272829
  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. SharedLibrary('logalloc')
  6. SOURCES += [
  7. 'FdPrintf.cpp',
  8. 'LogAlloc.cpp',
  9. ]
  10. DISABLE_STL_WRAPPING = True
  11. USE_STATIC_LIBS = True
  12. DEFINES['MOZ_NO_MOZALLOC'] = True
  13. # Avoid Lock_impl code depending on mozilla::Logger.
  14. DEFINES['NDEBUG'] = True
  15. DEFINES['DEBUG'] = False
  16. # Use locking code from the chromium stack.
  17. if CONFIG['OS_TARGET'] == 'WINNT':
  18. SOURCES += ['../../../ipc/chromium/src/base/lock_impl_win.cc']
  19. else:
  20. SOURCES += ['../../../ipc/chromium/src/base/lock_impl_posix.cc']
  21. include('/ipc/chromium/chromium-config.mozbuild')
  22. DIRS += ['replay']