OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'mojo_apps.gypi', | 10 'mojo_apps.gypi', |
11 'mojo_examples.gypi', | 11 'mojo_examples.gypi', |
12 'mojo_public.gypi', | 12 'mojo_public.gypi', |
13 'mojo_services.gypi', | 13 'mojo_services.gypi', |
14 ], | 14 ], |
15 'targets': [ | 15 'targets': [ |
16 { | 16 { |
17 'target_name': 'mojo', | 17 'target_name': 'mojo', |
18 'type': 'none', | 18 'type': 'none', |
19 'dependencies': [ | 19 'dependencies': [ |
20 'mojo_bindings', | 20 'mojo_bindings', |
21 'mojo_common_lib', | 21 'mojo_common_lib', |
22 'mojo_common_unittests', | 22 'mojo_common_unittests', |
23 'mojo_js', | 23 'mojo_js', |
24 'mojo_js_unittests', | 24 'mojo_js_unittests', |
25 'mojo_public_test_support', | 25 'mojo_public_test_support', |
26 'mojo_public_bindings_unittests', | 26 'mojo_public_bindings_unittests', |
| 27 'mojo_public_environment_unittests', |
27 'mojo_public_system_perftests', | 28 'mojo_public_system_perftests', |
28 'mojo_public_system_unittests', | 29 'mojo_public_system_unittests', |
29 'mojo_public_utility_unittests', | 30 'mojo_public_utility_unittests', |
30 'mojo_sample_app', | 31 'mojo_sample_app', |
31 'mojo_shell', | 32 'mojo_shell', |
32 'mojo_shell_lib', | 33 'mojo_shell_lib', |
33 'mojo_shell_unittests', | 34 'mojo_shell_unittests', |
34 'mojo_system', | 35 'mojo_system', |
35 'mojo_system_impl', | 36 'mojo_system_impl', |
36 'mojo_system_unittests', | 37 'mojo_system_unittests', |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'type': '<(component)', | 180 'type': '<(component)', |
180 'defines': [ | 181 'defines': [ |
181 'MOJO_COMMON_IMPLEMENTATION', | 182 'MOJO_COMMON_IMPLEMENTATION', |
182 ], | 183 ], |
183 'dependencies': [ | 184 'dependencies': [ |
184 '../base/base.gyp:base', | 185 '../base/base.gyp:base', |
185 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 186 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
186 'mojo_system', | 187 'mojo_system', |
187 ], | 188 ], |
188 'sources': [ | 189 'sources': [ |
189 'common/bindings_support_impl.cc', | |
190 'common/bindings_support_impl.h', | |
191 'common/common_type_converters.cc', | 190 'common/common_type_converters.cc', |
192 'common/common_type_converters.h', | 191 'common/common_type_converters.h', |
193 'common/handle_watcher.cc', | 192 'common/handle_watcher.cc', |
194 'common/handle_watcher.h', | 193 'common/handle_watcher.h', |
195 'common/message_pump_mojo.cc', | 194 'common/message_pump_mojo.cc', |
196 'common/message_pump_mojo.h', | 195 'common/message_pump_mojo.h', |
197 'common/message_pump_mojo_handler.h', | 196 'common/message_pump_mojo_handler.h', |
198 ], | 197 ], |
199 'conditions': [ | 198 'conditions': [ |
200 ['OS == "win"', { | 199 ['OS == "win"', { |
(...skipping 20 matching lines...) Expand all Loading... |
221 ], | 220 ], |
222 }, | 221 }, |
223 { | 222 { |
224 'target_name': 'mojo_common_unittests', | 223 'target_name': 'mojo_common_unittests', |
225 'type': 'executable', | 224 'type': 'executable', |
226 'dependencies': [ | 225 'dependencies': [ |
227 '../base/base.gyp:base', | 226 '../base/base.gyp:base', |
228 '../base/base.gyp:base_message_loop_tests', | 227 '../base/base.gyp:base_message_loop_tests', |
229 '../testing/gtest.gyp:gtest', | 228 '../testing/gtest.gyp:gtest', |
230 'mojo_bindings', | 229 'mojo_bindings', |
| 230 'mojo_environment_chromium', |
231 'mojo_common_lib', | 231 'mojo_common_lib', |
232 'mojo_common_test_support', | 232 'mojo_common_test_support', |
233 'mojo_public_test_support', | 233 'mojo_public_test_support', |
234 'mojo_run_all_unittests', | 234 'mojo_run_all_unittests', |
235 'mojo_system', | 235 'mojo_system', |
236 'mojo_system_impl', | 236 'mojo_system_impl', |
237 ], | 237 ], |
238 'sources': [ | 238 'sources': [ |
239 'common/common_type_converters_unittest.cc', | 239 'common/common_type_converters_unittest.cc', |
240 'common/handle_watcher_unittest.cc', | 240 'common/handle_watcher_unittest.cc', |
241 'common/message_pump_mojo_unittest.cc', | 241 'common/message_pump_mojo_unittest.cc', |
242 'common/test/multiprocess_test_base_unittest.cc', | 242 'common/test/multiprocess_test_base_unittest.cc', |
243 ], | 243 ], |
244 'conditions': [ | 244 'conditions': [ |
245 ['OS == "win"', { | 245 ['OS == "win"', { |
246 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 246 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
247 'msvs_disabled_warnings': [ | 247 'msvs_disabled_warnings': [ |
248 4267, | 248 4267, |
249 ], | 249 ], |
250 }], | 250 }], |
251 ], | 251 ], |
252 }, | 252 }, |
253 { | 253 { |
| 254 'target_name': 'mojo_environment_chromium', |
| 255 'type': 'static_library', |
| 256 'dependencies': [ |
| 257 'mojo_environment_chromium_impl', |
| 258 ], |
| 259 'sources': [ |
| 260 'environment/default_async_waiter.cc', |
| 261 'environment/buffer_tls.cc', |
| 262 'environment/environment.cc', |
| 263 ], |
| 264 'include_dirs': [ |
| 265 '..', |
| 266 ], |
| 267 'export_dependent_settings': [ |
| 268 'mojo_environment_chromium_impl', |
| 269 ], |
| 270 }, |
| 271 { |
| 272 'target_name': 'mojo_environment_chromium_impl', |
| 273 'type': '<(component)', |
| 274 'defines': [ |
| 275 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', |
| 276 ], |
| 277 'dependencies': [ |
| 278 '../base/base.gyp:base', |
| 279 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 280 'mojo_common_lib' |
| 281 ], |
| 282 'sources': [ |
| 283 'environment/default_async_waiter_impl.cc', |
| 284 'environment/default_async_waiter_impl.h', |
| 285 'environment/buffer_tls_impl.cc', |
| 286 'environment/buffer_tls_impl.h', |
| 287 ], |
| 288 'include_dirs': [ |
| 289 '..', |
| 290 ], |
| 291 }, |
| 292 { |
254 'target_name': 'mojo_shell_lib', | 293 'target_name': 'mojo_shell_lib', |
255 'type': 'static_library', | 294 'type': 'static_library', |
256 'dependencies': [ | 295 'dependencies': [ |
257 '../base/base.gyp:base', | 296 '../base/base.gyp:base', |
258 '../net/net.gyp:net', | 297 '../net/net.gyp:net', |
259 '../url/url.gyp:url_lib', | 298 '../url/url.gyp:url_lib', |
260 'mojo_shell_bindings', | 299 'mojo_shell_bindings', |
261 'mojo_system', | 300 'mojo_system', |
262 'mojo_system_impl', | 301 'mojo_system_impl', |
263 'mojo_native_viewport_service', | 302 'mojo_native_viewport_service', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 ], | 347 ], |
309 }, | 348 }, |
310 { | 349 { |
311 'target_name': 'mojo_shell', | 350 'target_name': 'mojo_shell', |
312 'type': 'executable', | 351 'type': 'executable', |
313 'dependencies': [ | 352 'dependencies': [ |
314 '../base/base.gyp:base', | 353 '../base/base.gyp:base', |
315 '../ui/gl/gl.gyp:gl', | 354 '../ui/gl/gl.gyp:gl', |
316 '../url/url.gyp:url_lib', | 355 '../url/url.gyp:url_lib', |
317 'mojo_common_lib', | 356 'mojo_common_lib', |
| 357 'mojo_environment_chromium', |
318 'mojo_shell_lib', | 358 'mojo_shell_lib', |
319 'mojo_system', | 359 'mojo_system', |
320 'mojo_system_impl', | 360 'mojo_system_impl', |
321 ], | 361 ], |
322 'sources': [ | 362 'sources': [ |
323 'shell/desktop/mojo_main.cc', | 363 'shell/desktop/mojo_main.cc', |
324 ], | 364 ], |
325 'conditions': [ | 365 'conditions': [ |
326 ['OS == "win"', { | 366 ['OS == "win"', { |
327 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 367 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
328 'msvs_disabled_warnings': [ | 368 'msvs_disabled_warnings': [ |
329 4267, | 369 4267, |
330 ], | 370 ], |
331 }], | 371 }], |
332 ], | 372 ], |
333 }, | 373 }, |
334 { | 374 { |
335 'target_name': 'mojo_shell_unittests', | 375 'target_name': 'mojo_shell_unittests', |
336 'type': 'executable', | 376 'type': 'executable', |
337 'dependencies': [ | 377 'dependencies': [ |
338 '../base/base.gyp:base', | 378 '../base/base.gyp:base', |
339 '../testing/gtest.gyp:gtest', | 379 '../testing/gtest.gyp:gtest', |
340 'mojo_common_lib', | 380 'mojo_common_lib', |
| 381 'mojo_environment_chromium', |
341 'mojo_run_all_unittests', | 382 'mojo_run_all_unittests', |
342 'mojo_shell_lib', | 383 'mojo_shell_lib', |
343 ], | 384 ], |
344 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], | 385 'includes': [ 'public/bindings/mojom_bindings_generator.gypi' ], |
345 'sources': [ | 386 'sources': [ |
346 'shell/service_manager_unittest.cc', | 387 'shell/service_manager_unittest.cc', |
347 'shell/test.mojom', | 388 'shell/test.mojom', |
348 ], | 389 ], |
349 }, | 390 }, |
350 ], | 391 ], |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 { | 432 { |
392 'target_name': 'libmojo_shell', | 433 'target_name': 'libmojo_shell', |
393 'type': 'shared_library', | 434 'type': 'shared_library', |
394 'dependencies': [ | 435 'dependencies': [ |
395 '../base/base.gyp:base', | 436 '../base/base.gyp:base', |
396 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 437 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
397 '../ui/gfx/gfx.gyp:gfx', | 438 '../ui/gfx/gfx.gyp:gfx', |
398 '../ui/gfx/gfx.gyp:gfx_geometry', | 439 '../ui/gfx/gfx.gyp:gfx_geometry', |
399 '../ui/gl/gl.gyp:gl', | 440 '../ui/gl/gl.gyp:gl', |
400 'mojo_common_lib', | 441 'mojo_common_lib', |
| 442 'mojo_environment_chromium', |
401 'mojo_jni_headers', | 443 'mojo_jni_headers', |
402 'mojo_shell_bindings', | 444 'mojo_shell_bindings', |
403 'mojo_shell_lib', | 445 'mojo_shell_lib', |
404 ], | 446 ], |
405 'sources': [ | 447 'sources': [ |
406 'shell/android/library_loader.cc', | 448 'shell/android/library_loader.cc', |
407 'shell/android/mojo_main.cc', | 449 'shell/android/mojo_main.cc', |
408 'shell/android/mojo_main.h', | 450 'shell/android/mojo_main.h', |
409 ], | 451 ], |
410 }, | 452 }, |
(...skipping 11 matching lines...) Expand all Loading... |
422 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 464 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
423 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 465 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
424 'native_lib_target': 'libmojo_shell', | 466 'native_lib_target': 'libmojo_shell', |
425 }, | 467 }, |
426 'includes': [ '../build/java_apk.gypi' ], | 468 'includes': [ '../build/java_apk.gypi' ], |
427 } | 469 } |
428 ], | 470 ], |
429 }], | 471 }], |
430 ], | 472 ], |
431 } | 473 } |
OLD | NEW |