| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 ], | 71 ], |
| 72 }, | 72 }, |
| 73 { | 73 { |
| 74 'target_name': 'compositor_test_support', | 74 'target_name': 'compositor_test_support', |
| 75 'type': 'static_library', | 75 'type': 'static_library', |
| 76 'dependencies': [ | 76 'dependencies': [ |
| 77 '<(DEPTH)/base/base.gyp:base', | 77 '<(DEPTH)/base/base.gyp:base', |
| 78 '<(DEPTH)/cc/cc.gyp:cc', | 78 '<(DEPTH)/cc/cc.gyp:cc', |
| 79 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', | 79 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', |
| 80 '<(DEPTH)/skia/skia.gyp:skia', | 80 '<(DEPTH)/skia/skia.gyp:skia', |
| 81 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 81 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', | 82 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', |
| 82 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 83 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
| 83 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 84 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 84 '<(DEPTH)/ui/gl/gl.gyp:gl', | 85 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 85 '<(DEPTH)/ui/ui.gyp:ui', | 86 '<(DEPTH)/ui/ui.gyp:ui', |
| 86 '<(DEPTH)/webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 87 '<(DEPTH)/webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
| 87 'compositor', | 88 'compositor', |
| 88 ], | 89 ], |
| 89 'sources': [ | 90 'sources': [ |
| 91 'test/context_factories_for_test.cc', |
| 92 'test/context_factories_for_test.h', |
| 93 'test/default_context_factory.cc', |
| 94 'test/default_context_factory.h', |
| 90 'test/draw_waiter_for_test.cc', | 95 'test/draw_waiter_for_test.cc', |
| 91 'test/draw_waiter_for_test.h', | 96 'test/draw_waiter_for_test.h', |
| 97 'test/layer_animator_test_controller.cc', |
| 98 'test/layer_animator_test_controller.h', |
| 99 'test/test_compositor_host.h', |
| 100 'test/test_compositor_host_mac.mm', |
| 101 'test/test_compositor_host_ozone.cc', |
| 102 'test/test_compositor_host_win.cc', |
| 103 'test/test_compositor_host_x11.cc', |
| 104 'test/test_context_factory.cc', |
| 105 'test/test_context_factory.h', |
| 106 'test/test_layer_animation_delegate.cc', |
| 107 'test/test_layer_animation_delegate.h', |
| 108 'test/test_layer_animation_observer.cc', |
| 109 'test/test_layer_animation_observer.h', |
| 92 'test/test_layers.cc', | 110 'test/test_layers.cc', |
| 93 'test/test_layers.h', | 111 'test/test_layers.h', |
| 94 'test/test_context_factory.cc', | |
| 95 'test/test_context_factory.h', | |
| 96 'test/default_context_factory.cc', | |
| 97 'test/default_context_factory.h', | |
| 98 'test/context_factories_for_test.cc', | |
| 99 'test/context_factories_for_test.h', | |
| 100 'test/test_suite.cc', | 112 'test/test_suite.cc', |
| 101 'test/test_suite.h', | 113 'test/test_suite.h', |
| 114 'test/test_utils.cc', |
| 115 'test/test_utils.h', |
| 102 ], | 116 ], |
| 103 }, | 117 }, |
| 104 { | 118 { |
| 105 'target_name': 'compositor_unittests', | 119 'target_name': 'compositor_unittests', |
| 106 'type': 'executable', | 120 'type': 'executable', |
| 107 'dependencies': [ | 121 'dependencies': [ |
| 108 '<(DEPTH)/base/base.gyp:base', | 122 '<(DEPTH)/base/base.gyp:base', |
| 109 '<(DEPTH)/base/base.gyp:test_support_base', | 123 '<(DEPTH)/base/base.gyp:test_support_base', |
| 110 '<(DEPTH)/cc/cc.gyp:cc', | 124 '<(DEPTH)/cc/cc.gyp:cc', |
| 111 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', | 125 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', |
| 112 '<(DEPTH)/skia/skia.gyp:skia', | 126 '<(DEPTH)/skia/skia.gyp:skia', |
| 113 '<(DEPTH)/testing/gtest.gyp:gtest', | 127 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 114 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 128 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
| 115 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 129 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 116 '<(DEPTH)/ui/gl/gl.gyp:gl', | 130 '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 117 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | 131 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', |
| 118 '<(DEPTH)/ui/ui.gyp:ui', | 132 '<(DEPTH)/ui/ui.gyp:ui', |
| 119 'compositor', | 133 'compositor', |
| 120 'compositor_test_support', | 134 'compositor_test_support', |
| 121 ], | 135 ], |
| 122 'sources': [ | 136 'sources': [ |
| 123 'layer_animation_element_unittest.cc', | 137 'layer_animation_element_unittest.cc', |
| 124 'layer_animation_sequence_unittest.cc', | 138 'layer_animation_sequence_unittest.cc', |
| 125 'layer_animator_unittest.cc', | 139 'layer_animator_unittest.cc', |
| 126 'layer_unittest.cc', | 140 'layer_unittest.cc', |
| 127 'run_all_unittests.cc', | 141 'run_all_unittests.cc', |
| 128 'test/layer_animator_test_controller.cc', | |
| 129 'test/layer_animator_test_controller.h', | |
| 130 'test/test_compositor_host.h', | |
| 131 'test/test_compositor_host_mac.mm', | |
| 132 'test/test_compositor_host_ozone.cc', | |
| 133 'test/test_compositor_host_win.cc', | |
| 134 'test/test_compositor_host_x11.cc', | |
| 135 'test/test_layer_animation_delegate.cc', | |
| 136 'test/test_layer_animation_delegate.h', | |
| 137 'test/test_layer_animation_observer.cc', | |
| 138 'test/test_layer_animation_observer.h', | |
| 139 'test/test_utils.cc', | |
| 140 'test/test_utils.h', | |
| 141 'transform_animation_curve_adapter_unittest.cc', | 142 'transform_animation_curve_adapter_unittest.cc', |
| 142 ], | 143 ], |
| 143 'conditions': [ | 144 'conditions': [ |
| 144 # osmesa GL implementation is used on linux. | 145 # osmesa GL implementation is used on linux. |
| 145 ['OS=="linux"', { | 146 ['OS=="linux"', { |
| 146 'dependencies': [ | 147 'dependencies': [ |
| 147 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 148 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
| 148 ], | 149 ], |
| 149 }], | 150 }], |
| 150 ['os_posix == 1 and OS != "mac"', { | 151 ['os_posix == 1 and OS != "mac"', { |
| 151 'conditions': [ | 152 'conditions': [ |
| 152 ['linux_use_tcmalloc==1', { | 153 ['linux_use_tcmalloc==1', { |
| 153 'dependencies': [ | 154 'dependencies': [ |
| 154 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 155 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
| 155 ], | 156 ], |
| 156 }], | 157 }], |
| 157 ], | 158 ], |
| 158 }], | 159 }], |
| 159 ], | 160 ], |
| 160 }, | 161 }, |
| 161 ], | 162 ], |
| 162 } | 163 } |
| OLD | NEW |