Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit f4f62d0

Browse files
author
Ehsan Akhgari
committed
Bug 855990 - Part 3: Integrate Kiss FFT with the build system; r=glandium
--HG-- extra : rebase_source : 0cad51212a1701fc013420597c59d1bf8a6c7d52
1 parent 50ba909 commit f4f62d0

4 files changed

Lines changed: 33 additions & 0 deletions

File tree

media/kiss_fft/Makefile.in

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4+
5+
DEPTH = @DEPTH@
6+
topsrcdir = @top_srcdir@
7+
srcdir = @srcdir@
8+
VPATH = @srcdir@
9+
10+
include $(DEPTH)/config/autoconf.mk
11+
12+
LIBRARY_NAME = kiss_fft
13+
ifeq (WINNT,$(OS_TARGET))
14+
VISIBILITY_FLAGS =
15+
endif
16+
EXPORTS_NAMESPACES = kiss_fft
17+
18+
EXPORTS_kiss_fft = kiss_fft.h kiss_fftr.h
19+
20+
CSRCS = kiss_fft.c kiss_fftr.c
21+
22+
include $(topsrcdir)/config/rules.mk
23+

media/kiss_fft/moz.build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# vim: set filetype=python:
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+
6+
MODULE = 'kiss_fft'
7+

toolkit/library/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ CPPSRCS += dlldeps-xul.cpp
3737
endif
3838

3939
SHARED_LIBRARY_LIBS += \
40+
$(DEPTH)/media/kiss_fft/$(LIB_PREFIX)kiss_fft.$(LIB_SUFFIX) \
4041
$(DEPTH)/toolkit/components/osfile/$(LIB_PREFIX)osfile_s.$(LIB_SUFFIX) \
4142
$(DEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \
4243
$(NULL)

toolkit/toolkit.mozbuild

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ if CONFIG['MOZ_OMX_PLUGIN']:
124124
if not CONFIG['MOZ_NATIVE_PNG']:
125125
add_tier_dir('platform', 'media/libpng')
126126

127+
add_tier_dir('platform', 'media/kiss_fft')
128+
127129
if CONFIG['ENABLE_TESTS']:
128130
add_tier_dir('platform', 'testing/specialpowers')
129131

0 commit comments

Comments
 (0)