OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'mojo_system', | 4 'target_name': 'mojo_system', |
5 'type': 'shared_library', | 5 'type': 'shared_library', |
6 'defines': [ | 6 'defines': [ |
7 'MOJO_SYSTEM_IMPLEMENTATION', | 7 'MOJO_SYSTEM_IMPLEMENTATION', |
8 ], | 8 ], |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '..', | 10 '..', |
(...skipping 14 matching lines...) Expand all Loading... |
25 }, | 25 }, |
26 { | 26 { |
27 'target_name': 'mojo_public_test_support', | 27 'target_name': 'mojo_public_test_support', |
28 'type': 'static_library', | 28 'type': 'static_library', |
29 'dependencies': [ | 29 'dependencies': [ |
30 '../base/base.gyp:base', | 30 '../base/base.gyp:base', |
31 '../testing/gtest.gyp:gtest', | 31 '../testing/gtest.gyp:gtest', |
32 'mojo_system', | 32 'mojo_system', |
33 ], | 33 ], |
34 'sources': [ | 34 'sources': [ |
35 'public/tests/simple_bindings_support.cc', | |
36 'public/tests/simple_bindings_support.h', | |
37 'public/tests/test_support.cc', | 35 'public/tests/test_support.cc', |
38 'public/tests/test_support.h', | 36 'public/tests/test_support.h', |
39 ], | 37 ], |
40 }, | 38 }, |
41 { | 39 { |
42 'target_name': 'mojo_public_unittests', | 40 'target_name': 'mojo_public_bindings_unittests', |
43 'type': 'executable', | 41 'type': 'executable', |
44 'dependencies': [ | 42 'dependencies': [ |
45 '../testing/gtest.gyp:gtest', | 43 '../testing/gtest.gyp:gtest', |
46 'mojo_bindings', | 44 'mojo_bindings', |
47 'mojo_public_test_support', | 45 'mojo_public_test_support', |
48 'mojo_run_all_unittests', | 46 'mojo_run_all_unittests', |
| 47 'mojo_sample_service', |
| 48 'mojo_system', |
| 49 ], |
| 50 'sources': [ |
| 51 'public/tests/bindings/array_unittest.cc', |
| 52 'public/tests/bindings/connector_unittest.cc', |
| 53 'public/tests/bindings/handle_passing_unittest.cc', |
| 54 'public/tests/bindings/remote_ptr_unittest.cc', |
| 55 'public/tests/bindings/type_conversion_unittest.cc', |
| 56 'public/tests/bindings/buffer_unittest.cc', |
| 57 'public/tests/bindings/math_calculator.mojom', |
| 58 'public/tests/bindings/sample_factory.mojom', |
| 59 'public/tests/bindings/sample_service_unittests.cc', |
| 60 'public/tests/bindings/simple_bindings_support.cc', |
| 61 'public/tests/bindings/simple_bindings_support.h', |
| 62 'public/tests/bindings/test_structs.mojom', |
| 63 ], |
| 64 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
| 65 }, |
| 66 { |
| 67 'target_name': 'mojo_public_system_unittests', |
| 68 'type': 'executable', |
| 69 'dependencies': [ |
| 70 '../base/base.gyp:base', |
| 71 '../testing/gtest.gyp:gtest', |
| 72 'mojo_bindings', |
| 73 'mojo_public_test_support', |
| 74 'mojo_run_all_unittests', |
49 'mojo_system', | 75 'mojo_system', |
50 ], | 76 ], |
51 'sources': [ | 77 'sources': [ |
52 'public/tests/bindings_array_unittest.cc', | 78 'public/tests/system/core_cpp_unittest.cc', |
53 'public/tests/bindings_connector_unittest.cc', | 79 'public/tests/system/core_unittest.cc', |
54 'public/tests/bindings_handle_passing_unittest.cc', | |
55 'public/tests/bindings_remote_ptr_unittest.cc', | |
56 'public/tests/bindings_type_conversion_unittest.cc', | |
57 'public/tests/buffer_unittest.cc', | |
58 'public/tests/math_calculator.mojom', | |
59 'public/tests/sample_factory.mojom', | |
60 'public/tests/system_core_cpp_unittest.cc', | |
61 'public/tests/system_core_unittest.cc', | |
62 'public/tests/test_structs.mojom', | |
63 ], | 80 ], |
64 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], | |
65 }, | 81 }, |
66 { | 82 { |
67 'target_name': 'mojo_public_perftests', | 83 'target_name': 'mojo_public_utility_unittests', |
68 'type': 'executable', | 84 'type': 'executable', |
69 'dependencies': [ | 85 'dependencies': [ |
70 '../base/base.gyp:base', | 86 '../base/base.gyp:base', |
| 87 '../testing/gtest.gyp:gtest', |
| 88 'mojo_bindings', |
| 89 'mojo_public_test_support', |
| 90 'mojo_run_all_unittests', |
| 91 'mojo_system', |
| 92 'mojo_utility', |
| 93 ], |
| 94 'sources': [ |
| 95 'public/tests/utility/bindings_support_impl_unittest.cc', |
| 96 'public/tests/utility/run_loop_unittest.cc', |
| 97 'public/tests/utility/thread_local_unittest.cc', |
| 98 ], |
| 99 }, |
| 100 { |
| 101 'target_name': 'mojo_public_system_perftests', |
| 102 'type': 'executable', |
| 103 'dependencies': [ |
| 104 '../base/base.gyp:base', |
71 '../testing/gtest.gyp:gtest', | 105 '../testing/gtest.gyp:gtest', |
72 'mojo_public_test_support', | 106 'mojo_public_test_support', |
73 'mojo_run_all_perftests', | 107 'mojo_run_all_perftests', |
74 'mojo_system', | 108 'mojo_system', |
75 ], | 109 ], |
76 'sources': [ | 110 'sources': [ |
77 'public/tests/system_core_perftest.cc', | 111 'public/tests/system/core_perftest.cc', |
78 ], | 112 ], |
79 }, | 113 }, |
80 { | 114 { |
81 'target_name': 'mojo_bindings', | 115 'target_name': 'mojo_bindings', |
82 'type': 'static_library', | 116 'type': 'static_library', |
83 'include_dirs': [ | 117 'include_dirs': [ |
84 '..' | 118 '..' |
85 ], | 119 ], |
86 'sources': [ | 120 'sources': [ |
87 'public/bindings/lib/array.cc', | 121 'public/bindings/lib/array.cc', |
(...skipping 15 matching lines...) Expand all Loading... |
103 'public/bindings/lib/message_builder.cc', | 137 'public/bindings/lib/message_builder.cc', |
104 'public/bindings/lib/message_builder.h', | 138 'public/bindings/lib/message_builder.h', |
105 'public/bindings/lib/message_queue.cc', | 139 'public/bindings/lib/message_queue.cc', |
106 'public/bindings/lib/message_queue.h', | 140 'public/bindings/lib/message_queue.h', |
107 ], | 141 ], |
108 }, | 142 }, |
109 { | 143 { |
110 'target_name': 'mojo_sample_service', | 144 'target_name': 'mojo_sample_service', |
111 'type': 'static_library', | 145 'type': 'static_library', |
112 'sources': [ | 146 'sources': [ |
113 'public/bindings/sample/sample_service.mojom', | 147 'public/tests/bindings/sample_service.mojom', |
114 ], | 148 ], |
115 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], | 149 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
116 'export_dependent_settings': [ | 150 'export_dependent_settings': [ |
117 'mojo_bindings', | 151 'mojo_bindings', |
118 'mojo_system', | 152 'mojo_system', |
119 ], | 153 ], |
120 }, | 154 }, |
121 { | 155 { |
122 'target_name': 'mojo_bindings_unittests', | |
123 'type': 'executable', | |
124 'sources': [ | |
125 'public/bindings/sample/sample_service_unittests.cc', | |
126 ], | |
127 'dependencies': [ | |
128 '../testing/gtest.gyp:gtest', | |
129 'mojo_public_test_support', | |
130 'mojo_run_all_unittests', | |
131 'mojo_sample_service', | |
132 ], | |
133 }, | |
134 { | |
135 'target_name': 'mojo_utility', | 156 'target_name': 'mojo_utility', |
136 'type': 'static_library', | 157 'type': 'static_library', |
137 'sources': [ | 158 'sources': [ |
138 'public/utility/bindings_support_impl.cc', | 159 'public/utility/bindings_support_impl.cc', |
139 'public/utility/bindings_support_impl.h', | 160 'public/utility/bindings_support_impl.h', |
140 'public/utility/environment.cc', | 161 'public/utility/environment.cc', |
141 'public/utility/environment.h', | 162 'public/utility/environment.h', |
142 'public/utility/run_loop.cc', | 163 'public/utility/run_loop.cc', |
143 'public/utility/run_loop.h', | 164 'public/utility/run_loop.h', |
144 'public/utility/run_loop_handler.h', | 165 'public/utility/run_loop_handler.h', |
145 'public/utility/thread_local.h', | 166 'public/utility/thread_local.h', |
146 'public/utility/thread_local_posix.cc', | 167 'public/utility/thread_local_posix.cc', |
147 'public/utility/thread_local_win.cc', | 168 'public/utility/thread_local_win.cc', |
148 ], | 169 ], |
149 'include_dirs': [ | 170 'include_dirs': [ |
150 '..', | 171 '..', |
151 ], | 172 ], |
152 }, | 173 }, |
153 { | |
154 'target_name': 'mojo_utility_unittests', | |
155 'type': 'executable', | |
156 'dependencies': [ | |
157 '../base/base.gyp:base', | |
158 '../testing/gtest.gyp:gtest', | |
159 'mojo_bindings', | |
160 'mojo_public_test_support', | |
161 'mojo_run_all_unittests', | |
162 'mojo_system', | |
163 'mojo_utility', | |
164 ], | |
165 'sources': [ | |
166 'public/utility/bindings_support_impl_unittest.cc', | |
167 'public/utility/run_loop_unittest.cc', | |
168 'public/utility/thread_local_unittest.cc', | |
169 ], | |
170 }, | |
171 ], | 174 ], |
172 } | 175 } |
OLD | NEW |