moz.build (4798B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 # !!! THIS FILE IS AUTOGENERATED USING gen_moz_build.py DO NOT EDIT !!! 8 9 with Files("**"): 10 BUG_COMPONENT = ("Testing", "GTest") 11 SCHEDULES.exclusive = ["gtest"] 12 13 if CONFIG["ENABLE_TESTS"]: 14 15 EXPORTS.gtest.internal += [ 16 "googletest/include/gtest/internal/gtest-death-test-internal.h", 17 "googletest/include/gtest/internal/gtest-filepath.h", 18 "googletest/include/gtest/internal/gtest-internal.h", 19 "googletest/include/gtest/internal/gtest-param-util.h", 20 "googletest/include/gtest/internal/gtest-port-arch.h", 21 "googletest/include/gtest/internal/gtest-port.h", 22 "googletest/include/gtest/internal/gtest-string.h", 23 "googletest/include/gtest/internal/gtest-type-util.h", 24 ] 25 EXPORTS.gtest += [ 26 "googletest/include/gtest/gtest-assertion-result.h", 27 "googletest/include/gtest/gtest-death-test.h", 28 "googletest/include/gtest/gtest-matchers.h", 29 "googletest/include/gtest/gtest-message.h", 30 "googletest/include/gtest/gtest-param-test.h", 31 "googletest/include/gtest/gtest-printers.h", 32 "googletest/include/gtest/gtest-spi.h", 33 "googletest/include/gtest/gtest-test-part.h", 34 "googletest/include/gtest/gtest-typed-test.h", 35 "googletest/include/gtest/gtest.h", 36 "googletest/include/gtest/gtest_pred_impl.h", 37 "googletest/include/gtest/gtest_prod.h", 38 ] 39 40 EXPORTS.gmock.internal += [ 41 "googlemock/include/gmock/internal/gmock-internal-utils.h", 42 "googlemock/include/gmock/internal/gmock-port.h", 43 "googlemock/include/gmock/internal/gmock-pp.h", 44 ] 45 EXPORTS.gmock += [ 46 "googlemock/include/gmock/gmock-actions.h", 47 "googlemock/include/gmock/gmock-cardinalities.h", 48 "googlemock/include/gmock/gmock-function-mocker.h", 49 "googlemock/include/gmock/gmock-matchers.h", 50 "googlemock/include/gmock/gmock-more-actions.h", 51 "googlemock/include/gmock/gmock-more-matchers.h", 52 "googlemock/include/gmock/gmock-nice-strict.h", 53 "googlemock/include/gmock/gmock-spec-builders.h", 54 "googlemock/include/gmock/gmock.h", 55 ] 56 57 EXPORTS.testing.gtest.include.gtest.internal += [ 58 "googletest/include/gtest/internal/gtest-death-test-internal.h", 59 "googletest/include/gtest/internal/gtest-filepath.h", 60 "googletest/include/gtest/internal/gtest-internal.h", 61 "googletest/include/gtest/internal/gtest-param-util.h", 62 "googletest/include/gtest/internal/gtest-port-arch.h", 63 "googletest/include/gtest/internal/gtest-port.h", 64 "googletest/include/gtest/internal/gtest-string.h", 65 "googletest/include/gtest/internal/gtest-type-util.h", 66 ] 67 EXPORTS.testing.gtest.include.gtest += [ 68 "googletest/include/gtest/gtest-assertion-result.h", 69 "googletest/include/gtest/gtest-death-test.h", 70 "googletest/include/gtest/gtest-matchers.h", 71 "googletest/include/gtest/gtest-message.h", 72 "googletest/include/gtest/gtest-param-test.h", 73 "googletest/include/gtest/gtest-printers.h", 74 "googletest/include/gtest/gtest-spi.h", 75 "googletest/include/gtest/gtest-test-part.h", 76 "googletest/include/gtest/gtest-typed-test.h", 77 "googletest/include/gtest/gtest.h", 78 "googletest/include/gtest/gtest_pred_impl.h", 79 "googletest/include/gtest/gtest_prod.h", 80 ] 81 82 EXPORTS.testing.gmock.include.gmock.internal += [ 83 "googlemock/include/gmock/internal/gmock-internal-utils.h", 84 "googlemock/include/gmock/internal/gmock-port.h", 85 "googlemock/include/gmock/internal/gmock-pp.h", 86 ] 87 EXPORTS.testing.gmock.include.gmock += [ 88 "googlemock/include/gmock/gmock-actions.h", 89 "googlemock/include/gmock/gmock-cardinalities.h", 90 "googlemock/include/gmock/gmock-function-mocker.h", 91 "googlemock/include/gmock/gmock-matchers.h", 92 "googlemock/include/gmock/gmock-more-actions.h", 93 "googlemock/include/gmock/gmock-more-matchers.h", 94 "googlemock/include/gmock/gmock-nice-strict.h", 95 "googlemock/include/gmock/gmock-spec-builders.h", 96 "googlemock/include/gmock/gmock.h", 97 ] 98 99 100 SOURCES += [ 101 "googlemock/src/gmock-all.cc", 102 "googletest/src/gtest-all.cc", 103 ] 104 105 Library("gtest") 106 107 LOCAL_INCLUDES += [ 108 "googlemock", 109 "googletest", 110 ] 111 112 if CONFIG["OS_ARCH"] == "WINNT": 113 DEFINES["UNICODE"] = True 114 115 FINAL_LIBRARY = "xul-gtest"