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

Side by Side Diff: base/base.gypi

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

Powered by Google App Engine
This is Rietveld 408576698