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

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

Issue 7067029: Prototype compositor to render views to a texture using d3d 10. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gyp Created 9 years, 7 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 'target_defaults': { 6 'target_defaults': {
7 'sources/': [ 7 'sources/': [
8 ['exclude', '_(gl|win)\\.(cc?)$'], 8 ['exclude', '_(gl|win)\\.(cc?)$'],
9 ], 9 ],
10 'conditions': [ 10 'conditions': [
(...skipping 13 matching lines...) Expand all
24 'dependencies': [ 24 'dependencies': [
25 '<(DEPTH)/base/base.gyp:base', 25 '<(DEPTH)/base/base.gyp:base',
26 '<(DEPTH)/skia/skia.gyp:skia', 26 '<(DEPTH)/skia/skia.gyp:skia',
27 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', 27 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl',
28 '<(DEPTH)/ui/ui.gyp:ui_gfx', 28 '<(DEPTH)/ui/ui.gyp:ui_gfx',
29 ], 29 ],
30 'sources': [ 30 'sources': [
31 'compositor.cc', 31 'compositor.cc',
32 'compositor.h', 32 'compositor.h',
33 'compositor_gl.cc', 33 'compositor_gl.cc',
34 'compositor_win.cc',
34 ], 35 ],
35 'conditions': [ 36 'conditions': [
36 ['os_posix == 1 and OS != "mac"', { 37 ['os_posix == 1 and OS != "mac"', {
37 'sources!': [ 38 'sources!': [
38 'compositor.cc', 39 'compositor.cc',
39 ], 40 ],
40 'link_settings': { 41 'link_settings': {
41 'libraries': [ 42 'libraries': [
42 '-lGL', 43 '-lGL',
43 ], 44 ],
44 }, 45 },
45 }], 46 }],
47 ['OS == "win" and views_compositor == 1', {
48 'sources!': [
49 'compositor.cc',
50 ],
51 # TODO(sky): before we make this real need to remove
52 # IDR_BITMAP_BRUSH_IMAGE.
53 'dependencies': [
54 '<(DEPTH)/ui/ui.gyp:gfx_resources',
55 ],
56 'link_settings': {
57 'libraries': [
58 '-ld3d10.lib',
59 '-ld3dx10d.lib',
60 '-ldxerr.lib',
61 '-ldxguid.lib',
62 ]
63 },
64 }],
65 ['OS == "win" and views_compositor == 0', {
66 'sources/': [
67 ['exclude', '^compositor_win.cc'],
68 ],
69 }],
46 ], 70 ],
47 }, 71 },
48 ], 72 ],
49 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698