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

Side by Side Diff: ui/ui.gyp

Issue 9722032: aura: Use platform independent skia::PlatformCanvas when possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use platform independent PlatformCanvas when use_aura=1 Created 8 years, 9 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
« skia/skia.gyp ('K') | « ui/gfx/compositor/compositor.gyp ('k') | 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) 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 'ui_controls/ui_controls_export.h', 366 'ui_controls/ui_controls_export.h',
367 'ui_controls/ui_controls_internal_win.h', 367 'ui_controls/ui_controls_internal_win.h',
368 'ui_controls/ui_controls_internal_win.cc', 368 'ui_controls/ui_controls_internal_win.cc',
369 'ui_controls/ui_controls_gtk.cc', 369 'ui_controls/ui_controls_gtk.cc',
370 'ui_controls/ui_controls_mac.mm', 370 'ui_controls/ui_controls_mac.mm',
371 'ui_controls/ui_controls_win.cc', 371 'ui_controls/ui_controls_win.cc',
372 ], 372 ],
373 'conditions': [ 373 'conditions': [
374 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc. 374 # TODO(asvitkine): Switch all platforms to use canvas_skia.cc.
375 # http://crbug.com/105550 375 # http://crbug.com/105550
376 ['use_canvas_skia==1', { 376 ['use_canvas_skia==1 or use_aura==1', {
piman 2012/03/21 16:54:19 I think it would be more maintainable to set use_c
Alexei Svitkine (slow) 2012/03/21 16:59:20 Actually, I agree on this front. Was a little trig
377 'sources!': [ 377 'sources!': [
378 'gfx/canvas_android.cc', 378 'gfx/canvas_android.cc',
379 'gfx/canvas_linux.cc', 379 'gfx/canvas_linux.cc',
380 'gfx/canvas_mac.mm', 380 'gfx/canvas_mac.mm',
381 'gfx/canvas_win.cc', 381 'gfx/canvas_win.cc',
382 ], 382 ],
383 }, { # use_canvas_skia!=1 383 }, { # use_canvas_skia!=1 and use_aura!=1
384 'sources!': [ 384 'sources!': [
385 'gfx/canvas_skia.cc', 385 'gfx/canvas_skia.cc',
386 ], 386 ],
387 }], 387 }],
388 ['use_aura==1', { 388 ['use_aura==1', {
389 'sources/': [ 389 'sources/': [
390 ['exclude', 'gfx/gtk_'], 390 ['exclude', 'gfx/gtk_'],
391 ['exclude', 'gfx/gtk_util.cc'], 391 ['exclude', 'gfx/gtk_util.cc'],
392 ['exclude', 'gfx/gtk_util.h'], 392 ['exclude', 'gfx/gtk_util.h'],
393 ['exclude', 'gfx/screen_gtk.cc'], 393 ['exclude', 'gfx/screen_gtk.cc'],
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \ 694 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \
695 'os.chmod(\'<(ui_copy_dest)\', 0700)' 695 'os.chmod(\'<(ui_copy_dest)\', 0700)'
696 ] 696 ]
697 } 697 }
698 ], 698 ],
699 }, 699 },
700 ], 700 ],
701 }], 701 }],
702 ], 702 ],
703 } 703 }
OLDNEW
« skia/skia.gyp ('K') | « ui/gfx/compositor/compositor.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698