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 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
6 'target_defaults': { | 9 'target_defaults': { |
7 'sources/': [ | 10 'sources/': [ |
8 ['exclude', '_(gl|win)\\.(cc?)$'], | 11 ['exclude', '_(gl|win)\\.(cc?)$'], |
9 ], | 12 ], |
10 'conditions': [ | 13 'conditions': [ |
11 ['os_posix == 1 and OS != "mac"', { | 14 ['os_posix == 1 and OS != "mac"', { |
12 'sources/': [['include', '_(gl)\\.(h|cc)$'],] | 15 'sources/': [['include', '_(gl)\\.(h|cc)$'],] |
13 }], | 16 }], |
14 ['OS == "win"', { | 17 ['OS == "win"', { |
15 'sources/': [['include', '_(win)\\.(h|cc)$'],] | 18 'sources/': [['include', '_(win)\\.(h|cc)$'],] |
16 }], | 19 }], |
17 ], | 20 ], |
18 }, | 21 }, |
19 'targets': [ | 22 'targets': [ |
20 { | 23 { |
21 'target_name': 'compositor', | 24 'target_name': 'compositor', |
22 'type': 'static_library', | 25 'type': 'static_library', |
23 'dependencies': [ | 26 'dependencies': [ |
24 '<(DEPTH)/base/base.gyp:base', | 27 '<(DEPTH)/base/base.gyp:base', |
25 '<(DEPTH)/skia/skia.gyp:skia', | 28 '<(DEPTH)/skia/skia.gyp:skia', |
26 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 29 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
27 '<(DEPTH)/ui/ui.gyp:ui_gfx', | 30 '<(DEPTH)/ui/ui.gyp:ui', |
28 ], | 31 ], |
29 'sources': [ | 32 'sources': [ |
30 'compositor.cc', | 33 'compositor.cc', |
31 'compositor.h', | 34 'compositor.h', |
32 'compositor_gl.cc', | 35 'compositor_gl.cc', |
33 'compositor_gl.h', | 36 'compositor_gl.h', |
34 'compositor_win.cc', | 37 'compositor_win.cc', |
35 'layer.cc', | 38 'layer.cc', |
36 'layer.h', | 39 'layer.h', |
37 'layer_animator.cc', | 40 'layer_animator.cc', |
(...skipping 25 matching lines...) Expand all Loading... |
63 }], | 66 }], |
64 ['OS == "win" and views_compositor == 0', { | 67 ['OS == "win" and views_compositor == 0', { |
65 'sources/': [ | 68 'sources/': [ |
66 ['exclude', '^compositor_win.cc'], | 69 ['exclude', '^compositor_win.cc'], |
67 ], | 70 ], |
68 }], | 71 }], |
69 ], | 72 ], |
70 }, | 73 }, |
71 ], | 74 ], |
72 } | 75 } |
OLD | NEW |