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.
11 'target_name': 'compositor',
12 'type': '<(component)',
14 '<(DEPTH)/base/base.gyp:base',
15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
16 '<(DEPTH)/cc/cc.gyp:cc',
17 '<(DEPTH)/gpu/gpu.gyp:command_buffer_common',
18 '<(DEPTH)/skia/skia.gyp:skia',
19 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
21 '<(DEPTH)/ui/gl/gl.gyp:gl',
24 'COMPOSITOR_IMPLEMENTATION',
29 'compositor_export.h',
30 'compositor_observer.h',
31 'compositor_vsync_manager.cc',
32 'compositor_vsync_manager.h',
33 'compositor_switches.cc',
34 'compositor_switches.h',
39 'float_animation_curve_adapter.cc',
40 'float_animation_curve_adapter.h',
43 'layer_animation_delegate.h',
44 'layer_animation_element.cc',
45 'layer_animation_element.h',
46 'layer_animation_observer.cc',
47 'layer_animation_observer.h',
48 'layer_animation_sequence.cc',
49 'layer_animation_sequence.h',
57 'scoped_animation_duration_scale_mode.cc',
58 'scoped_animation_duration_scale_mode.h',
59 'scoped_layer_animation_settings.cc',
60 'scoped_layer_animation_settings.h',
61 'transform_animation_curve_adapter.cc',
62 'transform_animation_curve_adapter.h',
65 ['OS == "win" and use_aura == 1', {
66 # TODO(sky): before we make this real need to remove
67 # IDR_BITMAP_BRUSH_IMAGE.
69 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
70 '<(angle_path)/src/build_angle.gyp:libEGL',
71 '<(angle_path)/src/build_angle.gyp:libGLESv2',
77 'target_name': 'compositor_test_support',
78 'type': 'static_library',
80 '<(DEPTH)/base/base.gyp:base',
81 '<(DEPTH)/cc/cc.gyp:cc',
82 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support',
83 '<(DEPTH)/skia/skia.gyp:skia',
84 '<(DEPTH)/testing/gtest.gyp:gtest',
85 '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal',
86 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
87 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
88 '<(DEPTH)/ui/gl/gl.gyp:gl',
89 '<(DEPTH)/ui/ui.gyp:ui',
90 '<(DEPTH)/webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
94 'test/context_factories_for_test.cc',
95 'test/context_factories_for_test.h',
96 'test/default_context_factory.cc',
97 'test/default_context_factory.h',
98 'test/draw_waiter_for_test.cc',
99 'test/draw_waiter_for_test.h',
100 'test/layer_animator_test_controller.cc',
101 'test/layer_animator_test_controller.h',
102 'test/test_compositor_host.h',
103 'test/test_compositor_host_mac.mm',
104 'test/test_compositor_host_ozone.cc',
105 'test/test_compositor_host_win.cc',
106 'test/test_compositor_host_x11.cc',
107 'test/test_context_factory.cc',
108 'test/test_context_factory.h',
109 'test/test_layer_animation_delegate.cc',
110 'test/test_layer_animation_delegate.h',
111 'test/test_layer_animation_observer.cc',
112 'test/test_layer_animation_observer.h',
113 'test/test_layers.cc',
114 'test/test_layers.h',
115 'test/test_suite.cc',
117 'test/test_utils.cc',
123 '<(DEPTH)/build/linux/system.gyp:x11'
129 'target_name': 'compositor_unittests',
130 'type': 'executable',
132 '<(DEPTH)/base/base.gyp:base',
133 '<(DEPTH)/base/base.gyp:test_support_base',
134 '<(DEPTH)/cc/cc.gyp:cc',
135 '<(DEPTH)/cc/cc_tests.gyp:cc_test_support',
136 '<(DEPTH)/skia/skia.gyp:skia',
137 '<(DEPTH)/testing/gtest.gyp:gtest',
138 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
139 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
140 '<(DEPTH)/ui/gl/gl.gyp:gl',
141 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
142 '<(DEPTH)/ui/ui.gyp:ui',
144 'compositor_test_support',
147 'layer_animation_element_unittest.cc',
148 'layer_animation_sequence_unittest.cc',
149 'layer_animator_unittest.cc',
151 'run_all_unittests.cc',
152 'transform_animation_curve_adapter_unittest.cc',
155 # osmesa GL implementation is used on linux.
158 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
161 ['os_posix == 1 and OS != "mac"', {
163 ['linux_use_tcmalloc==1', {
165 '<(DEPTH)/base/allocator/allocator.gyp:allocator',