| 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)\\.cc$'],] | 12 'sources/': [['include', '_(gl)\\.cc$'],] |
| 13 }], | 13 }], |
| 14 ['OS == "win"', { | 14 ['OS == "win"', { |
| 15 'sources/': [['include', '_(win)\\.cc$'],] | 15 'sources/': [['include', '_(win)\\.cc$'],] |
| 16 }], | 16 }], |
| 17 ], | 17 ], |
| 18 }, | 18 }, |
| 19 'targets': [ | 19 'targets': [ |
| 20 { | 20 { |
| 21 'target_name': 'compositor', | 21 'target_name': 'compositor', |
| 22 'type': '<(library)', | 22 'type': 'static_library', |
| 23 'msvs_guid': '21CEE0E3-6F4E-4F01-B8C9-F7751CC21AA9', | 23 'msvs_guid': '21CEE0E3-6F4E-4F01-B8C9-F7751CC21AA9', |
| 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 ], | 34 ], |
| 35 'conditions': [ | 35 'conditions': [ |
| 36 ['os_posix == 1 and OS != "mac"', { | 36 ['os_posix == 1 and OS != "mac"', { |
| 37 'sources!': [ | 37 'sources!': [ |
| 38 'compositor.cc', | 38 'compositor.cc', |
| 39 ], | 39 ], |
| 40 }], | 40 }], |
| 41 ], | 41 ], |
| 42 }, | 42 }, |
| 43 ], | 43 ], |
| 44 } | 44 } |
| OLD | NEW |