OLD | NEW |
---|---|
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'mojo_system', | 4 'target_name': 'mojo_system', |
5 'type': '<(component)', | 5 'type': 'static_library', |
6 'defines': [ | 6 'defines': [ |
7 'MOJO_SYSTEM_IMPLEMENTATION', | 7 'MOJO_SYSTEM_IMPLEMENTATION', |
8 ], | 8 ], |
9 'include_dirs': [ | 9 'include_dirs': [ |
10 '..', | 10 '..', |
11 ], | 11 ], |
12 'direct_dependent_settings': { | 12 'direct_dependent_settings': { |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '..', | 14 '..', |
15 ], | 15 ], |
16 }, | 16 }, |
17 'sources': [ | 17 'sources': [ |
18 'public/c/system/async_waiter.h', | 18 'public/c/system/async_waiter.h', |
19 'public/c/system/core.h', | 19 'public/c/system/core.h', |
20 'public/c/system/macros.h', | 20 'public/c/system/macros.h', |
21 'public/c/system/system_export.h', | 21 'public/c/system/system_export.h', |
22 'public/system/core_private.cc', | 22 'public/platform/native/system_thunks.cc', |
23 'public/system/core_private.h', | 23 'public/platform/native/system_thunks.h', |
24 ], | 24 ], |
25 'conditions': [ | 25 'conditions': [ |
26 ['OS=="mac"', { | 26 ['OS=="mac"', { |
27 'xcode_settings': { | 27 'xcode_settings': { |
28 # Make it a run-path dependent library. | 28 # Make it a run-path dependent library. |
29 'DYLIB_INSTALL_NAME_BASE': '@rpath', | 29 'DYLIB_INSTALL_NAME_BASE': '@rpath', |
30 }, | 30 }, |
31 'direct_dependent_settings': { | 31 'direct_dependent_settings': { |
32 'xcode_settings': { | 32 'xcode_settings': { |
33 # Look for run-path dependent libraries in the loader's directory. | 33 # Look for run-path dependent libraries in the loader's directory. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
113 }, | 113 }, |
114 }], | 114 }], |
115 ], | 115 ], |
116 }, | 116 }, |
117 { | 117 { |
118 'target_name': 'mojo_public_test_utils', | 118 'target_name': 'mojo_public_test_utils', |
119 'type': 'static_library', | 119 'type': 'static_library', |
120 'dependencies': [ | 120 'dependencies': [ |
121 '../base/base.gyp:base', | 121 '../base/base.gyp:base', |
122 '../testing/gtest.gyp:gtest', | 122 '../testing/gtest.gyp:gtest', |
123 'mojo_system', | |
124 'mojo_test_support', | 123 'mojo_test_support', |
125 ], | 124 ], |
126 'sources': [ | 125 'sources': [ |
127 'public/cpp/test_support/lib/test_utils.cc', | 126 'public/cpp/test_support/lib/test_utils.cc', |
128 'public/cpp/test_support/test_utils.h', | 127 'public/cpp/test_support/test_utils.h', |
129 ], | 128 ], |
130 }, | 129 }, |
131 # TODO(vtl): Reorganize the mojo_public_*_unittests. | 130 # TODO(vtl): Reorganize the mojo_public_*_unittests. |
132 { | 131 { |
133 'target_name': 'mojo_public_bindings_unittests', | 132 'target_name': 'mojo_public_bindings_unittests', |
134 'type': 'executable', | 133 'type': 'executable', |
135 'dependencies': [ | 134 'dependencies': [ |
136 '../testing/gtest.gyp:gtest', | 135 '../testing/gtest.gyp:gtest', |
137 'mojo_bindings', | 136 'mojo_bindings', |
138 'mojo_environment_standalone', | 137 'mojo_environment_standalone', |
139 'mojo_public_test_utils', | 138 'mojo_public_test_utils', |
140 'mojo_run_all_unittests', | 139 'mojo_run_all_unittests', |
141 'mojo_sample_service', | 140 'mojo_sample_service', |
142 'mojo_system', | 141 'mojo_system_impl', |
viettrungluu
2014/04/10 19:38:06
Can we pick up this dependency via mojo_run_all_un
| |
143 'mojo_utility', | 142 'mojo_utility', |
144 ], | 143 ], |
145 'sources': [ | 144 'sources': [ |
146 'public/cpp/bindings/tests/array_unittest.cc', | 145 'public/cpp/bindings/tests/array_unittest.cc', |
147 'public/cpp/bindings/tests/buffer_unittest.cc', | 146 'public/cpp/bindings/tests/buffer_unittest.cc', |
148 'public/cpp/bindings/tests/connector_unittest.cc', | 147 'public/cpp/bindings/tests/connector_unittest.cc', |
149 'public/cpp/bindings/tests/handle_passing_unittest.cc', | 148 'public/cpp/bindings/tests/handle_passing_unittest.cc', |
150 'public/cpp/bindings/tests/remote_ptr_unittest.cc', | 149 'public/cpp/bindings/tests/remote_ptr_unittest.cc', |
151 'public/cpp/bindings/tests/request_response_unittest.cc', | 150 'public/cpp/bindings/tests/request_response_unittest.cc', |
152 'public/cpp/bindings/tests/router_unittest.cc', | 151 'public/cpp/bindings/tests/router_unittest.cc', |
(...skipping 11 matching lines...) Expand all Loading... | |
164 }, | 163 }, |
165 { | 164 { |
166 'target_name': 'mojo_public_environment_unittests', | 165 'target_name': 'mojo_public_environment_unittests', |
167 'type': 'executable', | 166 'type': 'executable', |
168 'dependencies': [ | 167 'dependencies': [ |
169 '../base/base.gyp:base', | 168 '../base/base.gyp:base', |
170 '../testing/gtest.gyp:gtest', | 169 '../testing/gtest.gyp:gtest', |
171 'mojo_environment_standalone', | 170 'mojo_environment_standalone', |
172 'mojo_public_test_utils', | 171 'mojo_public_test_utils', |
173 'mojo_run_all_unittests', | 172 'mojo_run_all_unittests', |
174 'mojo_system', | |
175 'mojo_utility', | 173 'mojo_utility', |
176 ], | 174 ], |
177 'sources': [ | 175 'sources': [ |
178 'public/cpp/environment/tests/async_waiter_unittest.cc', | 176 'public/cpp/environment/tests/async_waiter_unittest.cc', |
179 ], | 177 ], |
180 }, | 178 }, |
181 { | 179 { |
182 'target_name': 'mojo_public_system_unittests', | 180 'target_name': 'mojo_public_system_unittests', |
183 'type': 'executable', | 181 'type': 'executable', |
184 'dependencies': [ | 182 'dependencies': [ |
185 '../base/base.gyp:base', | 183 '../base/base.gyp:base', |
186 '../testing/gtest.gyp:gtest', | 184 '../testing/gtest.gyp:gtest', |
187 'mojo_bindings', | 185 'mojo_bindings', |
188 'mojo_public_test_utils', | 186 'mojo_public_test_utils', |
189 'mojo_run_all_unittests', | 187 'mojo_run_all_unittests', |
190 'mojo_system', | 188 'mojo_system_impl', |
viettrungluu
2014/04/10 19:38:06
"
| |
191 ], | 189 ], |
192 'sources': [ | 190 'sources': [ |
193 'public/c/system/tests/core_unittest.cc', | 191 'public/c/system/tests/core_unittest.cc', |
194 'public/c/system/tests/core_unittest_pure_c.c', | 192 'public/c/system/tests/core_unittest_pure_c.c', |
195 'public/c/system/tests/macros_unittest.cc', | 193 'public/c/system/tests/macros_unittest.cc', |
196 'public/cpp/system/tests/core_unittest.cc', | 194 'public/cpp/system/tests/core_unittest.cc', |
197 'public/cpp/system/tests/macros_unittest.cc', | 195 'public/cpp/system/tests/macros_unittest.cc', |
198 ], | 196 ], |
199 }, | 197 }, |
200 { | 198 { |
201 'target_name': 'mojo_public_utility_unittests', | 199 'target_name': 'mojo_public_utility_unittests', |
202 'type': 'executable', | 200 'type': 'executable', |
203 'dependencies': [ | 201 'dependencies': [ |
204 '../base/base.gyp:base', | 202 '../base/base.gyp:base', |
205 '../testing/gtest.gyp:gtest', | 203 '../testing/gtest.gyp:gtest', |
206 'mojo_bindings', | 204 'mojo_bindings', |
207 'mojo_public_test_utils', | 205 'mojo_public_test_utils', |
208 'mojo_run_all_unittests', | 206 'mojo_run_all_unittests', |
209 'mojo_system', | |
210 'mojo_utility', | 207 'mojo_utility', |
211 ], | 208 ], |
212 'sources': [ | 209 'sources': [ |
213 'public/cpp/utility/tests/mutex_unittest.cc', | 210 'public/cpp/utility/tests/mutex_unittest.cc', |
214 'public/cpp/utility/tests/run_loop_unittest.cc', | 211 'public/cpp/utility/tests/run_loop_unittest.cc', |
215 'public/cpp/utility/tests/thread_unittest.cc', | 212 'public/cpp/utility/tests/thread_unittest.cc', |
216 ], | 213 ], |
217 'conditions': [ | 214 'conditions': [ |
218 # See crbug.com/342893: | 215 # See crbug.com/342893: |
219 ['OS=="win"', { | 216 ['OS=="win"', { |
220 'sources!': [ | 217 'sources!': [ |
221 'public/cpp/utility/tests/mutex_unittest.cc', | 218 'public/cpp/utility/tests/mutex_unittest.cc', |
222 'public/cpp/utility/tests/thread_unittest.cc', | 219 'public/cpp/utility/tests/thread_unittest.cc', |
223 ], | 220 ], |
224 }], | 221 }], |
225 ], | 222 ], |
226 }, | 223 }, |
227 { | 224 { |
228 'target_name': 'mojo_public_system_perftests', | 225 'target_name': 'mojo_public_system_perftests', |
229 'type': 'executable', | 226 'type': 'executable', |
230 'dependencies': [ | 227 'dependencies': [ |
231 '../base/base.gyp:base', | 228 '../base/base.gyp:base', |
232 '../testing/gtest.gyp:gtest', | 229 '../testing/gtest.gyp:gtest', |
233 'mojo_public_test_utils', | 230 'mojo_public_test_utils', |
234 'mojo_run_all_perftests', | 231 'mojo_run_all_perftests', |
235 'mojo_system', | |
viettrungluu
2014/04/10 19:38:06
(I suspect yes, if the perftests build without the
| |
236 'mojo_utility', | 232 'mojo_utility', |
237 ], | 233 ], |
238 'sources': [ | 234 'sources': [ |
239 'public/c/system/tests/core_perftest.cc', | 235 'public/c/system/tests/core_perftest.cc', |
240 ], | 236 ], |
241 }, | 237 }, |
242 { | 238 { |
243 'target_name': 'mojo_bindings', | 239 'target_name': 'mojo_bindings', |
244 'type': 'static_library', | 240 'type': 'static_library', |
245 'include_dirs': [ | 241 'include_dirs': [ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
294 'public/interfaces/bindings/tests/sample_service.mojom', | 290 'public/interfaces/bindings/tests/sample_service.mojom', |
295 'public/interfaces/bindings/tests/sample_import.mojom', | 291 'public/interfaces/bindings/tests/sample_import.mojom', |
296 'public/interfaces/bindings/tests/sample_import2.mojom', | 292 'public/interfaces/bindings/tests/sample_import2.mojom', |
297 ], | 293 ], |
298 'variables': { | 294 'variables': { |
299 'mojom_base_output_dir': 'mojo', | 295 'mojom_base_output_dir': 'mojo', |
300 }, | 296 }, |
301 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 297 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
302 'export_dependent_settings': [ | 298 'export_dependent_settings': [ |
303 'mojo_bindings', | 299 'mojo_bindings', |
304 'mojo_system', | |
305 ], | 300 ], |
306 'dependencies': [ | 301 'dependencies': [ |
307 'mojo_bindings', | 302 'mojo_bindings', |
308 'mojo_system', | |
309 ], | 303 ], |
310 }, | 304 }, |
311 { | 305 { |
312 'target_name': 'mojo_environment_standalone', | 306 'target_name': 'mojo_environment_standalone', |
313 'type': 'static_library', | 307 'type': 'static_library', |
314 'sources': [ | 308 'sources': [ |
315 'public/cpp/environment/buffer_tls.h', | 309 'public/cpp/environment/buffer_tls.h', |
316 'public/cpp/environment/default_async_waiter.h', | 310 'public/cpp/environment/default_async_waiter.h', |
317 'public/cpp/environment/environment.h', | 311 'public/cpp/environment/environment.h', |
318 'public/cpp/environment/lib/default_async_waiter.cc', | 312 'public/cpp/environment/lib/default_async_waiter.cc', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
359 'type': 'static_library', | 353 'type': 'static_library', |
360 'sources': [ | 354 'sources': [ |
361 'public/interfaces/shell/shell.mojom', | 355 'public/interfaces/shell/shell.mojom', |
362 ], | 356 ], |
363 'variables': { | 357 'variables': { |
364 'mojom_base_output_dir': 'mojo', | 358 'mojom_base_output_dir': 'mojo', |
365 }, | 359 }, |
366 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], | 360 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], |
367 'dependencies': [ | 361 'dependencies': [ |
368 'mojo_bindings', | 362 'mojo_bindings', |
369 'mojo_system', | |
370 ], | 363 ], |
371 'export_dependent_settings': [ | 364 'export_dependent_settings': [ |
372 'mojo_bindings', | 365 'mojo_bindings', |
373 ], | 366 ], |
374 }, | 367 }, |
375 { | 368 { |
376 'target_name': 'mojo_shell_client', | 369 'target_name': 'mojo_shell_client', |
377 'type': 'static_library', | 370 'type': 'static_library', |
378 'sources': [ | 371 'sources': [ |
379 'public/cpp/shell/application.h', | 372 'public/cpp/shell/application.h', |
380 'public/cpp/shell/service.h', | 373 'public/cpp/shell/service.h', |
381 'public/cpp/shell/lib/application.cc', | 374 'public/cpp/shell/lib/application.cc', |
382 'public/cpp/shell/lib/service.cc', | 375 'public/cpp/shell/lib/service.cc', |
383 ], | 376 ], |
384 'dependencies': [ | 377 'dependencies': [ |
385 'mojo_shell_bindings', | 378 'mojo_shell_bindings', |
386 ], | 379 ], |
387 'export_dependent_settings': [ | 380 'export_dependent_settings': [ |
388 'mojo_shell_bindings', | 381 'mojo_shell_bindings', |
389 ], | 382 ], |
390 }, | 383 }, |
391 ], | 384 ], |
392 } | 385 } |
OLD | NEW |