| 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': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'sources/': [ | 10 'sources/': [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 'targets': [ | 22 'targets': [ |
| 23 { | 23 { |
| 24 'target_name': 'compositor', | 24 'target_name': 'compositor', |
| 25 'type': '<(component)', | 25 'type': '<(component)', |
| 26 'dependencies': [ | 26 'dependencies': [ |
| 27 '<(DEPTH)/base/base.gyp:base', | 27 '<(DEPTH)/base/base.gyp:base', |
| 28 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 28 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 29 '<(DEPTH)/skia/skia.gyp:skia', | 29 '<(DEPTH)/skia/skia.gyp:skia', |
| 30 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 30 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
| 31 '<(DEPTH)/ui/ui.gyp:ui', | 31 '<(DEPTH)/ui/ui.gyp:ui', |
| 32 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | |
| 33 ], | 32 ], |
| 34 'defines': [ | 33 'defines': [ |
| 35 'COMPOSITOR_IMPLEMENTATION', | 34 'COMPOSITOR_IMPLEMENTATION', |
| 36 ], | 35 ], |
| 37 'sources': [ | 36 'sources': [ |
| 38 'compositor.cc', | 37 'compositor.cc', |
| 39 'compositor.h', | 38 'compositor.h', |
| 40 'compositor_export.h', | 39 'compositor_export.h', |
| 41 'compositor_gl.cc', | 40 'compositor_gl.cc', |
| 42 'compositor_gl.h', | 41 'compositor_gl.h', |
| 43 'compositor_cc.cc', | |
| 44 'compositor_cc.h', | |
| 45 'compositor_observer.h', | 42 'compositor_observer.h', |
| 46 'compositor_stub.cc', | 43 'compositor_stub.cc', |
| 47 'compositor_win.cc', | 44 'compositor_win.cc', |
| 48 'layer.cc', | 45 'layer.cc', |
| 49 'layer.h', | 46 'layer.h', |
| 50 'layer_animator.cc', | 47 'layer_animator.cc', |
| 51 'layer_animator.h', | 48 'layer_animator.h', |
| 52 'layer_animator_delegate.h', | 49 'layer_animator_delegate.h', |
| 53 ], | 50 ], |
| 54 'conditions': [ | 51 'conditions': [ |
| (...skipping 18 matching lines...) Expand all Loading... |
| 73 '-ldxerr.lib', | 70 '-ldxerr.lib', |
| 74 '-ldxguid.lib', | 71 '-ldxguid.lib', |
| 75 ] | 72 ] |
| 76 }, | 73 }, |
| 77 }], | 74 }], |
| 78 ['OS == "win" and views_compositor == 0', { | 75 ['OS == "win" and views_compositor == 0', { |
| 79 'sources/': [ | 76 'sources/': [ |
| 80 ['exclude', '^compositor_win.cc'], | 77 ['exclude', '^compositor_win.cc'], |
| 81 ], | 78 ], |
| 82 }], | 79 }], |
| 83 ['use_webkit_compositor == 1', { | |
| 84 'sources/': [ | |
| 85 ['exclude', '^compositor_(gl|win|stub).(h|cc)$'], | |
| 86 ], | |
| 87 'dependencies': [ | |
| 88 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_gpu', | |
| 89 ], | |
| 90 }, { | |
| 91 'sources!': [ | |
| 92 'compositor_cc.cc', | |
| 93 'compositor_cc.h', | |
| 94 ], | |
| 95 } | |
| 96 ], | |
| 97 ], | |
| 98 }, | |
| 99 { | |
| 100 'target_name': 'compositor_test_support', | |
| 101 'type': '<(component)', | |
| 102 'dependencies': [ | |
| 103 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | |
| 104 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit', | |
| 105 ], | |
| 106 'sources': [ | |
| 107 'compositor_test_support.cc', | |
| 108 'compositor_test_support.h', | |
| 109 ], | |
| 110 'conditions': [ | |
| 111 ['use_webkit_compositor == 1', { | |
| 112 'dependencies': [ | |
| 113 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | |
| 114 ], | |
| 115 }], | |
| 116 ], | 80 ], |
| 117 }, | 81 }, |
| 118 { | 82 { |
| 119 'target_name': 'compositor_unittests', | 83 'target_name': 'compositor_unittests', |
| 120 'type': 'executable', | 84 'type': 'executable', |
| 121 'dependencies': [ | 85 'dependencies': [ |
| 122 '<(DEPTH)/base/base.gyp:base', | 86 '<(DEPTH)/base/base.gyp:base', |
| 123 '<(DEPTH)/base/base.gyp:test_support_base', | 87 '<(DEPTH)/base/base.gyp:test_support_base', |
| 124 '<(DEPTH)/skia/skia.gyp:skia', | 88 '<(DEPTH)/skia/skia.gyp:skia', |
| 125 '<(DEPTH)/testing/gtest.gyp:gtest', | 89 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 126 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 90 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
| 127 '<(DEPTH)/ui/ui.gyp:gfx_resources', | 91 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
| 128 '<(DEPTH)/ui/ui.gyp:ui', | 92 '<(DEPTH)/ui/ui.gyp:ui', |
| 129 '<(DEPTH)/ui/ui.gyp:ui_resources', | 93 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 130 'compositor', | 94 'compositor', |
| 131 'compositor_test_support', | |
| 132 ], | 95 ], |
| 133 'sources': [ | 96 'sources': [ |
| 134 'layer_unittest.cc', | 97 'layer_unittest.cc', |
| 135 'run_all_unittests.cc', | 98 'run_all_unittests.cc', |
| 136 'test_compositor.cc', | 99 'test_compositor.cc', |
| 137 'test_compositor.h', | 100 'test_compositor.h', |
| 138 'test_compositor_host.h', | 101 'test_compositor_host.h', |
| 139 'test_compositor_host_linux.cc', | 102 'test_compositor_host_linux.cc', |
| 140 'test_compositor_host_win.cc', | 103 'test_compositor_host_win.cc', |
| 141 'test_suite.cc', | 104 'test_suite.cc', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 154 }], | 117 }], |
| 155 ['OS!="mac"', { | 118 ['OS!="mac"', { |
| 156 'dependencies': [ | 119 'dependencies': [ |
| 157 '<(DEPTH)/chrome/chrome.gyp:packed_resources', | 120 '<(DEPTH)/chrome/chrome.gyp:packed_resources', |
| 158 ], | 121 ], |
| 159 }], | 122 }], |
| 160 ], | 123 ], |
| 161 }, | 124 }, |
| 162 ], | 125 ], |
| 163 } | 126 } |
| OLD | NEW |