gecko/testing/gtest/Makefile.in
2013-02-22 16:13:43 -05:00

95 lines
2.8 KiB
Makefile

# 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/.
# Avoid recursive make to avoid having to add files to the gtest/ subdirectory
# (which is third-party code), and to make the build faster.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = \
$(srcdir) \
$(srcdir)/gtest/src \
$(srcdir)/mozilla \
$(srcdir)/gmock/src \
$(NULL)
include $(DEPTH)/config/autoconf.mk
MODULE = gtest
MODULE_NAME = gtest
LIBRARY_NAME = gtest
EXPORT_LIBRARY = 1
LIBXUL_LIBRARY = 1
IS_COMPONENT = 1
CPPSRCS = \
gmock-all.cc \
gtest-all.cc \
GTestRunner.cpp \
$(NULL)
GTEST_CPPSRCS = \
SanityTest.cpp \
$(NULL)
EXPORTS_NAMESPACES = gtest gtest/internal gmock gmock/internal
EXPORTS_gtest = \
gtest/include/gtest/gtest-death-test.h \
gtest/include/gtest/gtest-message.h \
gtest/include/gtest/gtest-param-test.h \
gtest/include/gtest/gtest-printers.h \
gtest/include/gtest/gtest-spi.h \
gtest/include/gtest/gtest-test-part.h \
gtest/include/gtest/gtest-typed-test.h \
gtest/include/gtest/gtest.h \
gtest/include/gtest/gtest_pred_impl.h \
gtest/include/gtest/gtest_prod.h \
$(NULL)
# GTest internal are exposed in gtest.h. See comment in gtest.h
EXPORTS_gtest/internal = \
gtest/include/gtest/internal/gtest-death-test-internal.h \
gtest/include/gtest/internal/gtest-filepath.h \
gtest/include/gtest/internal/gtest-internal.h \
gtest/include/gtest/internal/gtest-linked_ptr.h \
gtest/include/gtest/internal/gtest-param-util-generated.h \
gtest/include/gtest/internal/gtest-param-util.h \
gtest/include/gtest/internal/gtest-port.h \
gtest/include/gtest/internal/gtest-string.h \
gtest/include/gtest/internal/gtest-tuple.h \
gtest/include/gtest/internal/gtest-type-util.h \
$(NULL)
EXPORTS_gmock = \
gmock/include/gmock/gmock-actions.h \
gmock/include/gmock/gmock-cardinalities.h \
gmock/include/gmock/gmock-generated-actions.h \
gmock/include/gmock/gmock-generated-function-mockers.h \
gmock/include/gmock/gmock-generated-matchers.h \
gmock/include/gmock/gmock-generated-nice-strict.h \
gmock/include/gmock/gmock-matchers.h \
gmock/include/gmock/gmock-more-actions.h \
gmock/include/gmock/gmock-spec-builders.h \
gmock/include/gmock/gmock.h \
$(NULL)
# gmock also includes internal interfaces in it's public header
EXPORTS_gmock/internal = \
gmock/include/gmock/internal/gmock-generated-internal-utils.h \
gmock/include/gmock/internal/gmock-internal-utils.h \
gmock/include/gmock/internal/gmock-port.h \
$(NULL)
LOCAL_INCLUDES += \
-I$(srcdir)/gtest \
-I$(srcdir)/gtest/include \
-I$(srcdir)/gmock \
-I$(srcdir)/gmock/include \
$(NULL)
include $(topsrcdir)/config/rules.mk