OLD | NEW |
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': [ |
11 ['os_posix == 1 and OS != "mac"', { | 11 ['os_posix == 1 and OS != "mac"', { |
12 'sources/': [['include', '_(gl)\\.(h|cc)$'],] | 12 'sources/': [['include', '_(gl)\\.(h|cc)$'],] |
13 }], | 13 }], |
14 ['OS == "win"', { | 14 ['OS == "win"', { |
15 'sources/': [['include', '_(win)\\.(h|cc)$'],] | 15 'sources/': [['include', '_(win)\\.(h|cc)$'],] |
16 }], | 16 }], |
17 ], | 17 ], |
18 }, | 18 }, |
19 'targets': [ | 19 'targets': [ |
20 { | 20 { |
21 'target_name': 'compositor', | 21 'target_name': 'compositor', |
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_base', |
27 '<(DEPTH)/ui/ui.gyp:ui_gfx', | 28 '<(DEPTH)/ui/ui.gyp:ui_gfx', |
28 ], | 29 ], |
29 'sources': [ | 30 'sources': [ |
30 'compositor.cc', | 31 'compositor.cc', |
31 'compositor.h', | 32 'compositor.h', |
32 'compositor_gl.cc', | 33 'compositor_gl.cc', |
33 'compositor_gl.h', | 34 'compositor_gl.h', |
34 'compositor_win.cc', | 35 'compositor_win.cc', |
35 'layer.cc', | 36 'layer.cc', |
36 'layer.h', | 37 'layer.h', |
(...skipping 26 matching lines...) Expand all Loading... |
63 }], | 64 }], |
64 ['OS == "win" and views_compositor == 0', { | 65 ['OS == "win" and views_compositor == 0', { |
65 'sources/': [ | 66 'sources/': [ |
66 ['exclude', '^compositor_win.cc'], | 67 ['exclude', '^compositor_win.cc'], |
67 ], | 68 ], |
68 }], | 69 }], |
69 ], | 70 ], |
70 }, | 71 }, |
71 ], | 72 ], |
72 } | 73 } |
OLD | NEW |