OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'gtest', | 8 'target_name': 'gtest', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'sources': [ | 10 'sources': [ |
11 'gtest/include/gtest/gtest-death-test.h', | 11 'gtest/include/gtest/gtest-death-test.h', |
12 'gtest/include/gtest/gtest-message.h', | 12 'gtest/include/gtest/gtest-message.h', |
13 'gtest/include/gtest/gtest-param-test.h', | 13 'gtest/include/gtest/gtest-param-test.h', |
14 'gtest/include/gtest/gtest-printers.h', | 14 'gtest/include/gtest/gtest-printers.h', |
15 'gtest/include/gtest/gtest-spi.h', | 15 'gtest/include/gtest/gtest-spi.h', |
16 'gtest/include/gtest/gtest-test-part.h', | 16 'gtest/include/gtest/gtest-test-part.h', |
17 'gtest/include/gtest/gtest-typed-test.h', | 17 'gtest/include/gtest/gtest-typed-test.h', |
18 'gtest/include/gtest/gtest.h', | 18 'gtest/include/gtest/gtest.h', |
19 'gtest/include/gtest/gtest_pred_impl.h', | 19 'gtest/include/gtest/gtest_pred_impl.h', |
20 'gtest/include/gtest/gtest_prod.h', | |
21 'gtest/include/gtest/internal/gtest-death-test-internal.h', | 20 'gtest/include/gtest/internal/gtest-death-test-internal.h', |
22 'gtest/include/gtest/internal/gtest-filepath.h', | 21 'gtest/include/gtest/internal/gtest-filepath.h', |
23 'gtest/include/gtest/internal/gtest-internal.h', | 22 'gtest/include/gtest/internal/gtest-internal.h', |
24 'gtest/include/gtest/internal/gtest-linked_ptr.h', | 23 'gtest/include/gtest/internal/gtest-linked_ptr.h', |
25 'gtest/include/gtest/internal/gtest-param-util-generated.h', | 24 'gtest/include/gtest/internal/gtest-param-util-generated.h', |
26 'gtest/include/gtest/internal/gtest-param-util.h', | 25 'gtest/include/gtest/internal/gtest-param-util.h', |
27 'gtest/include/gtest/internal/gtest-port.h', | 26 'gtest/include/gtest/internal/gtest-port.h', |
28 'gtest/include/gtest/internal/gtest-string.h', | 27 'gtest/include/gtest/internal/gtest-string.h', |
29 'gtest/include/gtest/internal/gtest-tuple.h', | 28 'gtest/include/gtest/internal/gtest-tuple.h', |
30 'gtest/include/gtest/internal/gtest-type-util.h', | 29 'gtest/include/gtest/internal/gtest-type-util.h', |
(...skipping 10 matching lines...) Expand all Loading... |
41 'multiprocess_func_list.h', | 40 'multiprocess_func_list.h', |
42 'platform_test.h', | 41 'platform_test.h', |
43 ], | 42 ], |
44 'sources!': [ | 43 'sources!': [ |
45 'gtest/src/gtest-all.cc', # Not needed by our build. | 44 'gtest/src/gtest-all.cc', # Not needed by our build. |
46 ], | 45 ], |
47 'include_dirs': [ | 46 'include_dirs': [ |
48 'gtest', | 47 'gtest', |
49 'gtest/include', | 48 'gtest/include', |
50 ], | 49 ], |
| 50 'dependencies': [ |
| 51 'gtest_prod', |
| 52 ], |
51 'conditions': [ | 53 'conditions': [ |
52 ['OS == "mac"', { | 54 ['OS == "mac"', { |
53 'sources': [ | 55 'sources': [ |
54 'gtest_mac.h', | 56 'gtest_mac.h', |
55 'gtest_mac.mm', | 57 'gtest_mac.mm', |
56 'platform_test_mac.mm' | 58 'platform_test_mac.mm' |
57 ], | 59 ], |
58 'link_settings': { | 60 'link_settings': { |
59 'libraries': [ | 61 'libraries': [ |
60 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 62 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 { | 125 { |
124 'target_name': 'gtest_main', | 126 'target_name': 'gtest_main', |
125 'type': 'static_library', | 127 'type': 'static_library', |
126 'dependencies': [ | 128 'dependencies': [ |
127 'gtest', | 129 'gtest', |
128 ], | 130 ], |
129 'sources': [ | 131 'sources': [ |
130 'gtest/src/gtest_main.cc', | 132 'gtest/src/gtest_main.cc', |
131 ], | 133 ], |
132 }, | 134 }, |
| 135 { |
| 136 'target_name': 'gtest_prod', |
| 137 'toolsets': ['host', 'target'], |
| 138 'type': 'none', |
| 139 'sources': [ |
| 140 'gtest/include/gtest/gtest_prod.h', |
| 141 ], |
| 142 }, |
133 ], | 143 ], |
134 } | 144 } |
OLD | NEW |