Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: base/base.gypi

Issue 7904034: aura: Explicitly disable GTK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 'mac_framework_dirs': [ 375 'mac_framework_dirs': [
376 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', 376 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks',
377 ], 377 ],
378 'conditions': [ 378 'conditions': [
379 [ 'use_wayland == 1', { 379 [ 'use_wayland == 1', {
380 'sources!': [ 380 'sources!': [
381 'message_pump_gtk.cc', 381 'message_pump_gtk.cc',
382 'message_pump_x.cc', 382 'message_pump_x.cc',
383 ], 383 ],
384 }], 384 }],
385 [ 'toolkit_uses_gtk==0', { 385 [ 'toolkit_uses_glib==0', {
386 'sources/': [ 386 'sources/': [
387 ['exclude', '^nix/'], 387 ['exclude', '^nix/'],
388 ], 388 ],
389 'sources!': [ 389 'sources!': [
390 'atomicops_internals_x86_gcc.cc', 390 'atomicops_internals_x86_gcc.cc',
391 'message_pump_glib.cc', 391 'message_pump_glib.cc',
392 'message_pump_gtk.cc',
393 'message_pump_x.cc', 392 'message_pump_x.cc',
394 ], 393 ],
395 }], 394 }],
395 [ 'toolkit_uses_gtk==0', {
396 'sources!': [
397 'message_pump_gtk.cc',
398 ],
399 }],
396 [ 'touchui==0 and use_aura==0', { 400 [ 'touchui==0 and use_aura==0', {
397 'sources!' : [ 'message_pump_x.cc', ], 401 'sources!' : [ 'message_pump_x.cc', ],
398 }, { 402 }, {
399 'sources!' : [ 'message_pump_gtk.cc', ], 403 'sources!' : [ 'message_pump_gtk.cc', ],
404 'sources' : [ 'message_pump_x.cc', ],
400 }], 405 }],
401 [ 'OS != "linux"', { 406 [ 'OS != "linux"', {
402 'sources!': [ 407 'sources!': [
403 # Not automatically excluded by the *linux.cc rules. 408 # Not automatically excluded by the *linux.cc rules.
404 'linux_util.cc', 409 'linux_util.cc',
405 ], 410 ],
406 }, 411 },
407 ], 412 ],
408 [ 'OS != "mac"', { 413 [ 'OS != "mac"', {
409 'sources!': [ 414 'sources!': [
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions', 473 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat ions',
469 ], 474 ],
470 # TODO(gregoryd): direct_dependent_settings should be shared with the 475 # TODO(gregoryd): direct_dependent_settings should be shared with the
471 # 64-bit target, but it doesn't work due to a bug in gyp 476 # 64-bit target, but it doesn't work due to a bug in gyp
472 'direct_dependent_settings': { 477 'direct_dependent_settings': {
473 'include_dirs': [ 478 'include_dirs': [
474 '..', 479 '..',
475 ], 480 ],
476 }, 481 },
477 'conditions': [ 482 'conditions': [
478 [ 'toolkit_uses_gtk==1', { 483 [ 'toolkit_uses_glib==1', {
479 'conditions': [ 484 'conditions': [
480 [ 'chromeos==1', { 485 [ 'chromeos==1', {
481 'sources/': [ ['include', '_chromeos\\.cc$'] ] 486 'sources/': [ ['include', '_chromeos\\.cc$'] ]
482 }, 487 },
483 ], 488 ],
484 [ 'linux_use_tcmalloc==0', { 489 [ 'linux_use_tcmalloc==0', {
485 'defines': [ 490 'defines': [
486 'NO_TCMALLOC', 491 'NO_TCMALLOC',
487 ], 492 ],
488 'direct_dependent_settings': { 493 'direct_dependent_settings': {
489 'defines': [ 494 'defines': [
490 'NO_TCMALLOC', 495 'NO_TCMALLOC',
491 ], 496 ],
492 }, 497 },
493 }, 498 },
494 ], 499 ],
500 [ 'toolkit_uses_gtk==1', {
501 'dependencies': [
502 '../build/linux/system.gyp:gtk',
503 ],
504 'export_dependent_settings': [
505 '../build/linux/system.gyp:gtk',
506 ],
507 }],
495 ], 508 ],
496 'dependencies': [ 509 'dependencies': [
497 'symbolize', 510 'symbolize',
498 '../build/util/build_util.gyp:lastchange', 511 '../build/util/build_util.gyp:lastchange',
499 '../build/linux/system.gyp:gtk', 512 '../build/linux/system.gyp:glib',
500 '../build/linux/system.gyp:x11', 513 '../build/linux/system.gyp:x11',
501 'xdg_mime', 514 'xdg_mime',
502 ], 515 ],
503 'defines': [ 516 'defines': [
504 'USE_SYMBOLIZE', 517 'USE_SYMBOLIZE',
505 ], 518 ],
506 'cflags': [ 519 'cflags': [
507 '-Wno-write-strings', 520 '-Wno-write-strings',
508 ], 521 ],
509 'export_dependent_settings': [ 522 'export_dependent_settings': [
510 '../build/linux/system.gyp:gtk', 523 '../build/linux/system.gyp:glib',
511 '../build/linux/system.gyp:x11', 524 '../build/linux/system.gyp:x11',
512 ], 525 ],
513 }, { # toolkit_uses_gtk!=1 526 }, { # toolkit_uses_gtk!=1
514 'sources/': [ 527 'sources/': [
515 ['exclude', '/xdg_user_dirs/'], 528 ['exclude', '/xdg_user_dirs/'],
516 ['exclude', '_nss\.cc$'], 529 ['exclude', '_nss\.cc$'],
517 ], 530 ],
518 }], 531 }],
519 [ 'OS == "freebsd" or OS == "openbsd"', { 532 [ 'OS == "freebsd" or OS == "openbsd"', {
520 'link_settings': { 533 'link_settings': {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 'third_party/xdg_mime/xdgmimemagic.c', 735 'third_party/xdg_mime/xdgmimemagic.c',
723 'third_party/xdg_mime/xdgmimemagic.h', 736 'third_party/xdg_mime/xdgmimemagic.h',
724 'third_party/xdg_mime/xdgmimeparent.c', 737 'third_party/xdg_mime/xdgmimeparent.c',
725 'third_party/xdg_mime/xdgmimeparent.h', 738 'third_party/xdg_mime/xdgmimeparent.h',
726 ], 739 ],
727 }, 740 },
728 ], 741 ],
729 }], 742 }],
730 ], 743 ],
731 } 744 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698