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

Side by Side Diff: ui/gfx/surface/surface.gyp

Issue 7467007: Adding Wayland support for ui/gfx (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Adding missing WaylandDisplay include Created 9 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/surface/accelerated_surface_wayland.cc ('k') | ui/ui.gyp » ('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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 9
10 'target_defaults': { 10 'target_defaults': {
11 'conditions': [ 11 'conditions': [
12 ['toolkit_uses_gtk == 1', { 12 ['toolkit_uses_gtk == 1 or use_wayland == 1', {
13 'include_dirs': [ 13 'include_dirs': [
14 '<(DEPTH)/third_party/angle/include', 14 '<(DEPTH)/third_party/angle/include',
15 ], 15 ],
16 }], 16 }],
17 ], 17 ],
18 }, 18 },
19 'targets': [ 19 'targets': [
20 { 20 {
21 'target_name': 'surface', 21 'target_name': 'surface',
22 'type': 'static_library', 22 'type': 'static_library',
23 'dependencies': [ 23 'dependencies': [
24 '<(DEPTH)/base/base.gyp:base', 24 '<(DEPTH)/base/base.gyp:base',
25 '<(DEPTH)/skia/skia.gyp:skia', 25 '<(DEPTH)/skia/skia.gyp:skia',
26 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', 26 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl',
27 '<(DEPTH)/ui/ui.gyp:ui', 27 '<(DEPTH)/ui/ui.gyp:ui',
28 ], 28 ],
29 'sources': [ 29 'sources': [
30 'accelerated_surface_linux.cc', 30 'accelerated_surface_linux.cc',
31 'accelerated_surface_linux.h', 31 'accelerated_surface_linux.h',
32 'accelerated_surface_mac.cc', 32 'accelerated_surface_mac.cc',
33 'accelerated_surface_mac.h', 33 'accelerated_surface_mac.h',
34 'accelerated_surface_wayland.cc',
35 'accelerated_surface_wayland.h',
34 'io_surface_support_mac.cc', 36 'io_surface_support_mac.cc',
35 'io_surface_support_mac.h', 37 'io_surface_support_mac.h',
36 'transport_dib.h', 38 'transport_dib.h',
37 'transport_dib_linux.cc', 39 'transport_dib_linux.cc',
38 'transport_dib_mac.cc', 40 'transport_dib_mac.cc',
39 'transport_dib_win.cc', 41 'transport_dib_win.cc',
40 ], 42 ],
43 'conditions': [
44 ['use_wayland == 1', {
45 'sources/': [
46 ['exclude', 'accelerated_surface_linux.cc'],
47 ['exclude', 'accelerated_surface_linux.h'],
48 ],
49 }],
50 ],
41 }, 51 },
42 ], 52 ],
43 } 53 }
OLDNEW
« no previous file with comments | « ui/gfx/surface/accelerated_surface_wayland.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698