mfbt/tests/Makefile.in
author Boris Zbarsky <bzbarsky@mit.edu>
Mon, 05 Nov 2012 10:20:04 -0500
changeset 112308 0b9b3b2b89712b7f256dd76c5b55719a15dc0dd8
parent 111662 93bfd0a08a3592403ce12b7157d4e87bf34fb185
child 112488 40a702087f7d20d967aeff97c9e3de533b9063ba
permissions -rw-r--r--
Bug 807222 part 3. Make sure we enter the right compartment before we try to define interface constants on a constructor. r=bholley

# 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/.

DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

STL_FLAGS =

CPP_UNIT_TESTS = \
  TestBloomFilter.cpp \
  TestCheckedInt.cpp \
  TestSHA1.cpp \
  TestTypeTraits.cpp \
  TestWeakPtr.cpp \
  $(NULL)

# in order to prevent rules.mk from trying to link to libraries that are
# not available to MFBT, we have to reset these MOZ_GLUE*_LDFLAGS before including it
# and LIBS_ after including it. For WRAP_LDFLAGS, it shouldn't matter.
# See later comments in bug 732875.

MOZ_GLUE_PROGRAM_LDFLAGS=
MOZ_GLUE_LDFLAGS =
WRAP_LDFLAGS=

# Since we link directly with MFBT object files, define IMPL_MFBT
DEFINES += -DIMPL_MFBT

include $(topsrcdir)/config/rules.mk

LIBS= $(call EXPAND_LIBNAME_PATH,mfbt,$(DEPTH)/mfbt)