| 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_gfx', | 27 '<(DEPTH)/ui/ui.gyp:ui', |
| 28 ], | 28 ], |
| 29 'sources': [ | 29 'sources': [ |
| 30 'compositor.cc', | 30 'compositor.cc', |
| 31 'compositor.h', | 31 'compositor.h', |
| 32 'compositor_gl.cc', | 32 'compositor_gl.cc', |
| 33 'compositor_gl.h', | 33 'compositor_gl.h', |
| 34 'compositor_win.cc', | 34 'compositor_win.cc', |
| 35 'layer.cc', | 35 'layer.cc', |
| 36 'layer.h', | 36 'layer.h', |
| 37 'layer_animator.cc', | 37 'layer_animator.cc', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 63 }], | 63 }], |
| 64 ['OS == "win" and views_compositor == 0', { | 64 ['OS == "win" and views_compositor == 0', { |
| 65 'sources/': [ | 65 'sources/': [ |
| 66 ['exclude', '^compositor_win.cc'], | 66 ['exclude', '^compositor_win.cc'], |
| 67 ], | 67 ], |
| 68 }], | 68 }], |
| 69 ], | 69 ], |
| 70 }, | 70 }, |
| 71 ], | 71 ], |
| 72 } | 72 } |
| OLD | NEW |