testing/gtest/moz.build

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 EXPORTS.gtest += [
michael@0 8 'gtest/include/gtest/gtest-death-test.h',
michael@0 9 'gtest/include/gtest/gtest-message.h',
michael@0 10 'gtest/include/gtest/gtest-param-test.h',
michael@0 11 'gtest/include/gtest/gtest-printers.h',
michael@0 12 'gtest/include/gtest/gtest-spi.h',
michael@0 13 'gtest/include/gtest/gtest-test-part.h',
michael@0 14 'gtest/include/gtest/gtest-typed-test.h',
michael@0 15 'gtest/include/gtest/gtest.h',
michael@0 16 'gtest/include/gtest/gtest_pred_impl.h',
michael@0 17 'gtest/include/gtest/gtest_prod.h',
michael@0 18 ]
michael@0 19
michael@0 20 # GTest internal are exposed in gtest.h. See comment in gtest.h
michael@0 21 EXPORTS.gtest.internal += [
michael@0 22 'gtest/include/gtest/internal/gtest-death-test-internal.h',
michael@0 23 'gtest/include/gtest/internal/gtest-filepath.h',
michael@0 24 'gtest/include/gtest/internal/gtest-internal.h',
michael@0 25 'gtest/include/gtest/internal/gtest-linked_ptr.h',
michael@0 26 'gtest/include/gtest/internal/gtest-param-util-generated.h',
michael@0 27 'gtest/include/gtest/internal/gtest-param-util.h',
michael@0 28 'gtest/include/gtest/internal/gtest-port.h',
michael@0 29 'gtest/include/gtest/internal/gtest-string.h',
michael@0 30 'gtest/include/gtest/internal/gtest-tuple.h',
michael@0 31 'gtest/include/gtest/internal/gtest-type-util.h',
michael@0 32 ]
michael@0 33
michael@0 34 EXPORTS.gmock += [
michael@0 35 'gmock/include/gmock/gmock-actions.h',
michael@0 36 'gmock/include/gmock/gmock-cardinalities.h',
michael@0 37 'gmock/include/gmock/gmock-generated-actions.h',
michael@0 38 'gmock/include/gmock/gmock-generated-function-mockers.h',
michael@0 39 'gmock/include/gmock/gmock-generated-matchers.h',
michael@0 40 'gmock/include/gmock/gmock-generated-nice-strict.h',
michael@0 41 'gmock/include/gmock/gmock-matchers.h',
michael@0 42 'gmock/include/gmock/gmock-more-actions.h',
michael@0 43 'gmock/include/gmock/gmock-spec-builders.h',
michael@0 44 'gmock/include/gmock/gmock.h',
michael@0 45 ]
michael@0 46
michael@0 47 # gmock also includes internal interfaces in it's public header
michael@0 48 EXPORTS.gmock.internal += [
michael@0 49 'gmock/include/gmock/internal/gmock-generated-internal-utils.h',
michael@0 50 'gmock/include/gmock/internal/gmock-internal-utils.h',
michael@0 51 'gmock/include/gmock/internal/gmock-port.h',
michael@0 52 ]
michael@0 53
michael@0 54 SOURCES += [
michael@0 55 'gmock/src/gmock-all.cc',
michael@0 56 'gtest/src/gtest-all.cc',
michael@0 57 'mozilla/GTestRunner.cpp',
michael@0 58 ]
michael@0 59
michael@0 60 LIBRARY_NAME = 'gtest'
michael@0 61
michael@0 62 SOURCES += [
michael@0 63 'mozilla/SanityTest.cpp',
michael@0 64 ]
michael@0 65
michael@0 66 EXPORT_LIBRARY = True
michael@0 67
michael@0 68 LOCAL_INCLUDES += [
michael@0 69 'gmock',
michael@0 70 'gmock/include',
michael@0 71 'gtest',
michael@0 72 'gtest/include',
michael@0 73 ]
michael@0 74
michael@0 75 FINAL_LIBRARY = 'xul-gtest'

mercurial