OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'base_target': 0, | 8 'base_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 'mac_framework_dirs': [ | 374 'mac_framework_dirs': [ |
375 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', | 375 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', |
376 ], | 376 ], |
377 'conditions': [ | 377 'conditions': [ |
378 [ 'use_wayland == 1', { | 378 [ 'use_wayland == 1', { |
379 'sources!': [ | 379 'sources!': [ |
380 'message_pump_gtk.cc', | 380 'message_pump_gtk.cc', |
381 'message_pump_x.cc', | 381 'message_pump_x.cc', |
382 ], | 382 ], |
383 }], | 383 }], |
384 [ 'use_glib==0', { | 384 [ 'toolkit_uses_gtk==0', { |
385 'sources/': [ | 385 'sources/': [ |
386 ['exclude', '^nix/'], | 386 ['exclude', '^nix/'], |
387 ], | 387 ], |
388 'sources!': [ | 388 'sources!': [ |
389 'atomicops_internals_x86_gcc.cc', | 389 'atomicops_internals_x86_gcc.cc', |
390 'message_pump_glib.cc', | 390 'message_pump_glib.cc', |
| 391 'message_pump_gtk.cc', |
391 'message_pump_x.cc', | 392 'message_pump_x.cc', |
392 ], | 393 ], |
393 }], | 394 }], |
394 [ 'toolkit_uses_gtk==0', { | |
395 'sources!': [ 'message_pump_gtk.cc', ], | |
396 }], | |
397 [ 'touchui==0 and use_aura==0', { | 395 [ 'touchui==0 and use_aura==0', { |
398 'sources!' : [ 'message_pump_x.cc', ], | 396 'sources!' : [ 'message_pump_x.cc', ], |
399 }, { | 397 }, { |
400 'sources!' : [ 'message_pump_gtk.cc', ], | 398 'sources!' : [ 'message_pump_gtk.cc', ], |
401 'sources' : [ 'message_pump_x.cc', ], | |
402 }], | 399 }], |
403 [ 'OS != "linux"', { | 400 [ 'OS != "linux"', { |
404 'sources!': [ | 401 'sources!': [ |
405 # Not automatically excluded by the *linux.cc rules. | 402 # Not automatically excluded by the *linux.cc rules. |
406 'linux_util.cc', | 403 'linux_util.cc', |
407 ], | 404 ], |
408 }, | 405 }, |
409 ], | 406 ], |
410 [ 'OS != "mac"', { | 407 [ 'OS != "mac"', { |
411 'sources!': [ | 408 'sources!': [ |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 467 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
471 ], | 468 ], |
472 # TODO(gregoryd): direct_dependent_settings should be shared with the | 469 # TODO(gregoryd): direct_dependent_settings should be shared with the |
473 # 64-bit target, but it doesn't work due to a bug in gyp | 470 # 64-bit target, but it doesn't work due to a bug in gyp |
474 'direct_dependent_settings': { | 471 'direct_dependent_settings': { |
475 'include_dirs': [ | 472 'include_dirs': [ |
476 '..', | 473 '..', |
477 ], | 474 ], |
478 }, | 475 }, |
479 'conditions': [ | 476 'conditions': [ |
480 [ 'use_glib==1', { | 477 [ 'toolkit_uses_gtk==1', { |
481 'conditions': [ | 478 'conditions': [ |
482 [ 'chromeos==1', { | 479 [ 'chromeos==1', { |
483 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 480 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
484 }, | 481 }, |
485 ], | 482 ], |
486 [ 'linux_use_tcmalloc==0', { | 483 [ 'linux_use_tcmalloc==0', { |
487 'defines': [ | 484 'defines': [ |
488 'NO_TCMALLOC', | 485 'NO_TCMALLOC', |
489 ], | 486 ], |
490 'direct_dependent_settings': { | 487 'direct_dependent_settings': { |
491 'defines': [ | 488 'defines': [ |
492 'NO_TCMALLOC', | 489 'NO_TCMALLOC', |
493 ], | 490 ], |
494 }, | 491 }, |
495 }, | 492 }, |
496 ], | 493 ], |
497 [ 'toolkit_uses_gtk==1', { | |
498 'dependencies': [ | |
499 '../build/linux/system.gyp:gtk', | |
500 ], | |
501 'export_dependent_settings': [ | |
502 '../build/linux/system.gyp:gtk', | |
503 ], | |
504 }], | |
505 ], | 494 ], |
506 'dependencies': [ | 495 'dependencies': [ |
507 'symbolize', | 496 'symbolize', |
508 '../build/util/build_util.gyp:lastchange#target', | 497 '../build/util/build_util.gyp:lastchange#target', |
509 '../build/linux/system.gyp:glib', | 498 '../build/linux/system.gyp:gtk', |
510 '../build/linux/system.gyp:x11', | 499 '../build/linux/system.gyp:x11', |
511 'xdg_mime', | 500 'xdg_mime', |
512 ], | 501 ], |
513 'defines': [ | 502 'defines': [ |
514 'USE_SYMBOLIZE', | 503 'USE_SYMBOLIZE', |
515 ], | 504 ], |
516 'cflags': [ | 505 'cflags': [ |
517 '-Wno-write-strings', | 506 '-Wno-write-strings', |
518 ], | 507 ], |
519 'export_dependent_settings': [ | 508 'export_dependent_settings': [ |
520 '../build/linux/system.gyp:glib', | 509 '../build/linux/system.gyp:gtk', |
521 '../build/linux/system.gyp:x11', | 510 '../build/linux/system.gyp:x11', |
522 ], | 511 ], |
523 }, { # use_glib!=1 | 512 }, { # toolkit_uses_gtk!=1 |
524 'sources/': [ | 513 'sources/': [ |
525 ['exclude', '/xdg_user_dirs/'], | 514 ['exclude', '/xdg_user_dirs/'], |
526 ['exclude', '_nss\.cc$'], | 515 ['exclude', '_nss\.cc$'], |
527 ], | 516 ], |
528 }], | 517 }], |
529 [ 'OS == "freebsd" or OS == "openbsd"', { | 518 [ 'OS == "freebsd" or OS == "openbsd"', { |
530 'link_settings': { | 519 'link_settings': { |
531 'libraries': [ | 520 'libraries': [ |
532 '-L/usr/local/lib -lexecinfo', | 521 '-L/usr/local/lib -lexecinfo', |
533 ], | 522 ], |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 'third_party/xdg_mime/xdgmimemagic.c', | 721 'third_party/xdg_mime/xdgmimemagic.c', |
733 'third_party/xdg_mime/xdgmimemagic.h', | 722 'third_party/xdg_mime/xdgmimemagic.h', |
734 'third_party/xdg_mime/xdgmimeparent.c', | 723 'third_party/xdg_mime/xdgmimeparent.c', |
735 'third_party/xdg_mime/xdgmimeparent.h', | 724 'third_party/xdg_mime/xdgmimeparent.h', |
736 ], | 725 ], |
737 }, | 726 }, |
738 ], | 727 ], |
739 }], | 728 }], |
740 ], | 729 ], |
741 } | 730 } |
OLD | NEW |