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

Side by Side Diff: base/base.gypi

Issue 8508039: Do not build message_pump_x.cc when use_wayland (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback. Created 9 years, 1 month 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 | « no previous file | no next file » | 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 '..', 401 '..',
402 ], 402 ],
403 # These warnings are needed for the files in third_party\dmg_fp. 403 # These warnings are needed for the files in third_party\dmg_fp.
404 'msvs_disabled_warnings': [ 404 'msvs_disabled_warnings': [
405 4244, 4554, 4018, 4102, 405 4244, 4554, 4018, 4102,
406 ], 406 ],
407 'mac_framework_dirs': [ 407 'mac_framework_dirs': [
408 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', 408 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks',
409 ], 409 ],
410 'conditions': [ 410 'conditions': [
411 [ 'use_wayland == 1', {
412 'sources!': [
413 'message_pump_gtk.cc',
414 'message_pump_x.cc',
415 ],
416 }],
417 [ 'use_glib==0', { 411 [ 'use_glib==0', {
418 'sources/': [ 412 'sources/': [
419 ['exclude', '^nix/'], 413 ['exclude', '^nix/'],
420 ], 414 ],
421 'sources!': [ 415 'sources!': [
422 'atomicops_internals_x86_gcc.cc', 416 'atomicops_internals_x86_gcc.cc',
423 'message_pump_glib.cc', 417 'message_pump_glib.cc',
424 'message_pump_x.cc', 418 'message_pump_x.cc',
425 ], 419 ],
426 }], 420 }],
427 [ 'toolkit_uses_gtk==0', { 421 [ 'toolkit_uses_gtk==0', {
428 'sources!': [ 'message_pump_gtk.cc', ], 422 'sources!': [ 'message_pump_gtk.cc', ],
429 }], 423 }],
430 [ '(touchui==0 and use_aura==0) or OS == "win"', { 424 [ '(touchui==0 and use_aura==0) or OS == "win"', {
431 'sources!' : [ 'message_pump_x.cc', ], 425 'sources!' : [ 'message_pump_x.cc', ],
432 }, { 426 }, {
433 'sources!' : [ 'message_pump_gtk.cc', ], 427 'sources!' : [ 'message_pump_gtk.cc', ],
434 'sources/' : [ [ 'include', 'message_pump_x.cc', ] ], 428 'sources/' : [ [ 'include', '^message_pump_x\\.cc$', ] ],
429 }],
430 [ 'use_wayland==1', {
431 'sources/': [
432 [ 'exclude', '^message_pump_gtk\\.cc$',],
433 [ 'exclude', '^message_pump_x\\.cc$',],
434 ],
435 }], 435 }],
436 [ 'OS != "linux" and OS != "openbsd"', { 436 [ 'OS != "linux" and OS != "openbsd"', {
437 'sources!': [ 437 'sources!': [
438 # Not automatically excluded by the *linux.cc rules. 438 # Not automatically excluded by the *linux.cc rules.
439 'linux_util.cc', 439 'linux_util.cc',
440 ], 440 ],
441 }, 441 },
442 ], 442 ],
443 [ 'OS == "android"', { 443 [ 'OS == "android"', {
444 'sources!': [ 444 'sources!': [
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 'third_party/xdg_mime/xdgmimemagic.c', 831 'third_party/xdg_mime/xdgmimemagic.c',
832 'third_party/xdg_mime/xdgmimemagic.h', 832 'third_party/xdg_mime/xdgmimemagic.h',
833 'third_party/xdg_mime/xdgmimeparent.c', 833 'third_party/xdg_mime/xdgmimeparent.c',
834 'third_party/xdg_mime/xdgmimeparent.h', 834 'third_party/xdg_mime/xdgmimeparent.h',
835 ], 835 ],
836 }, 836 },
837 ], 837 ],
838 }], 838 }],
839 ], 839 ],
840 } 840 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698