|
1 # -*- Mode: python; c-basic-offset: 4; 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 EXPORTS.gtest += [ |
|
8 'gtest/include/gtest/gtest-death-test.h', |
|
9 'gtest/include/gtest/gtest-message.h', |
|
10 'gtest/include/gtest/gtest-param-test.h', |
|
11 'gtest/include/gtest/gtest-printers.h', |
|
12 'gtest/include/gtest/gtest-spi.h', |
|
13 'gtest/include/gtest/gtest-test-part.h', |
|
14 'gtest/include/gtest/gtest-typed-test.h', |
|
15 'gtest/include/gtest/gtest.h', |
|
16 'gtest/include/gtest/gtest_pred_impl.h', |
|
17 'gtest/include/gtest/gtest_prod.h', |
|
18 ] |
|
19 |
|
20 # GTest internal are exposed in gtest.h. See comment in gtest.h |
|
21 EXPORTS.gtest.internal += [ |
|
22 'gtest/include/gtest/internal/gtest-death-test-internal.h', |
|
23 'gtest/include/gtest/internal/gtest-filepath.h', |
|
24 'gtest/include/gtest/internal/gtest-internal.h', |
|
25 'gtest/include/gtest/internal/gtest-linked_ptr.h', |
|
26 'gtest/include/gtest/internal/gtest-param-util-generated.h', |
|
27 'gtest/include/gtest/internal/gtest-param-util.h', |
|
28 'gtest/include/gtest/internal/gtest-port.h', |
|
29 'gtest/include/gtest/internal/gtest-string.h', |
|
30 'gtest/include/gtest/internal/gtest-tuple.h', |
|
31 'gtest/include/gtest/internal/gtest-type-util.h', |
|
32 ] |
|
33 |
|
34 EXPORTS.gmock += [ |
|
35 'gmock/include/gmock/gmock-actions.h', |
|
36 'gmock/include/gmock/gmock-cardinalities.h', |
|
37 'gmock/include/gmock/gmock-generated-actions.h', |
|
38 'gmock/include/gmock/gmock-generated-function-mockers.h', |
|
39 'gmock/include/gmock/gmock-generated-matchers.h', |
|
40 'gmock/include/gmock/gmock-generated-nice-strict.h', |
|
41 'gmock/include/gmock/gmock-matchers.h', |
|
42 'gmock/include/gmock/gmock-more-actions.h', |
|
43 'gmock/include/gmock/gmock-spec-builders.h', |
|
44 'gmock/include/gmock/gmock.h', |
|
45 ] |
|
46 |
|
47 # gmock also includes internal interfaces in it's public header |
|
48 EXPORTS.gmock.internal += [ |
|
49 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', |
|
50 'gmock/include/gmock/internal/gmock-internal-utils.h', |
|
51 'gmock/include/gmock/internal/gmock-port.h', |
|
52 ] |
|
53 |
|
54 SOURCES += [ |
|
55 'gmock/src/gmock-all.cc', |
|
56 'gtest/src/gtest-all.cc', |
|
57 'mozilla/GTestRunner.cpp', |
|
58 ] |
|
59 |
|
60 LIBRARY_NAME = 'gtest' |
|
61 |
|
62 SOURCES += [ |
|
63 'mozilla/SanityTest.cpp', |
|
64 ] |
|
65 |
|
66 EXPORT_LIBRARY = True |
|
67 |
|
68 LOCAL_INCLUDES += [ |
|
69 'gmock', |
|
70 'gmock/include', |
|
71 'gtest', |
|
72 'gtest/include', |
|
73 ] |
|
74 |
|
75 FINAL_LIBRARY = 'xul-gtest' |