| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 ], | 100 ], |
| 101 } | 101 } |
| 102 ], | 102 ], |
| 103 ], | 103 ], |
| 104 }, | 104 }, |
| 105 { | 105 { |
| 106 'target_name': 'compositor_test_support', | 106 'target_name': 'compositor_test_support', |
| 107 'type': 'static_library', | 107 'type': 'static_library', |
| 108 'dependencies': [ | 108 'dependencies': [ |
| 109 '<(DEPTH)/base/base.gyp:base', | 109 '<(DEPTH)/base/base.gyp:base', |
| 110 '<(DEPTH)/skia/skia.gyp:skia', |
| 110 ], | 111 ], |
| 111 'sources': [ | 112 'sources': [ |
| 112 'compositor_test_support.cc', | 113 'compositor_test_support.cc', |
| 113 'compositor_test_support.h', | 114 'compositor_test_support.h', |
| 114 ], | 115 ], |
| 115 'conditions': [ | 116 'conditions': [ |
| 116 ['use_webkit_compositor == 1', { | 117 ['use_webkit_compositor == 1', { |
| 117 'dependencies': [ | 118 'dependencies': [ |
| 118 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | 119 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', |
| 119 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', | 120 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web
kit', |
| 120 ], | 121 ], |
| 121 }], | 122 }], |
| 123 ['views_compositor==1', { |
| 124 'sources': [ |
| 125 'compositor.cc', |
| 126 'compositor.h', |
| 127 'layer.cc', |
| 128 'layer.h', |
| 129 'layer_animator.cc', |
| 130 'layer_animator.h', |
| 131 'layer_animator_delegate.h', |
| 132 'test_compositor.cc', |
| 133 'test_compositor.h', |
| 134 'test_texture.cc', |
| 135 'test_texture.h', |
| 136 ], |
| 137 }], |
| 122 ], | 138 ], |
| 123 }, | 139 }, |
| 124 { | 140 { |
| 125 'target_name': 'compositor_unittests', | 141 'target_name': 'compositor_unittests', |
| 126 'type': 'executable', | 142 'type': 'executable', |
| 127 'dependencies': [ | 143 'dependencies': [ |
| 128 '<(DEPTH)/base/base.gyp:base', | 144 '<(DEPTH)/base/base.gyp:base', |
| 129 '<(DEPTH)/base/base.gyp:test_support_base', | 145 '<(DEPTH)/base/base.gyp:test_support_base', |
| 130 '<(DEPTH)/skia/skia.gyp:skia', | 146 '<(DEPTH)/skia/skia.gyp:skia', |
| 131 '<(DEPTH)/testing/gtest.gyp:gtest', | 147 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 132 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 148 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
| 133 '<(DEPTH)/ui/ui.gyp:gfx_resources', | 149 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
| 134 '<(DEPTH)/ui/ui.gyp:ui', | 150 '<(DEPTH)/ui/ui.gyp:ui', |
| 135 '<(DEPTH)/ui/ui.gyp:ui_resources', | 151 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 136 'compositor', | 152 'compositor', |
| 137 'compositor_test_support', | 153 'compositor_test_support', |
| 138 'test_compositor', | |
| 139 ], | 154 ], |
| 140 'sources': [ | 155 'sources': [ |
| 141 'layer_animation_element_unittest.cc', | 156 'layer_animation_element_unittest.cc', |
| 142 'layer_animation_sequence_unittest.cc', | 157 'layer_animation_sequence_unittest.cc', |
| 143 'layer_animator_unittest.cc', | 158 'layer_animator_unittest.cc', |
| 144 'layer_unittest.cc', | 159 'layer_unittest.cc', |
| 145 'run_all_unittests.cc', | 160 'run_all_unittests.cc', |
| 146 'test_compositor_host.h', | 161 'test_compositor_host.h', |
| 147 'test_compositor_host_linux.cc', | 162 'test_compositor_host_linux.cc', |
| 148 'test_compositor_host_win.cc', | 163 'test_compositor_host_win.cc', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 164 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 179 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
| 165 ], | 180 ], |
| 166 }], | 181 }], |
| 167 ['OS!="mac"', { | 182 ['OS!="mac"', { |
| 168 'dependencies': [ | 183 'dependencies': [ |
| 169 '<(DEPTH)/chrome/chrome.gyp:packed_resources', | 184 '<(DEPTH)/chrome/chrome.gyp:packed_resources', |
| 170 ], | 185 ], |
| 171 }], | 186 }], |
| 172 ], | 187 ], |
| 173 }, | 188 }, |
| 174 { | |
| 175 'target_name': 'test_compositor', | |
| 176 'type': 'static_library', | |
| 177 'dependencies': [ | |
| 178 '<(DEPTH)/base/base.gyp:base', | |
| 179 ], | |
| 180 'sources': [ | |
| 181 '../test/gfx_test_utils.cc', | |
| 182 '../test/gfx_test_utils.h', | |
| 183 ], | |
| 184 'conditions': [ | |
| 185 ['views_compositor == 1', { | |
| 186 'dependencies': [ | |
| 187 '<(DEPTH)/skia/skia.gyp:skia', | |
| 188 'compositor', | |
| 189 ], | |
| 190 'sources': [ | |
| 191 'test_compositor.cc', | |
| 192 'test_compositor.h', | |
| 193 'test_texture.cc', | |
| 194 'test_texture.h', | |
| 195 ], | |
| 196 }], | |
| 197 ], | |
| 198 }, | |
| 199 ], | 189 ], |
| 200 } | 190 } |
| OLD | NEW |