| 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': [ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 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 } |
| OLD | NEW |