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

Side by Side Diff: ui/ui.gyp

Issue 10821104: Support GrabWindowSnapshot with no g_browser_process (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: SaveScreenSnapshotToDirectory uses ui::GrabWindowSnapshot Created 8 years, 4 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 'ui_resources.gypi', 10 'ui_resources.gypi',
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 'gfx/transform_util.h', 457 'gfx/transform_util.h',
458 'gfx/video_decode_acceleration_support_mac.h', 458 'gfx/video_decode_acceleration_support_mac.h',
459 'gfx/video_decode_acceleration_support_mac.mm', 459 'gfx/video_decode_acceleration_support_mac.mm',
460 'ui_controls/ui_controls.h', 460 'ui_controls/ui_controls.h',
461 'ui_controls/ui_controls_aura.cc', 461 'ui_controls/ui_controls_aura.cc',
462 'ui_controls/ui_controls_internal_win.h', 462 'ui_controls/ui_controls_internal_win.h',
463 'ui_controls/ui_controls_internal_win.cc', 463 'ui_controls/ui_controls_internal_win.cc',
464 'ui_controls/ui_controls_gtk.cc', 464 'ui_controls/ui_controls_gtk.cc',
465 'ui_controls/ui_controls_mac.mm', 465 'ui_controls/ui_controls_mac.mm',
466 'ui_controls/ui_controls_win.cc', 466 'ui_controls/ui_controls_win.cc',
467 'window_snapshot/window_snapshot_aura.cc',
468 'window_snapshot/window_snapshot_gtk.cc',
469 'window_snapshot/window_snapshot_mac.mm',
470 'window_snapshot/window_snapshot_win.cc',
467 ], 471 ],
468 'conditions': [ 472 'conditions': [
469 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc. 473 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc.
470 # http://crbug.com/105550 474 # http://crbug.com/105550
471 ['use_canvas_skia==1', { 475 ['use_canvas_skia==1', {
472 'sources!': [ 476 'sources!': [
473 'gfx/canvas_android.cc', 477 'gfx/canvas_android.cc',
474 'gfx/canvas_linux.cc', 478 'gfx/canvas_linux.cc',
475 'gfx/canvas_mac.mm', 479 'gfx/canvas_mac.mm',
476 ], 480 ],
(...skipping 16 matching lines...) Expand all
493 ['exclude', 'base/win/mouse_wheel_util.h'], 497 ['exclude', 'base/win/mouse_wheel_util.h'],
494 ['exclude', 'base/work_area_watcher_observer.h'], 498 ['exclude', 'base/work_area_watcher_observer.h'],
495 ['exclude', 'base/x/active_window_watcher_x.cc'], 499 ['exclude', 'base/x/active_window_watcher_x.cc'],
496 ['exclude', 'base/x/active_window_watcher_x.h'], 500 ['exclude', 'base/x/active_window_watcher_x.h'],
497 ['exclude', 'base/x/active_window_watcher_x_observer.h'], 501 ['exclude', 'base/x/active_window_watcher_x_observer.h'],
498 ['exclude', 'base/x/root_window_property_watcher_x.cc'], 502 ['exclude', 'base/x/root_window_property_watcher_x.cc'],
499 ['exclude', 'base/x/root_window_property_watcher_x.h'], 503 ['exclude', 'base/x/root_window_property_watcher_x.h'],
500 ['exclude', 'base/x/work_area_watcher_x.cc'], 504 ['exclude', 'base/x/work_area_watcher_x.cc'],
501 ['exclude', 'base/x/work_area_watcher_x.h'], 505 ['exclude', 'base/x/work_area_watcher_x.h'],
502 ['exclude', 'ui_controls_win.cc'], 506 ['exclude', 'ui_controls_win.cc'],
507 ['exclude', 'window_snapshot/window_snapshot_win.cc'],
503 ], 508 ],
504 }, { # use_aura!=1 509 }, { # use_aura!=1
505 'sources!': [ 510 'sources!': [
506 'base/cursor/cursor.cc', 511 'base/cursor/cursor.cc',
507 'base/cursor/cursor.h', 512 'base/cursor/cursor.h',
508 'base/cursor/cursor_win.cc', 513 'base/cursor/cursor_win.cc',
509 'base/cursor/cursor_x11.cc', 514 'base/cursor/cursor_x11.cc',
510 'base/native_theme/native_theme_aura.cc', 515 'base/native_theme/native_theme_aura.cc',
511 'base/native_theme/native_theme_aura.h', 516 'base/native_theme/native_theme_aura.h',
512 ] 517 ]
(...skipping 28 matching lines...) Expand all
541 # font_gtk.cc uses fontconfig. 546 # font_gtk.cc uses fontconfig.
542 '../build/linux/system.gyp:fontconfig', 547 '../build/linux/system.gyp:fontconfig',
543 '../build/linux/system.gyp:glib', 548 '../build/linux/system.gyp:glib',
544 '../build/linux/system.gyp:pangocairo', 549 '../build/linux/system.gyp:pangocairo',
545 '../build/linux/system.gyp:x11', 550 '../build/linux/system.gyp:x11',
546 '../build/linux/system.gyp:xext', 551 '../build/linux/system.gyp:xext',
547 '../build/linux/system.gyp:xfixes', 552 '../build/linux/system.gyp:xfixes',
548 ], 553 ],
549 'link_settings': { 554 'link_settings': {
550 'libraries': [ 555 'libraries': [
551 '-lXcursor', # For XCursor* function calls in x11_util.cc. 556 '-lXcursor', # For XCursor* function calls in x11_util.cc.
552 '-lXrender', # For XRender* function calls in x11_util.cc. 557 '-lXrender', # For XRender* function calls in x11_util.cc.
553 ], 558 ],
554 }, 559 },
555 'conditions': [ 560 'conditions': [
556 ['toolkit_views==0', { 561 ['toolkit_views==0', {
557 # Note: because of gyp predence rules this has to be defined as 562 # Note: because of gyp predence rules this has to be defined as
558 # 'sources/' rather than 'sources!'. 563 # 'sources/' rather than 'sources!'.
559 'sources/': [ 564 'sources/': [
560 ['exclude', '^base/dragdrop/drag_drop_types_gtk.cc'], 565 ['exclude', '^base/dragdrop/drag_drop_types_gtk.cc'],
561 ['exclude', '^base/dragdrop/drag_utils_gtk.cc'], 566 ['exclude', '^base/dragdrop/drag_utils_gtk.cc'],
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \ 763 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \
759 'os.chmod(\'<(ui_copy_dest)\', 0700)' 764 'os.chmod(\'<(ui_copy_dest)\', 0700)'
760 ] 765 ]
761 } 766 }
762 ], 767 ],
763 }, 768 },
764 ], 769 ],
765 }], 770 }],
766 ], 771 ],
767 } 772 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698