1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/testing/gtest/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,75 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +EXPORTS.gtest += [ 1.11 + 'gtest/include/gtest/gtest-death-test.h', 1.12 + 'gtest/include/gtest/gtest-message.h', 1.13 + 'gtest/include/gtest/gtest-param-test.h', 1.14 + 'gtest/include/gtest/gtest-printers.h', 1.15 + 'gtest/include/gtest/gtest-spi.h', 1.16 + 'gtest/include/gtest/gtest-test-part.h', 1.17 + 'gtest/include/gtest/gtest-typed-test.h', 1.18 + 'gtest/include/gtest/gtest.h', 1.19 + 'gtest/include/gtest/gtest_pred_impl.h', 1.20 + 'gtest/include/gtest/gtest_prod.h', 1.21 +] 1.22 + 1.23 +# GTest internal are exposed in gtest.h. See comment in gtest.h 1.24 +EXPORTS.gtest.internal += [ 1.25 + 'gtest/include/gtest/internal/gtest-death-test-internal.h', 1.26 + 'gtest/include/gtest/internal/gtest-filepath.h', 1.27 + 'gtest/include/gtest/internal/gtest-internal.h', 1.28 + 'gtest/include/gtest/internal/gtest-linked_ptr.h', 1.29 + 'gtest/include/gtest/internal/gtest-param-util-generated.h', 1.30 + 'gtest/include/gtest/internal/gtest-param-util.h', 1.31 + 'gtest/include/gtest/internal/gtest-port.h', 1.32 + 'gtest/include/gtest/internal/gtest-string.h', 1.33 + 'gtest/include/gtest/internal/gtest-tuple.h', 1.34 + 'gtest/include/gtest/internal/gtest-type-util.h', 1.35 +] 1.36 + 1.37 +EXPORTS.gmock += [ 1.38 + 'gmock/include/gmock/gmock-actions.h', 1.39 + 'gmock/include/gmock/gmock-cardinalities.h', 1.40 + 'gmock/include/gmock/gmock-generated-actions.h', 1.41 + 'gmock/include/gmock/gmock-generated-function-mockers.h', 1.42 + 'gmock/include/gmock/gmock-generated-matchers.h', 1.43 + 'gmock/include/gmock/gmock-generated-nice-strict.h', 1.44 + 'gmock/include/gmock/gmock-matchers.h', 1.45 + 'gmock/include/gmock/gmock-more-actions.h', 1.46 + 'gmock/include/gmock/gmock-spec-builders.h', 1.47 + 'gmock/include/gmock/gmock.h', 1.48 +] 1.49 + 1.50 +# gmock also includes internal interfaces in it's public header 1.51 +EXPORTS.gmock.internal += [ 1.52 + 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', 1.53 + 'gmock/include/gmock/internal/gmock-internal-utils.h', 1.54 + 'gmock/include/gmock/internal/gmock-port.h', 1.55 +] 1.56 + 1.57 +SOURCES += [ 1.58 + 'gmock/src/gmock-all.cc', 1.59 + 'gtest/src/gtest-all.cc', 1.60 + 'mozilla/GTestRunner.cpp', 1.61 +] 1.62 + 1.63 +LIBRARY_NAME = 'gtest' 1.64 + 1.65 +SOURCES += [ 1.66 + 'mozilla/SanityTest.cpp', 1.67 +] 1.68 + 1.69 +EXPORT_LIBRARY = True 1.70 + 1.71 +LOCAL_INCLUDES += [ 1.72 + 'gmock', 1.73 + 'gmock/include', 1.74 + 'gtest', 1.75 + 'gtest/include', 1.76 +] 1.77 + 1.78 +FINAL_LIBRARY = 'xul-gtest'