| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'targets': [ | |
| 10 { | |
| 11 'target_name': 'compositor', | |
| 12 'type': '<(component)', | |
| 13 'dependencies': [ | |
| 14 '<(DEPTH)/base/base.gyp:base', | |
| 15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | |
| 16 '<(DEPTH)/cc/cc.gyp:cc', | |
| 17 '<(DEPTH)/cc/cc.gyp:cc_surfaces', | |
| 18 '<(DEPTH)/gpu/gpu.gyp:command_buffer_common', | |
| 19 '<(DEPTH)/skia/skia.gyp:skia', | |
| 20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
| 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
| 22 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
| 23 ], | |
| 24 'defines': [ | |
| 25 'COMPOSITOR_IMPLEMENTATION', | |
| 26 ], | |
| 27 'sources': [ | |
| 28 'closure_animation_observer.cc', | |
| 29 'closure_animation_observer.h', | |
| 30 'compositor.cc', | |
| 31 'compositor.h', | |
| 32 'compositor_animation_observer.h', | |
| 33 'compositor_export.h', | |
| 34 'compositor_observer.cc', | |
| 35 'compositor_observer.h', | |
| 36 'compositor_vsync_manager.cc', | |
| 37 'compositor_vsync_manager.h', | |
| 38 'compositor_switches.cc', | |
| 39 'compositor_switches.h', | |
| 40 'debug_utils.cc', | |
| 41 'debug_utils.h', | |
| 42 'dip_util.cc', | |
| 43 'dip_util.h', | |
| 44 'float_animation_curve_adapter.cc', | |
| 45 'float_animation_curve_adapter.h', | |
| 46 'layer.cc', | |
| 47 'layer.h', | |
| 48 'layer_animation_delegate.h', | |
| 49 'layer_animation_element.cc', | |
| 50 'layer_animation_element.h', | |
| 51 'layer_animation_observer.cc', | |
| 52 'layer_animation_observer.h', | |
| 53 'layer_animation_sequence.cc', | |
| 54 'layer_animation_sequence.h', | |
| 55 'layer_animator.cc', | |
| 56 'layer_animator.h', | |
| 57 'layer_animator_collection.cc', | |
| 58 'layer_animator_collection.h', | |
| 59 'layer_delegate.h', | |
| 60 'layer_owner.cc', | |
| 61 'layer_owner.h', | |
| 62 'layer_tree_owner.cc', | |
| 63 'layer_tree_owner.h', | |
| 64 'layer_type.h', | |
| 65 'reflector.h', | |
| 66 'scoped_animation_duration_scale_mode.cc', | |
| 67 'scoped_animation_duration_scale_mode.h', | |
| 68 'scoped_layer_animation_settings.cc', | |
| 69 'scoped_layer_animation_settings.h', | |
| 70 'transform_animation_curve_adapter.cc', | |
| 71 'transform_animation_curve_adapter.h', | |
| 72 ], | |
| 73 'conditions': [ | |
| 74 ['OS == "win" and use_aura == 1', { | |
| 75 # TODO(sky): before we make this real need to remove | |
| 76 # IDR_BITMAP_BRUSH_IMAGE. | |
| 77 'dependencies': [ | |
| 78 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | |
| 79 '<(angle_path)/src/angle.gyp:libEGL', | |
| 80 '<(angle_path)/src/angle.gyp:libGLESv2', | |
| 81 ], | |
| 82 }], | |
| 83 ], | |
| 84 }, | |
| 85 { | |
| 86 'target_name': 'compositor_test_support', | |
| 87 'type': 'static_library', | |
| 88 'dependencies': [ | |
| 89 '<(DEPTH)/base/base.gyp:base', | |
| 90 '<(DEPTH)/cc/cc.gyp:cc', | |
| 91 '<(DEPTH)/cc/cc.gyp:cc_surfaces', | |
| 92 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', | |
| 93 '<(DEPTH)/skia/skia.gyp:skia', | |
| 94 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 95 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', | |
| 96 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | |
| 97 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
| 98 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
| 99 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
| 100 '<(DEPTH)/webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | |
| 101 'compositor', | |
| 102 ], | |
| 103 'sources': [ | |
| 104 'test/context_factories_for_test.cc', | |
| 105 'test/context_factories_for_test.h', | |
| 106 'test/draw_waiter_for_test.cc', | |
| 107 'test/draw_waiter_for_test.h', | |
| 108 'test/in_process_context_factory.cc', | |
| 109 'test/in_process_context_factory.h', | |
| 110 'test/layer_animator_test_controller.cc', | |
| 111 'test/layer_animator_test_controller.h', | |
| 112 'test/test_compositor_host.h', | |
| 113 'test/test_compositor_host_mac.mm', | |
| 114 'test/test_compositor_host_ozone.cc', | |
| 115 'test/test_compositor_host_win.cc', | |
| 116 'test/test_compositor_host_x11.cc', | |
| 117 'test/test_layer_animation_delegate.cc', | |
| 118 'test/test_layer_animation_delegate.h', | |
| 119 'test/test_layer_animation_observer.cc', | |
| 120 'test/test_layer_animation_observer.h', | |
| 121 'test/test_layers.cc', | |
| 122 'test/test_layers.h', | |
| 123 'test/test_suite.cc', | |
| 124 'test/test_suite.h', | |
| 125 'test/test_utils.cc', | |
| 126 'test/test_utils.h', | |
| 127 ], | |
| 128 'conditions': [ | |
| 129 ['use_x11==1', { | |
| 130 'dependencies': [ | |
| 131 '<(DEPTH)/build/linux/system.gyp:x11', | |
| 132 '<(DEPTH)/ui/gfx/x/gfx_x11.gyp:gfx_x11', | |
| 133 ] | |
| 134 }] | |
| 135 ] | |
| 136 }, | |
| 137 { | |
| 138 'target_name': 'compositor_unittests', | |
| 139 'type': 'executable', | |
| 140 'dependencies': [ | |
| 141 '<(DEPTH)/base/base.gyp:base', | |
| 142 '<(DEPTH)/base/base.gyp:test_support_base', | |
| 143 '<(DEPTH)/cc/cc.gyp:cc', | |
| 144 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support', | |
| 145 '<(DEPTH)/skia/skia.gyp:skia', | |
| 146 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 147 '<(DEPTH)/ui/base/ui_base.gyp:ui_base', | |
| 148 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | |
| 149 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | |
| 150 '<(DEPTH)/ui/gl/gl.gyp:gl', | |
| 151 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', | |
| 152 'compositor', | |
| 153 'compositor_test_support', | |
| 154 ], | |
| 155 'sources': [ | |
| 156 'layer_animation_element_unittest.cc', | |
| 157 'layer_animation_sequence_unittest.cc', | |
| 158 'layer_animator_unittest.cc', | |
| 159 'layer_owner_unittest.cc', | |
| 160 'layer_unittest.cc', | |
| 161 'run_all_unittests.cc', | |
| 162 'transform_animation_curve_adapter_unittest.cc', | |
| 163 ], | |
| 164 'conditions': [ | |
| 165 # osmesa GL implementation is used on linux. | |
| 166 ['OS=="linux"', { | |
| 167 'dependencies': [ | |
| 168 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | |
| 169 ], | |
| 170 }], | |
| 171 ['os_posix == 1 and OS != "mac"', { | |
| 172 'conditions': [ | |
| 173 ['use_allocator!="none"', { | |
| 174 'dependencies': [ | |
| 175 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | |
| 176 ], | |
| 177 }], | |
| 178 ], | |
| 179 }], | |
| 180 ], | |
| 181 }, | |
| 182 ], | |
| 183 } | |
| OLD | NEW |