moz.build 611 B

12345678910111213141516171819
  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. NO_VISIBILITY_FLAGS = True
  6. EXPORTS.mozilla += ['VolatileBuffer.h']
  7. if CONFIG['OS_TARGET'] == 'Darwin':
  8. UNIFIED_SOURCES += ['VolatileBufferOSX.cpp']
  9. elif CONFIG['OS_TARGET'] == 'WINNT':
  10. UNIFIED_SOURCES += ['VolatileBufferWindows.cpp']
  11. else:
  12. UNIFIED_SOURCES += ['VolatileBufferFallback.cpp']
  13. FINAL_LIBRARY = 'xul'
  14. TEST_DIRS += ['tests']