Chromium Code Reviews| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 'layer.h', | 49 'layer.h', |
| 50 'layer_animation_delegate.h', | 50 'layer_animation_delegate.h', |
| 51 'layer_animation_element.cc', | 51 'layer_animation_element.cc', |
| 52 'layer_animation_element.h', | 52 'layer_animation_element.h', |
| 53 'layer_animation_manager.cc', | 53 'layer_animation_manager.cc', |
| 54 'layer_animation_manager.h', | 54 'layer_animation_manager.h', |
| 55 'layer_animation_sequence.cc', | 55 'layer_animation_sequence.cc', |
| 56 'layer_animation_sequence.h', | 56 'layer_animation_sequence.h', |
| 57 'layer_animator.cc', | 57 'layer_animator.cc', |
| 58 'layer_animator.h', | 58 'layer_animator.h', |
| 59 'test_compositor.cc', | |
|
sky
2011/10/26 15:36:15
Why are we compiling these all the time? Shouldn't
jonathan.backer
2011/10/26 15:58:33
Mostly being expedient.
The previous GYP setup wa
| |
| 60 'test_compositor.h', | |
| 61 'test_texture.cc', | |
| 62 'test_texture.h', | |
| 59 ], | 63 ], |
| 60 'conditions': [ | 64 'conditions': [ |
| 61 ['os_posix == 1 and OS != "mac"', { | 65 ['os_posix == 1 and OS != "mac"', { |
| 62 'sources!': [ | 66 'sources!': [ |
| 63 'compositor_stub.cc', | 67 'compositor_stub.cc', |
| 64 ], | 68 ], |
| 65 }], | 69 }], |
| 66 ['OS == "win" and views_compositor == 1', { | 70 ['OS == "win" and views_compositor == 1', { |
| 67 'sources!': [ | 71 'sources!': [ |
| 68 'compositor_stub.cc', | 72 'compositor_stub.cc', |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 99 'compositor_cc.h', | 103 'compositor_cc.h', |
| 100 ], | 104 ], |
| 101 } | 105 } |
| 102 ], | 106 ], |
| 103 ], | 107 ], |
| 104 }, | 108 }, |
| 105 { | 109 { |
| 106 'target_name': 'compositor_test_support', | 110 'target_name': 'compositor_test_support', |
| 107 'type': 'static_library', | 111 'type': 'static_library', |
| 108 'dependencies': [ | 112 'dependencies': [ |
| 109 '<(DEPTH)/base/base.gyp:base', | 113 'compositor', |
| 110 '<(DEPTH)/skia/skia.gyp:skia', | |
| 111 ], | 114 ], |
| 112 'sources': [ | 115 'sources': [ |
| 113 'compositor_test_support.cc', | 116 'compositor_test_support.cc', |
| 114 'compositor_test_support.h', | 117 'compositor_test_support.h', |
| 115 ], | 118 ], |
| 116 'conditions': [ | 119 'conditions': [ |
| 117 ['use_webkit_compositor == 1', { | 120 ['use_webkit_compositor == 1', { |
| 118 'dependencies': [ | 121 'dependencies': [ |
| 119 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', | 122 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_support', |
| 120 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web kit', | 123 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:web kit', |
| 121 ], | 124 ], |
| 122 }], | 125 }], |
| 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 }], | |
| 138 ], | 126 ], |
| 139 }, | 127 }, |
| 140 { | 128 { |
| 141 'target_name': 'compositor_unittests', | 129 'target_name': 'compositor_unittests', |
| 142 'type': 'executable', | 130 'type': 'executable', |
| 143 'dependencies': [ | 131 'dependencies': [ |
| 144 '<(DEPTH)/base/base.gyp:base', | 132 '<(DEPTH)/base/base.gyp:base', |
| 145 '<(DEPTH)/base/base.gyp:test_support_base', | 133 '<(DEPTH)/base/base.gyp:test_support_base', |
| 146 '<(DEPTH)/skia/skia.gyp:skia', | 134 '<(DEPTH)/skia/skia.gyp:skia', |
| 147 '<(DEPTH)/testing/gtest.gyp:gtest', | 135 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 148 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', | 136 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
| 149 '<(DEPTH)/ui/ui.gyp:gfx_resources', | 137 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
| 150 '<(DEPTH)/ui/ui.gyp:ui', | 138 '<(DEPTH)/ui/ui.gyp:ui', |
| 151 '<(DEPTH)/ui/ui.gyp:ui_resources', | 139 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 152 'compositor', | |
| 153 'compositor_test_support', | 140 'compositor_test_support', |
| 154 ], | 141 ], |
| 155 'sources': [ | 142 'sources': [ |
| 156 'layer_animation_element_unittest.cc', | 143 'layer_animation_element_unittest.cc', |
| 157 'layer_animation_sequence_unittest.cc', | 144 'layer_animation_sequence_unittest.cc', |
| 158 'layer_animator_unittest.cc', | 145 'layer_animator_unittest.cc', |
| 159 'layer_unittest.cc', | 146 'layer_unittest.cc', |
| 160 'run_all_unittests.cc', | 147 'run_all_unittests.cc', |
| 161 'test_compositor_host.h', | 148 'test_compositor_host.h', |
| 162 'test_compositor_host_linux.cc', | 149 'test_compositor_host_linux.cc', |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 181 }], | 168 }], |
| 182 ['OS!="mac"', { | 169 ['OS!="mac"', { |
| 183 'dependencies': [ | 170 'dependencies': [ |
| 184 '<(DEPTH)/chrome/chrome.gyp:packed_resources', | 171 '<(DEPTH)/chrome/chrome.gyp:packed_resources', |
| 185 ], | 172 ], |
| 186 }], | 173 }], |
| 187 ], | 174 ], |
| 188 }, | 175 }, |
| 189 ], | 176 ], |
| 190 } | 177 } |
| OLD | NEW |