moz.build 648 B

12345678910111213141516171819202122232425
  1. # -*- Mode: python; c-basic-offset: 4; 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.kiss_fft += [
  6. 'kiss_fft.h',
  7. 'kiss_fftr.h',
  8. ]
  9. SOURCES += [
  10. 'kiss_fft.c',
  11. 'kiss_fftr.c',
  12. ]
  13. # kiss_fft causes OOM error with some 32bit versions of GCC when using -O2
  14. if '64' not in CONFIG['OS_TEST']:
  15. if CONFIG['GNU_CC']:
  16. CFLAGS += ['-O1']
  17. if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
  18. NO_VISIBILITY_FLAGS = True
  19. FINAL_LIBRARY = 'xul'