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

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: Replaced the way WaylandDisplay is being retrieved Created 9 years, 5 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
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 and 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 ['use_wayland == 1', {
18 'sources/': [
19 ['exclude', '_(linux)\\.cc$'],
20 ],
21 }, {
22 'sources/': [
23 ['exclude', '_(wayland)\\.cc$'],
24 ],
25 }],
17 ], 26 ],
18 }, 27 },
19 'targets': [ 28 'targets': [
20 { 29 {
21 'target_name': 'surface', 30 'target_name': 'surface',
22 'type': 'static_library', 31 'type': 'static_library',
23 'dependencies': [ 32 'dependencies': [
24 '<(DEPTH)/base/base.gyp:base', 33 '<(DEPTH)/base/base.gyp:base',
25 '<(DEPTH)/skia/skia.gyp:skia', 34 '<(DEPTH)/skia/skia.gyp:skia',
26 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', 35 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl',
27 '<(DEPTH)/ui/ui.gyp:ui', 36 '<(DEPTH)/ui/ui.gyp:ui',
28 ], 37 ],
29 'sources': [ 38 'sources': [
30 'accelerated_surface_linux.cc', 39 'accelerated_surface_linux.cc',
31 'accelerated_surface_linux.h', 40 'accelerated_surface_linux.h',
32 'accelerated_surface_mac.cc', 41 'accelerated_surface_mac.cc',
33 'accelerated_surface_mac.h', 42 'accelerated_surface_mac.h',
43 'accelerated_surface_wayland.cc',
44 'accelerated_surface_wayland.h',
34 'io_surface_support_mac.cc', 45 'io_surface_support_mac.cc',
35 'io_surface_support_mac.h', 46 'io_surface_support_mac.h',
36 'transport_dib.h', 47 'transport_dib.h',
37 'transport_dib_linux.cc', 48 'transport_dib_linux.cc',
38 'transport_dib_mac.cc', 49 'transport_dib_mac.cc',
39 'transport_dib_win.cc', 50 'transport_dib_win.cc',
40 ], 51 ],
52 'conditions': [
53 ['use_wayland == 1', {
54 'sources/': [
55 ['include', 'transport_dib_linux.cc'],
jonathan.backer 2011/07/26 14:56:27 why is it necessary to explicitly include this. do
56 ],
57 }],
58 ],
41 }, 59 },
42 ], 60 ],
43 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698