michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS.gtest += [ michael@0: 'gtest/include/gtest/gtest-death-test.h', michael@0: 'gtest/include/gtest/gtest-message.h', michael@0: 'gtest/include/gtest/gtest-param-test.h', michael@0: 'gtest/include/gtest/gtest-printers.h', michael@0: 'gtest/include/gtest/gtest-spi.h', michael@0: 'gtest/include/gtest/gtest-test-part.h', michael@0: 'gtest/include/gtest/gtest-typed-test.h', michael@0: 'gtest/include/gtest/gtest.h', michael@0: 'gtest/include/gtest/gtest_pred_impl.h', michael@0: 'gtest/include/gtest/gtest_prod.h', michael@0: ] michael@0: michael@0: # GTest internal are exposed in gtest.h. See comment in gtest.h michael@0: EXPORTS.gtest.internal += [ michael@0: 'gtest/include/gtest/internal/gtest-death-test-internal.h', michael@0: 'gtest/include/gtest/internal/gtest-filepath.h', michael@0: 'gtest/include/gtest/internal/gtest-internal.h', michael@0: 'gtest/include/gtest/internal/gtest-linked_ptr.h', michael@0: 'gtest/include/gtest/internal/gtest-param-util-generated.h', michael@0: 'gtest/include/gtest/internal/gtest-param-util.h', michael@0: 'gtest/include/gtest/internal/gtest-port.h', michael@0: 'gtest/include/gtest/internal/gtest-string.h', michael@0: 'gtest/include/gtest/internal/gtest-tuple.h', michael@0: 'gtest/include/gtest/internal/gtest-type-util.h', michael@0: ] michael@0: michael@0: EXPORTS.gmock += [ michael@0: 'gmock/include/gmock/gmock-actions.h', michael@0: 'gmock/include/gmock/gmock-cardinalities.h', michael@0: 'gmock/include/gmock/gmock-generated-actions.h', michael@0: 'gmock/include/gmock/gmock-generated-function-mockers.h', michael@0: 'gmock/include/gmock/gmock-generated-matchers.h', michael@0: 'gmock/include/gmock/gmock-generated-nice-strict.h', michael@0: 'gmock/include/gmock/gmock-matchers.h', michael@0: 'gmock/include/gmock/gmock-more-actions.h', michael@0: 'gmock/include/gmock/gmock-spec-builders.h', michael@0: 'gmock/include/gmock/gmock.h', michael@0: ] michael@0: michael@0: # gmock also includes internal interfaces in it's public header michael@0: EXPORTS.gmock.internal += [ michael@0: 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', michael@0: 'gmock/include/gmock/internal/gmock-internal-utils.h', michael@0: 'gmock/include/gmock/internal/gmock-port.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'gmock/src/gmock-all.cc', michael@0: 'gtest/src/gtest-all.cc', michael@0: 'mozilla/GTestRunner.cpp', michael@0: ] michael@0: michael@0: LIBRARY_NAME = 'gtest' michael@0: michael@0: SOURCES += [ michael@0: 'mozilla/SanityTest.cpp', michael@0: ] michael@0: michael@0: EXPORT_LIBRARY = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: 'gmock', michael@0: 'gmock/include', michael@0: 'gtest', michael@0: 'gtest/include', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'xul-gtest'