OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 component("compositor") { | 7 component("compositor") { |
8 sources = [ | 8 sources = [ |
9 "closure_animation_observer.cc", | 9 "closure_animation_observer.cc", |
10 "closure_animation_observer.h", | 10 "closure_animation_observer.h", |
(...skipping 25 matching lines...) Expand all Loading... |
36 "layer_animator.cc", | 36 "layer_animator.cc", |
37 "layer_animator.h", | 37 "layer_animator.h", |
38 "layer_animator_collection.cc", | 38 "layer_animator_collection.cc", |
39 "layer_animator_collection.h", | 39 "layer_animator_collection.h", |
40 "layer_delegate.h", | 40 "layer_delegate.h", |
41 "layer_owner.cc", | 41 "layer_owner.cc", |
42 "layer_owner.h", | 42 "layer_owner.h", |
43 "layer_tree_owner.cc", | 43 "layer_tree_owner.cc", |
44 "layer_tree_owner.h", | 44 "layer_tree_owner.h", |
45 "layer_type.h", | 45 "layer_type.h", |
| 46 "mac/accelerated_widget_mac.mm", |
| 47 "mac/accelerated_widget_mac.h", |
| 48 "mac/io_surface_context_mac.h", |
| 49 "mac/io_surface_context_mac.mm", |
| 50 "mac/io_surface_layer_mac.h", |
| 51 "mac/io_surface_layer_mac.mm", |
| 52 "mac/io_surface_texture_mac.h", |
| 53 "mac/io_surface_texture_mac.mm", |
| 54 "mac/surface_handle_types_mac.cc", |
| 55 "mac/surface_handle_types_mac.h", |
46 "reflector.h", | 56 "reflector.h", |
47 "scoped_animation_duration_scale_mode.cc", | 57 "scoped_animation_duration_scale_mode.cc", |
48 "scoped_animation_duration_scale_mode.h", | 58 "scoped_animation_duration_scale_mode.h", |
49 "scoped_layer_animation_settings.cc", | 59 "scoped_layer_animation_settings.cc", |
50 "scoped_layer_animation_settings.h", | 60 "scoped_layer_animation_settings.h", |
51 "transform_animation_curve_adapter.cc", | 61 "transform_animation_curve_adapter.cc", |
52 "transform_animation_curve_adapter.h", | 62 "transform_animation_curve_adapter.h", |
53 ] | 63 ] |
54 | 64 |
55 defines = [ "COMPOSITOR_IMPLEMENTATION" ] | 65 defines = [ "COMPOSITOR_IMPLEMENTATION" ] |
(...skipping 12 matching lines...) Expand all Loading... |
68 | 78 |
69 if (is_win && use_aura) { | 79 if (is_win && use_aura) { |
70 # TODO(sky): before we make this real need to remove | 80 # TODO(sky): before we make this real need to remove |
71 # IDR_BITMAP_BRUSH_IMAGE. | 81 # IDR_BITMAP_BRUSH_IMAGE. |
72 deps += [ | 82 deps += [ |
73 "//ui/resources", | 83 "//ui/resources", |
74 "//third_party/angle:libEGL", | 84 "//third_party/angle:libEGL", |
75 "//third_party/angle:libGLESv2", | 85 "//third_party/angle:libGLESv2", |
76 ] | 86 ] |
77 } | 87 } |
| 88 |
| 89 if (is_mac) { |
| 90 deps += [ |
| 91 "//ui/base", |
| 92 "//ui/events", |
| 93 ] |
| 94 |
| 95 libs = [ |
| 96 "QuartzCore.framework", |
| 97 ] |
| 98 } |
78 } | 99 } |
79 | 100 |
80 source_set("test_support") { | 101 source_set("test_support") { |
81 testonly = true | 102 testonly = true |
82 sources = [ | 103 sources = [ |
83 "test/context_factories_for_test.cc", | 104 "test/context_factories_for_test.cc", |
84 "test/context_factories_for_test.h", | 105 "test/context_factories_for_test.h", |
85 "test/draw_waiter_for_test.cc", | 106 "test/draw_waiter_for_test.cc", |
86 "test/draw_waiter_for_test.h", | 107 "test/draw_waiter_for_test.h", |
87 "test/in_process_context_factory.cc", | 108 "test/in_process_context_factory.cc", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 # "//ui/gfx", | 180 # "//ui/gfx", |
160 # "//ui/gfx/geometry", | 181 # "//ui/gfx/geometry", |
161 # "//ui/gl", | 182 # "//ui/gl", |
162 # "//ui/resources", | 183 # "//ui/resources", |
163 # ] | 184 # ] |
164 # | 185 # |
165 # if (is_linux) { | 186 # if (is_linux) { |
166 # deps += [ "//third_party/mesa:osmesa" ] | 187 # deps += [ "//third_party/mesa:osmesa" ] |
167 # } | 188 # } |
168 #} | 189 #} |
OLD | NEW |