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