addon-sdk/Makefile.in
author Karl Tomlinson <karlt+@karlt.net>
Wed, 02 Jul 2014 20:22:45 +1200
changeset 192471 0f1cea1a1a952c84d2a5758dbf9efc3ee6fe5dfc
parent 183843 5acdf68ae43d959d5032e057f9b86391a553a916
child 204679 1a6883cb1a09a291fae072e219f86f53f41c05e5
permissions -rw-r--r--
b=1033140 make speex_resampler declarations consistent with OUTSIDE_SPEEX implementation r=padenot Instead of defining OUTSIDE_SPEEX and RANDOM_PREFIX everywhere speex_resampler.h is included, it is easier to patch the header. Symbol names in gkmedias symbols.def are updated now that RANDOM_PREFIX is taking effect, and unused symbols are no longer exported.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

include $(topsrcdir)/config/config.mk

ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
MOZ_B2G=1
else
MOZ_B2G=0
endif

libs::
	$(PYTHON) $(srcdir)/copy_source.py $(topsrcdir) $(srcdir)/source/lib $(FINAL_TARGET)/modules/commonjs $(MOZ_B2G) >copy_source.mk
	$(MAKE) -f copy_source.mk libs

include $(topsrcdir)/config/rules.mk

TEST_FILES = \
  source/app-extension \
  source/bin \
  source/python-lib \
  source/test \
  source/package.json \
  source/mapping.json \
  $(NULL)

# Remove this once the test harness uses the APIs built into Firefox
TEST_FILES += source/lib

PKG_STAGE = $(DIST)/test-stage

stage-tests-package:: $(TEST_FILES)
	$(INSTALL) $^ $(PKG_STAGE)/jetpack