| 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 [ 'toolkit_uses_gtk==0', { | 384 [ 'use_glib==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', | |
| 392 'message_pump_x.cc', | 391 'message_pump_x.cc', |
| 393 ], | 392 ], |
| 394 }], | 393 }], |
| 394 [ 'toolkit_uses_gtk==0', { |
| 395 'sources!': [ |
| 396 'message_pump_gtk.cc', |
| 397 ], |
| 398 }], |
| 395 [ 'touchui==0 and use_aura==0', { | 399 [ 'touchui==0 and use_aura==0', { |
| 396 'sources!' : [ 'message_pump_x.cc', ], | 400 'sources!' : [ 'message_pump_x.cc', ], |
| 397 }, { | 401 }, { |
| 398 'sources!' : [ 'message_pump_gtk.cc', ], | 402 'sources!' : [ 'message_pump_gtk.cc', ], |
| 403 'sources' : [ 'message_pump_x.cc', ], |
| 399 }], | 404 }], |
| 400 [ 'OS != "linux"', { | 405 [ 'OS != "linux"', { |
| 401 'sources!': [ | 406 'sources!': [ |
| 402 # Not automatically excluded by the *linux.cc rules. | 407 # Not automatically excluded by the *linux.cc rules. |
| 403 'linux_util.cc', | 408 'linux_util.cc', |
| 404 ], | 409 ], |
| 405 }, | 410 }, |
| 406 ], | 411 ], |
| 407 [ 'OS != "mac"', { | 412 [ 'OS != "mac"', { |
| 408 'sources!': [ | 413 'sources!': [ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 472 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
| 468 ], | 473 ], |
| 469 # TODO(gregoryd): direct_dependent_settings should be shared with the | 474 # TODO(gregoryd): direct_dependent_settings should be shared with the |
| 470 # 64-bit target, but it doesn't work due to a bug in gyp | 475 # 64-bit target, but it doesn't work due to a bug in gyp |
| 471 'direct_dependent_settings': { | 476 'direct_dependent_settings': { |
| 472 'include_dirs': [ | 477 'include_dirs': [ |
| 473 '..', | 478 '..', |
| 474 ], | 479 ], |
| 475 }, | 480 }, |
| 476 'conditions': [ | 481 'conditions': [ |
| 477 [ 'toolkit_uses_gtk==1', { | 482 [ 'use_glib==1', { |
| 478 'conditions': [ | 483 'conditions': [ |
| 479 [ 'chromeos==1', { | 484 [ 'chromeos==1', { |
| 480 'sources/': [ ['include', '_chromeos\\.cc$'] ] | 485 'sources/': [ ['include', '_chromeos\\.cc$'] ] |
| 481 }, | 486 }, |
| 482 ], | 487 ], |
| 483 [ 'linux_use_tcmalloc==0', { | 488 [ 'linux_use_tcmalloc==0', { |
| 484 'defines': [ | 489 'defines': [ |
| 485 'NO_TCMALLOC', | 490 'NO_TCMALLOC', |
| 486 ], | 491 ], |
| 487 'direct_dependent_settings': { | 492 'direct_dependent_settings': { |
| 488 'defines': [ | 493 'defines': [ |
| 489 'NO_TCMALLOC', | 494 'NO_TCMALLOC', |
| 490 ], | 495 ], |
| 491 }, | 496 }, |
| 492 }, | 497 }, |
| 493 ], | 498 ], |
| 499 [ 'toolkit_uses_gtk==1', { |
| 500 'dependencies': [ |
| 501 '../build/linux/system.gyp:gtk', |
| 502 ], |
| 503 'export_dependent_settings': [ |
| 504 '../build/linux/system.gyp:gtk', |
| 505 ], |
| 506 }], |
| 494 ], | 507 ], |
| 495 'dependencies': [ | 508 'dependencies': [ |
| 496 'symbolize', | 509 'symbolize', |
| 497 '../build/util/build_util.gyp:lastchange', | 510 '../build/util/build_util.gyp:lastchange', |
| 498 '../build/linux/system.gyp:gtk', | 511 '../build/linux/system.gyp:glib', |
| 499 '../build/linux/system.gyp:x11', | 512 '../build/linux/system.gyp:x11', |
| 500 'xdg_mime', | 513 'xdg_mime', |
| 501 ], | 514 ], |
| 502 'defines': [ | 515 'defines': [ |
| 503 'USE_SYMBOLIZE', | 516 'USE_SYMBOLIZE', |
| 504 ], | 517 ], |
| 505 'cflags': [ | 518 'cflags': [ |
| 506 '-Wno-write-strings', | 519 '-Wno-write-strings', |
| 507 ], | 520 ], |
| 508 'export_dependent_settings': [ | 521 'export_dependent_settings': [ |
| 509 '../build/linux/system.gyp:gtk', | 522 '../build/linux/system.gyp:glib', |
| 510 '../build/linux/system.gyp:x11', | 523 '../build/linux/system.gyp:x11', |
| 511 ], | 524 ], |
| 512 }, { # toolkit_uses_gtk!=1 | 525 }, { # toolkit_uses_gtk!=1 |
| 513 'sources/': [ | 526 'sources/': [ |
| 514 ['exclude', '/xdg_user_dirs/'], | 527 ['exclude', '/xdg_user_dirs/'], |
| 515 ['exclude', '_nss\.cc$'], | 528 ['exclude', '_nss\.cc$'], |
| 516 ], | 529 ], |
| 517 }], | 530 }], |
| 518 [ 'OS == "freebsd" or OS == "openbsd"', { | 531 [ 'OS == "freebsd" or OS == "openbsd"', { |
| 519 'link_settings': { | 532 'link_settings': { |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 'third_party/xdg_mime/xdgmimemagic.c', | 734 'third_party/xdg_mime/xdgmimemagic.c', |
| 722 'third_party/xdg_mime/xdgmimemagic.h', | 735 'third_party/xdg_mime/xdgmimemagic.h', |
| 723 'third_party/xdg_mime/xdgmimeparent.c', | 736 'third_party/xdg_mime/xdgmimeparent.c', |
| 724 'third_party/xdg_mime/xdgmimeparent.h', | 737 'third_party/xdg_mime/xdgmimeparent.h', |
| 725 ], | 738 ], |
| 726 }, | 739 }, |
| 727 ], | 740 ], |
| 728 }], | 741 }], |
| 729 ], | 742 ], |
| 730 } | 743 } |
| OLD | NEW |